RFR: 8369949: Increase Xmx of TestWaste.java so the EdgeQueue is larger, to fix crash
Kerem Kat
krk at openjdk.org
Mon Nov 10 14:05:09 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.
In my tests on linux x86_64, the test crashes with `DFSClosure::max_dfs_depth = 3255` and passes with `3254`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28215#issuecomment-3511838170
More information about the hotspot-jfr-dev
mailing list