Integrated: 8369949: Fix TestWaste.java stack overflow

Kerem Kat krk at openjdk.org
Mon Nov 10 17:41:34 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.

This pull request has now been integrated.

Changeset: 1327aa60
Author:    Kerem Kat <krk at openjdk.org>
Committer: Cesar Soares Lucas <cslucas at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1327aa60907555d7e2d8d131bf4cb20a34660ff2
Stats:     2 lines in 2 files changed: 0 ins; 1 del; 1 mod

8369949: Fix TestWaste.java stack overflow

Reviewed-by: egahlin, shade

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

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


More information about the hotspot-jfr-dev mailing list