os_linux.hpp revision 4552
0N/A * or visit www.oracle.com if you need additional information or have any
0N/A#ifndef OS_LINUX_VM_OS_LINUX_HPP
0N/A#define OS_LINUX_VM_OS_LINUX_HPP
0N/A static const char *_glibc_version;
0N/A static const char *_libpthread_version;
0N/A static bool _is_floating_stack;
0N/A static bool _supports_fast_thread_cpu_time;
0N/A static int _page_size;
0N/A static const int _vm_default_page_size;
0N/A static void initialize_system_info();
0N/A static bool supports_variable_stack_size();
0N/A static void rebuild_cpu_to_node_map();
0N/A static bool _stack_is_executable;
0N/A static void init_thread_fpu_state();
0N/A static int get_fpu_control_word();
0N/A static bool is_initial_thread(void);
0N/A // This interface should be declared in os_linux_i486.hpp, but
0N/A static bool signal_handlers_are_installed;
0N/A static int get_our_sigflags(int);
0N/A static void set_our_sigflags(int, int);
0N/A static void signal_sets_init();
0N/A static void install_signal_handlers();
0N/A static void set_signal_handler(int, bool);
0N/A static void libpthread_init();
0N/A static bool libnuma_init();
0N/A static int max_register_window_saves_before_flushing();
0N/A static void clock_init(void);
0N/A static void fast_thread_clock_init(void);
0N/A static inline bool supports_monotonic_clock() {
0N/A static bool supports_fast_thread_cpu_time() {
0N/A return _supports_fast_thread_cpu_time;
0N/A static int safe_cond_timedwait(pthread_cond_t *_cond, pthread_mutex_t *_mutex, const struct timespec *_abstime);
0N/A typedef int (*sched_getcpu_func_t)(void);
0N/A typedef int (*numa_max_node_func_t)(void);
0N/A typedef int (*numa_available_func_t)(void);
0N/A typedef void (*numa_interleave_memory_func_t)(void *start, size_t size, unsigned long *nodemask);
static unsigned long* _numa_all_nodes;
static void set_numa_interleave_memory(numa_interleave_memory_func_t func) { _numa_interleave_memory = func; }
static int sched_getcpu_syscall(void);
volatile int _Event ;
volatile int _nParked ;
PlatformEvent() {
int status;
_Event = 0 ;
_nParked = 0 ;
void park () ;
void unpark () ;
int TryPark () ;
PlatformParker() {
int status;