On Mon, 17 May 2021 07:43:06 GMT, Robbin Ehn <r...@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