diff -r 71fef5fae9cc -r 562bf1878089 src/hotspot/os/linux/os_linux.hpp --- a/src/hotspot/os/linux/os_linux.hpp Wed Oct 16 14:32:17 2019 -0700 +++ b/src/hotspot/os/linux/os_linux.hpp Thu Oct 17 00:00:13 2019 +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; } @@ -196,7 +184,6 @@ // Stack overflow handling static bool manually_expand_stack(JavaThread * t, address addr); - static int max_register_window_saves_before_flushing(); // fast POSIX clocks support static void fast_thread_clock_init(void); @@ -211,10 +198,6 @@ static jlong fast_thread_cpu_time(clockid_t clockid); - static void initialize_os_info(); - static bool os_version_is_known(); - static uint32_t os_version(); - // Stack repair handling // none present