RFR: 8264711: More runtime TRAPS cleanups [v4]
Harold Seigel
hseigel at openjdk.java.net
Wed Apr 7 14:19:53 UTC 2021
On Mon, 5 Apr 2021 19:08:38 GMT, Patricio Chilano Mateo <pchilanomate at 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
More information about the hotspot-dev
mailing list