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

Robbin Ehn rehn at openjdk.org
Tue Dec 13 16:43:12 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 :-(

Looks good, thanks.

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

Marked as reviewed by rehn (Reviewer).

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


More information about the hotspot-dev mailing list