On Thu, 17 Sep 2026 21:26:24 GMT, Vladimir Ivanov <[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?

You're right. I was confusing it with the other case.

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

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

Reply via email to