RFR: 8265753: Remove manual JavaThread transitions to blocked [v3]
Patricio Chilano Mateo
pchilanomate at openjdk.java.net
Wed May 26 15:21:22 UTC 2021
On Mon, 17 May 2021 07:43:06 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> src/hotspot/share/runtime/interfaceSupport.inline.hpp line 277:
>>
>>> 275: class ThreadBlockInVM {
>>> 276: InFlightMutexRelease _ifmr;
>>> 277: ThreadBlockInVMPreprocess<InFlightMutexRelease> _tbivmpp;
>>
>> Why delegate to the TBIVMPP instead of extending it?
>
> I need to run the InFlightMutexRelease constructor before I can run the ThreadBlockInVMPreprocess constructor.
Just for consistency, shouldn't we just use ThreadBlockInVMPreprocess in mutex.cpp as we are using it in objectMonitor.cpp?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3875
More information about the serviceability-dev
mailing list