Withdrawn: 8350860: Max GC memory overhead tests

duke duke at openjdk.org
Tue Oct 21 10:15:34 UTC 2025


On Thu, 1 May 2025 05:23:50 GMT, Rui Li <duke at openjdk.org> wrote:

> The G1 GC metadata has increased from JDK8 to the current tip. When upgrading JDK for an application from JDK8, applications might observe native memory increases. GC is one of the top contributors. Small applications tend to get impacted more significantly. See sample test in description in https://bugs.openjdk.org/browse/JDK-8350860, when heap is 128m, the native memory used by gc can be over 80m.
> 
> In order to make sure we don't bring dramatic native memory increase while developing G1, adding this metadata guardrail test. The test calculates the native memory based on existing GC usages and provides some headroom. When there are significant increase, the test would fail and we should look back to see if the added native memory make sense.

This pull request has been closed without being integrated.

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

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


More information about the hotspot-gc-dev mailing list