RFR: 8298377: JfrVframeStream causes deadlocks in ZGC

Markus Grönlund mgronlun at openjdk.org
Tue Dec 20 10:51:51 UTC 2022


On Tue, 20 Dec 2022 10:05:05 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> In my proposed solution there is no association to the event type. We just say the stack shouldn't be parsed during stack watermark processing, whatever events might be interested in doing so.

How would this relate to asynchronous stackwalking? I assume the solution involves not setting the ljf? What if another thread, for example the JFR Sampler Thread interrupts and walks the stack? It will use the CPU context, not the ljf.

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

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


More information about the hotspot-dev mailing list