RFR: 8320304: Refactor and simplify monitor deflation functions [v2]

Stefan Karlsson stefank at openjdk.org
Mon Nov 20 21:30:48 UTC 2023


On Mon, 20 Nov 2023 21:22:23 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> src/hotspot/share/runtime/synchronizer.cpp line 1745:
>> 
>>> 1743:   GVars.stw_random = os::random();
>>> 1744: 
>>> 1745:   log.end(deflated_count, unlinked_count);
>> 
>> Why move this `log.end()` call after the OM_* calls and the os::random() call?
>
> I don't remember why I moved it.

I moved it back.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16706#discussion_r1399762748


More information about the hotspot-runtime-dev mailing list