RFR: 8369949: Increase Xmx of TestWaste.java so the EdgeQueue is larger, to fix crash [v2]
Kerem Kat
krk at openjdk.org
Mon Nov 10 14:05:08 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.
Kerem Kat has updated the pull request incrementally with one additional commit since the last revision:
Set max_dfs_depth to 3200 instead
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28215/files
- new: https://git.openjdk.org/jdk/pull/28215/files/739b0589..df40515d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28215&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28215&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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