RFR: 8332517: G1: Refactor G1AllocRegion [v4]

Ivan Walulya iwalulya at openjdk.org
Tue Jul 2 13:10:46 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

Ivan Walulya has updated the pull request incrementally with one additional commit since the last revision:

  Thomas Review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19902/files
  - new: https://git.openjdk.org/jdk/pull/19902/files/2a0b5bf0..a5cbaf11

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19902&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19902&range=02-03

  Stats: 15 lines in 2 files changed: 2 ins; 7 del; 6 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