RFR: 8320916: jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"

Albert Mingkun Yang ayang at openjdk.org
Wed Nov 29 00:41:11 UTC 2023


Simple fix to reduce live set so that after the triggered full-gc, there is still some memory left.

Test: ~2/10 failure before the fix and no failure observed for 100 iterations.

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

Commit messages:
 - test/jdk/jdk/jfr/event/gc/stacktrace/AllocationStackTrace.java

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

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


More information about the hotspot-dev mailing list