On Mon, 5 Apr 2021 19:08:38 GMT, Patricio Chilano Mateo <pchilanom...@openjdk.org> wrote:
>> Harold Seigel has updated the pull request incrementally with one additional >> commit since the last revision: >> >> remove unneeded statement > > src/hotspot/share/runtime/synchronizer.cpp line 609: > >> 607: // intentionally do not use CHECK on check_owner because we must exit >> the >> 608: // monitor even if an exception was already pending. >> 609: if (monitor->check_owner(current)) { > > We can actually throw IMSE from check_owner() if this thread is not the real > owner. I reverted this change. Thanks. ------------- PR: https://git.openjdk.java.net/jdk/pull/3345