RFR: 8254029: ObjectMonitor cleanup/minor bug-fix changes extracted from JDK-8253064
Erik Österlund
eosterlund at openjdk.java.net
Mon Oct 19 11:25:11 UTC 2020
On Tue, 13 Oct 2020 20:31:16 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
> 8254029: ObjectMonitor cleanup/minor bug-fix changes extracted from JDK-8253064
Looks great in general. I only have one question regarding when deflation would not be called by a Java thread (which
is now checked for).
src/hotspot/share/runtime/synchronizer.cpp line 2366:
> 2364: GVars.stw_random = os::random();
> 2365:
> 2366: if (self->is_Java_thread()) {
When would this not be run by a Java thread?
-------------
PR: https://git.openjdk.java.net/jdk/pull/641
More information about the hotspot-runtime-dev
mailing list