src/hotspot/os/aix/os_aix.cpp
changeset 52581 d402a406bbc3
parent 52302 912b79d983d9
child 52734 d537553ed639
--- a/src/hotspot/os/aix/os_aix.cpp	Thu Nov 15 14:01:10 2018 -0800
+++ b/src/hotspot/os/aix/os_aix.cpp	Thu Nov 15 17:55:41 2018 -0500
@@ -3532,6 +3532,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();
 
   if (os::Aix::on_pase()) {