--- old/src/hotspot/os/bsd/os_bsd.cpp Tue Nov 14 05:34:10 2017 +++ new/src/hotspot/os/bsd/os_bsd.cpp Tue Nov 14 05:34:08 2017 @@ -876,6 +876,12 @@ delete osthread; } +// Unlike Linux we don't try to handle the initial process +// thread in any special way - so just report 'false' +bool os::is_primordial_thread(void) { + return false; +} + //////////////////////////////////////////////////////////////////////////////// // time support @@ -3360,7 +3366,7 @@ Bsd::initialize_system_info(); - // main_thread points to the aboriginal thread + // main_thread points to the thread that created/loaded the JVM Bsd::_main_thread = pthread_self(); Bsd::clock_init();