RFR: 8370344: Arbitrary Java frames on stack during scoped access [v5]

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Nov 3 19:46:13 UTC 2025


On Mon, 3 Nov 2025 17:24:22 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> My assumption is that once an unsafe access error is thrown, we don't expect execution to continue. I suppose it is technically possible to catch the exception, either in Java code or in the native agent code, and then try to continue execution, but the program would be in an undefined state at that point already. In other words, I don't think anyone should be continuing execution after this exception happens.
>
Yes, makes sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27919#discussion_r2487654019


More information about the hotspot-dev mailing list