Integrated: 8332517: G1: Refactor G1AllocRegion

Ivan Walulya iwalulya at openjdk.org
Wed Jul 3 15:15:24 UTC 2024


On Wed, 26 Jun 2024 10:27:15 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: cf4f2b53
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf4f2b53d6174a808f8b45f0bb848efd5bd91c3c
Stats:     207 lines in 6 files changed: 60 ins; 108 del; 39 mod

8332517: G1: Refactor G1AllocRegion

Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list