RFR: 8360641: TestCompilerCounts fails after 8354727

Manuel Hässig mhaessig at openjdk.org
Fri Jun 27 18:28:34 UTC 2025


After integrating #25872 the calculation of the`CICompilerCount` ergonomic became dependent on the size of `NonNMethodCodeHeapSize`, which itself is an ergonomic based on the available memory. Thus, depending on the system, the test `compiler/arguments/TestCompilerCounts.java` failed, i.e. locally this failed, but not on CI servers.

This PR changes the test to reflect the changes introduced in #25872.

Testing:
 - [ ] [Github Actions](https://github.com/mhaessig/jdk/actions/runs/15932906313)
 - [ ] tier1,tier2 plus Oracle internal testing

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

Commit messages:
 - Fix test

Changes: https://git.openjdk.org/jdk/pull/26024/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26024&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360641
  Stats: 39 lines in 1 file changed: 26 ins; 0 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/26024.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26024/head:pull/26024

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


More information about the hotspot-compiler-dev mailing list