< prev index next >

src/hotspot/os/linux/os_linux.cpp

Print this page

        

@@ -699,10 +699,12 @@
     while (osthread->get_state() == INITIALIZED) {
       sync->wait(Mutex::_no_safepoint_check_flag);
     }
   }
 
+  assert(osthread->pthread_id() != 0, "pthread_id was not set as expected");
+
   // call one more level start routine
   thread->call_run();
 
   // Note: at this point the thread object may already have deleted itself.
   // Prevent dereferencing it from here on out.
< prev index next >