RFR: 8323066: gc/g1/TestSkipRebuildRemsetPhase.java fails with 'Skipping Remembered Set Rebuild.' missing

Thomas Schatzl tschatzl at openjdk.org
Mon Jan 8 16:22:30 UTC 2024


Hi all,

  the test is too sensitive to the amount of allocation, using an arbitrary value of G1MixedGCLiveThresholdPercent. This caused random test failures depending on how objects were allocated after GC in old gen, and the amount of allocations during startup.

Using a value of 0 should guarantee that no old region will ever be selected for rebuild, resulting in the correct expected message.

Testing: local testing of test case, gha

Thanks,
  Thomas

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

Commit messages:
 - 8323066

Changes: https://git.openjdk.org/jdk/pull/17309/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17309&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8323066
  Stats: 19 lines in 2 files changed: 3 ins; 9 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/17309.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17309/head:pull/17309

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


More information about the hotspot-gc-dev mailing list