changeset 60643:042c2fd73a71

8252126: 'GVars.stw_random = os::random()' lost by JDK-8246476 Reviewed-by: eosterlund
author dcubed
date Fri, 21 Aug 2020 16:00:11 -0400
parents f494d86b8bab
children 2b8530a0b12e
files src/hotspot/share/runtime/synchronizer.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/synchronizer.cpp	Fri Aug 21 13:10:04 2020 -0400
+++ b/src/hotspot/share/runtime/synchronizer.cpp	Fri Aug 21 16:00:11 2020 -0400
@@ -2380,6 +2380,8 @@
                              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);