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

Leo Korinth lkorinth at openjdk.org
Mon Jan 16 16:40:14 UTC 2023


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.

This pull request has now been integrated.

Changeset: 506c8186
Author:    Leo Korinth <lkorinth at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/506c81868997cdea656fb480ebe18d49ab0e075e
Stats:     94 lines in 3 files changed: 46 ins; 3 del; 45 mod

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

Reviewed-by: rehn, iwalulya, aboldtch

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

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


More information about the hotspot-dev mailing list