Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8252126: 'GVars.stw_random = os::random()' lost by JDK-8246476
Reviewed-by: eosterlund
  • Loading branch information
Daniel D. Daugherty committed Aug 21, 2020
1 parent 0261de4 commit 81c501e5210236204c223bfd505e5428cec3a333
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/hotspot/share/runtime/synchronizer.cpp
@@ -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);

0 comments on commit 81c501e

Please sign in to comment.