equal
deleted
inserted
replaced
42 |
42 |
43 private: |
43 private: |
44 |
44 |
45 static julong _physical_memory; |
45 static julong _physical_memory; |
46 static pthread_t _main_thread; |
46 static pthread_t _main_thread; |
47 static Mutex* _createThread_lock; |
|
48 static int _page_size; |
47 static int _page_size; |
49 |
48 |
50 // -1 = uninitialized, 0 = AIX, 1 = OS/400 (PASE) |
49 // -1 = uninitialized, 0 = AIX, 1 = OS/400 (PASE) |
51 static int _on_pase; |
50 static int _on_pase; |
52 |
51 |
88 static void initialize_libperfstat(); |
87 static void initialize_libperfstat(); |
89 |
88 |
90 public: |
89 public: |
91 static void init_thread_fpu_state(); |
90 static void init_thread_fpu_state(); |
92 static pthread_t main_thread(void) { return _main_thread; } |
91 static pthread_t main_thread(void) { return _main_thread; } |
93 static void set_createThread_lock(Mutex* lk) { _createThread_lock = lk; } |
|
94 static Mutex* createThread_lock(void) { return _createThread_lock; } |
|
95 static void hotspot_sigmask(Thread* thread); |
92 static void hotspot_sigmask(Thread* thread); |
96 |
93 |
97 // Given an address, returns the size of the page backing that address |
94 // Given an address, returns the size of the page backing that address |
98 static size_t query_pagesize(void* p); |
95 static size_t query_pagesize(void* p); |
99 |
96 |