RFR: 8296401: ConcurrentHashTable::bulk_delete might miss to delete some objects

David Holmes dholmes at openjdk.org
Mon Nov 7 21:05:27 UTC 2022


On Fri, 4 Nov 2022 13:38:23 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.

Thanks for the explanation. What is the point of having a BULK_DELETE_LIMIT?

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

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


More information about the hotspot-dev mailing list