--- old/src/hotspot/os/linux/os_linux.hpp 2019-10-15 16:03:09.782970549 +0200 +++ new/src/hotspot/os/linux/os_linux.hpp 2019-10-15 16:03:09.370968506 +0200 @@ -55,20 +55,10 @@ static GrowableArray* _cpu_to_node; static GrowableArray* _nindex_to_node; - // 0x00000000 = uninitialized, - // 0x01000000 = kernel version unknown, - // otherwise a 32-bit number: - // Ox00AABBCC - // AA, Major Version - // BB, Minor Version - // CC, Fix Version - static uint32_t _os_version; - protected: static julong _physical_memory; static pthread_t _main_thread; - static Mutex* _createThread_lock; static int _page_size; static julong available_memory(); @@ -136,8 +126,6 @@ // returns kernel thread id (similar to LWP id on Solaris), which can be // used to access /proc static pid_t gettid(); - static void set_createThread_lock(Mutex* lk) { _createThread_lock = lk; } - static Mutex* createThread_lock(void) { return _createThread_lock; } static void hotspot_sigmask(Thread* thread); static address initial_thread_stack_bottom(void) { return _initial_thread_stack_bottom; } @@ -210,9 +198,6 @@ static jlong fast_thread_cpu_time(clockid_t clockid); - static void initialize_os_info(); - static uint32_t os_version(); - // Stack repair handling // none present