< prev index next >
src/hotspot/os/bsd/os_bsd.cpp
Print this page
@@ -874,10 +874,16 @@
pthread_sigmask(SIG_SETMASK, &sigmask, NULL);
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
// Time since start-up in seconds to a fine granularity.
// Used by VMSelfDestructTimer and the MemProfiler.
@@ -3358,11 +3364,11 @@
}
init_page_sizes((size_t) Bsd::page_size());
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();
initial_time_count = javaTimeNanos();
< prev index next >