src/hotspot/os/bsd/os_bsd.cpp
changeset 52581 d402a406bbc3
parent 52304 72f2fc52ef85
child 52734 d537553ed639
--- a/src/hotspot/os/bsd/os_bsd.cpp	Thu Nov 15 14:01:10 2018 -0800
+++ b/src/hotspot/os/bsd/os_bsd.cpp	Thu Nov 15 17:55:41 2018 -0500
@@ -3167,6 +3167,10 @@
 // this is called _after_ the global arguments have been parsed
 jint os::init_2(void) {
 
+  // This could be set after os::Posix::init() but all platforms
+  // have to set it the same so we have to mirror Solaris.
+  DEBUG_ONLY(os::set_mutex_init_done();)
+
   os::Posix::init_2();
 
   // initialize suspend/resume support - must do this before signal_sets_init()