--- old/src/hotspot/os/windows/os_windows.cpp Tue Nov 14 05:34:34 2017 +++ new/src/hotspot/os/windows/os_windows.cpp Tue Nov 14 05:34:32 2017 @@ -448,6 +448,12 @@ return (unsigned)os::win32::exit_process_or_thread(os::win32::EPT_THREAD, res); } +// 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; +} + static OSThread* create_os_thread(Thread* thread, HANDLE thread_handle, int thread_id) { // Allocate the OSThread object