< prev index next >

src/hotspot/os/linux/os_linux.hpp

Print this page
rev 56578 : 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: TBD
rev 56579 : imported patch dead_os2

*** 53,76 **** static bool _supports_fast_thread_cpu_time; static GrowableArray<int>* _cpu_to_node; static GrowableArray<int>* _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(); static julong physical_memory() { return _physical_memory; } static void set_physical_memory(julong phys_mem) { _physical_memory = phys_mem; } --- 53,66 ----
*** 134,145 **** static void set_fpu_control_word(int fpu_control); static pthread_t main_thread(void) { return _main_thread; } // 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; } static uintptr_t initial_thread_stack_size(void) { return _initial_thread_stack_size; } --- 124,133 ----
*** 194,204 **** static void capture_initial_stack(size_t max_size); // 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); static int pthread_getcpuclockid(pthread_t tid, clockid_t *clock_id) { --- 182,191 ----
*** 209,222 **** return _supports_fast_thread_cpu_time; } 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 private: --- 196,205 ----
< prev index next >