Hi Dan,

Thanks for taking a look at this.

Trimming ...

On 5/03/2021 9:46 am, Daniel D.Daugherty wrote:
src/hotspot/share/runtime/synchronizer.hpp line 200:

198:   BasicLock   _lock;
199:  public:
200:   ObjectLocker(Handle obj, JavaThread* current);

So no more non-JavaThread uses of ObjectLocker?

Are you aware of any? ObjectLocker (and ObjectWaiter) pertain to ObjectMonitors, and ObjectMonitors can only be acquired by JavaThreads. Otherwise this whole change needs to be undone. :)

Thanks,
David

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

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

Reply via email to