RFR: 8369949: Fix TestWaste.java stack overflow [v2]

Aleksey Shipilev shade at openjdk.org
Mon Nov 10 17:01:22 UTC 2025


On Mon, 10 Nov 2025 14:05:08 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.
>
> Kerem Kat has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Set max_dfs_depth to 3200 instead

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28215#pullrequestreview-3444243547


More information about the hotspot-jfr-dev mailing list