RFR: 8273381: Assert in PtrQueueBufferAllocatorTest.stress_free_list_allocator_vm

Thomas Schatzl tschatzl at openjdk.java.net
Wed Oct 6 06:15:09 UTC 2021


On Tue, 5 Oct 2021 23:37:02 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Suggestion:
>> 
>>         // To handle a benign race that could leave buffers in the list after this
>
> The race involved is not a benign data race, it's a logic race that's not at all benign.  I could describe the race in more detail if you want.

I meant "benign" wrt to what is actually tested (functionality of the ptrqueuebuffer), but you are right about that my suggestion is the wrong wording. Just leave it as is then.

Thomas

-------------

PR: https://git.openjdk.java.net/jdk/pull/5820



More information about the hotspot-gc-dev mailing list