RFR: 8330000: ZObjArrayAllocator may unnecessarily clear TypeArrays twice

Axel Boldt-Christmas aboldtch at openjdk.org
Wed Apr 10 11:51:18 UTC 2024


The segmented array allocation in ZObjArrayAllocator for TypeArrays will restart the segmented clearing if it encounters a safepoint. This is unnecessary for TypeArrays.

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

Commit messages:
 - 8330000: ZObjArrayAllocator may unnecessarily clear TypeArrays twice

Changes: https://git.openjdk.org/jdk/pull/18713/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18713&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330000
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18713.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18713/head:pull/18713

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


More information about the hotspot-gc-dev mailing list