Integrated: 8372162: G1: Merge subclasses of G1IHOPControl into parent class

Albert Mingkun Yang ayang at openjdk.org
Fri Nov 21 13:55:10 UTC 2025


On Wed, 19 Nov 2025 15:12:39 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Merging two subclasses into the parent class to simplify type hierarchy. The internal `bool` flag doesn't introduce much complexity; instead, improves readability, IMO.
> 
> Perf neutral on linux-x64/aarch64: cachestree, dacapo, dacapo23, specjbb2005, specjbb2015, specjvm2008.
> 
> Test: tier1-5

This pull request has now been integrated.

Changeset: 018284d0
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/018284d08cd5b4c2c1a5735b5d11e63dc769fb37
Stats:     321 lines in 5 files changed: 91 ins; 154 del; 76 mod

8372162: G1: Merge subclasses of G1IHOPControl into parent class

Reviewed-by: tschatzl, iwalulya

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

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


More information about the hotspot-gc-dev mailing list