RFR: 8296401: ConcurrentHashTable::bulk_delete might miss to delete some objects [v4]
Leo Korinth
lkorinth at openjdk.org
Fri Dec 9 19:05:24 UTC 2022
On Fri, 9 Dec 2022 16:01:32 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:
>> ConcurrentHashTable::bulk_delete might miss to delete some objects if a bucket has more than 256 entries. Current uses of ConcurrentHashTable are not harmed by this behaviour.
>>
>> I modified gtest:ConcurrentHashTable to detect the problem (first commit), and fixed the problem in the code (second commit).
>>
>> Tests passes tier1-3.
>
> Leo Korinth has updated the pull request incrementally with two additional commits since the last revision:
>
> - renam stack limit, and add comments
> - Make ndel a reference to a pointer so that we can poison it. Also fix
> POISON_PTR to be of correct type (the pointer is const, not the memory
> pointed to).
I will fix the build issue.
-------------
PR: https://git.openjdk.org/jdk/pull/10983
More information about the hotspot-dev
mailing list