RFR: 8369949: Increase Xmx of TestWaste.java so the EdgeQueue is larger, to fix crash
Erik Gahlin
egahlin at openjdk.org
Mon Nov 10 12:57:07 UTC 2025
On Mon, 10 Nov 2025 12:28:18 GMT, Kerem Kat <krk at openjdk.org> wrote:
> 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.
The DFS has a maximum depth of 4 000. If that is too high, it should be reduced so it works out of the box.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28215#issuecomment-3511468599
More information about the hotspot-jfr-dev
mailing list