Thank you both for your replies!
And thanks for the Gatherer example Viktor.
It sounds like, from your email, that you want to see just how useful this
method would be to add before we can justify adding it to Gatherers.
Fair enough. I have spent a couple of days using this custom Gatherer you
m
On Fri, 12 Jan 2024 14:35:01 GMT, Per Minborg wrote:
>> This PR proposes to add a clarification that an `Arena` always returns
>> zeroed-out segments for `Arena::allocate` methods.
>>
>> Note that other overloaded methods refer to the abstract `Arena::allocate`
>> method via implementation not
On Sat, 27 Jan 2024 09:09:26 GMT, Ismael Juma wrote:
>> Joshua Cao has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Use max of both sizes and other maps size in case of overflow
>
> src/java.base/share/classes/java/util/HashMap.java line
> This mechanically replaces NULL with nullptr in hpp/cpp native files in test
> native code. This didn't attempt to change NULL in comments to say null
> because nullptr is generally the right thing for the comment to say. It does
> attempt to change NULL to "null" rather than "nullptr" in st
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 17:05:59 GMT, Chen Liang wrote:
> Your API is risky as well: it won't get a compile error if you add a new
> field but forgot to add that field to equality checks too. And since
> initialization happens in ``, your said error is quite easy to detect
> if this class is ever
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Sat, 27 Jan 2024 15:36:59 GMT, Chen Liang wrote:
>> David Alayachew has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Rather than reiterating the precondition, let's explain why the method
>> failed
>
> I fail to see the point of this
On Sat, 27 Jan 2024 07:52:56 GMT, David Alayachew wrote:
>> Adding a function to Objects in order to facilitate equality checking and
>> enhance readability. You simply specify the 2 objects that you want to check
>> for equality, and then provide the functions which will be used to provide
>>
On Fri, 26 Jan 2024 21:06:00 GMT, Coleen Phillimore wrote:
>> This mechanically replaces NULL with nullptr in hpp/cpp native files in test
>> native code. This didn't attempt to change NULL in comments to say null
>> because nullptr is generally the right thing for the comment to say. It
>>
On Fri, 26 Jan 2024 21:06:00 GMT, Coleen Phillimore wrote:
>> This mechanically replaces NULL with nullptr in hpp/cpp native files in test
>> native code. This didn't attempt to change NULL in comments to say null
>> because nullptr is generally the right thing for the comment to say. It
>>
On Thu, 25 Jan 2024 00:29:40 GMT, Joshua Cao wrote:
>> This change mirrors what we did for ConcurrentHashMap in
>> https://github.com/openjdk/jdk/pull/17116. When we add all entries from one
>> map to anther, we should resize that map to the size of the sum of both maps.
>>
>> I used the comma
18 matches
Mail list logo