On Mon, 14 Sep 2026 21:34:58 GMT, Jorn Vernee <[email protected]> wrote:

> It is tricky to reliably catch a thread in the middle of an access, but I 
> think it should be possible to do using JVMTI. 

It's enough to have an access inlined to get the corresponding method marked as 
`has_scoped_access`. Then, keeping related and unrelated scope oops alive 
across a safepoint should determine whether the nmethod has to be deoptimized 
or not. Or do I miss something important?

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

PR Comment: https://git.openjdk.org/jdk/pull/30926#issuecomment-5721465050

Reply via email to