RFR: 8378746: jdk/jfr/event/gc/detailed/TestZRelocationSetGroupEvent.java intermittent OOME

SendaoYan syan at openjdk.org
Thu Feb 26 14:11:31 UTC 2026


Hi all,

Test jdk/jfr/event/gc/detailed/TestZRelocationSetGroupEvent.java intermittent fails "java.lang.OutOfMemoryError: Java heap space", the stack trace shows that there is no enough heap memory to finish  jfr event record sometimes on some specific machine. Should we increase the max heap memory to make test more robustness.

Additional testing:

- [x] Run thist test 10k times after the proposed patch.

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

Commit messages:
 - 8378746: jdk/jfr/event/gc/detailed/TestZRelocationSetGroupEvent.java intermittent OOME

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

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


More information about the hotspot-dev mailing list