RFR: 8296401: ConcurrentHashTable::bulk_delete might miss to delete some objects [v2]
Leo Korinth
lkorinth at openjdk.org
Mon Dec 5 10:57:17 UTC 2022
On Mon, 5 Dec 2022 10:17:18 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:
>
> - growable stacked
> - Revert "working!"
>
> This reverts commit 5366f22c7202eaa2182976c084d02e9af4f56de0.
And also please check the code carefully, because no normal (java) code will stress it. The added test case of mine will test the code somewhat.
-------------
PR: https://git.openjdk.org/jdk/pull/10983
More information about the hotspot-dev
mailing list