src/hotspot/os/windows/os_windows.cpp
changeset 52581 d402a406bbc3
parent 52571 c02aa8873ff2
child 52892 442d322bb6d8
--- a/src/hotspot/os/windows/os_windows.cpp	Thu Nov 15 14:01:10 2018 -0800
+++ b/src/hotspot/os/windows/os_windows.cpp	Thu Nov 15 17:55:41 2018 -0500
@@ -4036,6 +4036,11 @@
 
 // this is called _after_ the global arguments have been parsed
 jint os::init_2(void) {
+
+  // This could be set any time but all platforms
+  // have to set it the same so we have to mirror Solaris.
+  DEBUG_ONLY(os::set_mutex_init_done();)
+
   // Setup Windows Exceptions
 
   // for debugging float code generation bugs