RFR: 8296401: ConcurrentHashTable::bulk_delete might miss to delete some objects [v5]

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Dec 14 06:57:56 UTC 2022


On Fri, 9 Dec 2022 19:54:48 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 one additional commit since the last revision:
> 
>   GrowableArray is indexed by int :-(

Marked as reviewed by aboldtch (Committer).

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

PR: https://git.openjdk.org/jdk/pull/10983


More information about the hotspot-dev mailing list