RFR: 8332517: G1: Refactor G1AllocRegion

Ivan Walulya iwalulya at openjdk.org
Tue Jul 2 08:28:44 UTC 2024


Hi all,

Please review this refactoring change to move `_used_bytes_before` out of the base class and into the only child class G1GCAllocRegion that requires those details.

Additionally, I removed wrapper methods that do not seem to improve readability in anyway.

Testing: Tier 1-3

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

Commit messages:
 - init

Changes: https://git.openjdk.org/jdk/pull/19902/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19902&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332517
  Stats: 185 lines in 6 files changed: 56 ins; 97 del; 32 mod
  Patch: https://git.openjdk.org/jdk/pull/19902.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19902/head:pull/19902

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


More information about the hotspot-gc-dev mailing list