RFR: 8371895: G1: TestUseGCOverheadLimit.java#G1 fails

Albert Mingkun Yang ayang at openjdk.org
Mon Nov 17 09:31:08 UTC 2025


On Fri, 14 Nov 2025 11:59:47 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this fix to the `TestUseGCOverheadLimit` test to ease the CPU overhead requirement a bit further since it seems too high for some particularly loaded machines.
> 
> Testing: gha, reporter
> 
> Thanks,
>   Thomas

test/hotspot/jtreg/gc/TestUseGCOverheadLimit.java line 70:

> 68:       "-XX:+UseGCOverheadLimit",
> 69:       "-Xlog:gc=debug",
> 70:       "-XX:GCTimeLimit=80",           // Ease the CPU requirement.

I think the title can probably be revised a bit, as this changes common args, not just G1-specific ones. Maybe sth like "Lower GCTimeLimit in TestUseGCOverheadLimit.java".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28321#discussion_r2533347470


More information about the hotspot-gc-dev mailing list