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

Leo Korinth lkorinth at openjdk.org
Thu Dec 22 10:59:44 UTC 2022


> 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:

  growable array is limited by (signed) int, this should not be a problem

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10983/files
  - new: https://git.openjdk.org/jdk/pull/10983/files/9cae9ddb..b9d8b105

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10983&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10983&range=04-05

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/10983.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10983/head:pull/10983

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


More information about the hotspot-dev mailing list