RFR: 8369949: Increase Xmx of TestWaste.java so the EdgeQueue is larger, to fix crash

Kerem Kat krk at openjdk.org
Mon Nov 10 12:35:34 UTC 2025


SIGSEGV is caused by a stack overflow in the VM Thread that is traversing the object graph via `BFSClosure::process`. When the `EdgeQueue` is full, `BFSClosure` falls back to DFS.

We could increase `Xmx` of the test, or work on finding a better heap percentage for `edge_queue_memory_reservation`.

Here `Xmx` is set to `2g`. More details in the issue.

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

Commit messages:
 - 8369949: Increase Xmx of TestWaste.java so the EdgeQueue is larger, to fix crash

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

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


More information about the hotspot-jfr-dev mailing list