8252126: 'GVars.stw_random = os::random()' lost by JDK-8246476

Reviewed-by: eosterlund
This commit is contained in:
Daniel D. Daugherty 2020-08-21 16:00:11 -04:00
parent 4ee601c870
commit d1ab20c633

@ -2380,6 +2380,8 @@ void ObjectSynchronizer::deflate_idle_monitors_using_JT() {
Atomic::load(&om_list_globals._free_count),
Atomic::load(&om_list_globals._wait_count));
GVars.stw_random = os::random();
// The ServiceThread's async deflation request has been processed.
_last_async_deflation_time_ns = os::javaTimeNanos();
set_is_async_deflation_requested(false);