RFR: 8372162: G1: Merging subclasses of G1IHOPControl into parent class

Thomas Schatzl tschatzl at openjdk.org
Thu Nov 20 10:05:49 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

Seems good.

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

Marked as reviewed by tschatzl (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28391#pullrequestreview-3486799504


More information about the hotspot-gc-dev mailing list