RFR: 8253833: mutexLocker assert_locked_or_safepoint should not access VMThread state from non-VM-thread

Aleksey Shipilev shade at openjdk.java.net
Thu Oct 8 13:42:43 UTC 2020


On Thu, 8 Oct 2020 13:36:11 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> > Looks okay to me. Is it significantly different from `assert_locked_or_safepoint_weak` now?
> 
> Weak just checks if lock is locked while this one check if current thread is the owner.
> So only one line differ. You want me to do try to share the rest of the code?

Ah, okay. No action needed, as long as you saw the other versions and decided not to do anything with them.

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

PR: https://git.openjdk.java.net/jdk/pull/563


More information about the hotspot-runtime-dev mailing list