RFR: 8294900: Refactor ZObjArrayAllocator

Stefan Karlsson stefank at openjdk.org
Wed Oct 12 12:07:27 UTC 2022


In Generational ZGC, we rewrote parts of the chunked array clearing. I'd like to bring over the refactoring that we did there to upstream ZGC.

The patch backtracks on the change we did to allow ZObjArrayAllocator to override the finish function, and instead performs the chunked clearing in an overridden initialize function.

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

Commit messages:
 - Merge remote-tracking branch 'upstream/master' into 8294900_refactor_zobjarrayallocator
 - Refactor ZObjArrayAllocator

Changes: https://git.openjdk.org/jdk/pull/10593/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10593&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294900
  Stats: 73 lines in 4 files changed: 42 ins; 10 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/10593.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10593/head:pull/10593

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



More information about the hotspot-gc-dev mailing list