< prev index next >

src/os/linux/vm/os_linux.hpp

Print this page




 135   static void set_fpu_control_word(int fpu_control);
 136   static pthread_t main_thread(void)                                { return _main_thread; }
 137   // returns kernel thread id (similar to LWP id on Solaris), which can be
 138   // used to access /proc
 139   static pid_t gettid();
 140   static void set_createThread_lock(Mutex* lk)                      { _createThread_lock = lk; }
 141   static Mutex* createThread_lock(void)                             { return _createThread_lock; }
 142   static void hotspot_sigmask(Thread* thread);
 143 
 144   static address   initial_thread_stack_bottom(void)                { return _initial_thread_stack_bottom; }
 145   static uintptr_t initial_thread_stack_size(void)                  { return _initial_thread_stack_size; }
 146 
 147   static int page_size(void)                                        { return _page_size; }
 148   static void set_page_size(int val)                                { _page_size = val; }
 149 
 150   static int vm_default_page_size(void)                             { return _vm_default_page_size; }
 151 
 152   static address   ucontext_get_pc(ucontext_t* uc);
 153   static intptr_t* ucontext_get_sp(ucontext_t* uc);
 154   static intptr_t* ucontext_get_fp(ucontext_t* uc);


 155 
 156   // For Analyzer Forte AsyncGetCallTrace profiling support:
 157   //
 158   // This interface should be declared in os_linux_i486.hpp, but
 159   // that file provides extensions to the os class and not the
 160   // Linux class.
 161   static ExtendedPC fetch_frame_from_ucontext(Thread* thread, ucontext_t* uc,
 162     intptr_t** ret_sp, intptr_t** ret_fp);
 163 
 164   // This boolean allows users to forward their own non-matching signals
 165   // to JVM_handle_linux_signal, harmlessly.
 166   static bool signal_handlers_are_installed;
 167 
 168   static int get_our_sigflags(int);
 169   static void set_our_sigflags(int, int);
 170   static void signal_sets_init();
 171   static void install_signal_handlers();
 172   static void set_signal_handler(int, bool);
 173   static bool is_sig_ignored(int sig);
 174 




 135   static void set_fpu_control_word(int fpu_control);
 136   static pthread_t main_thread(void)                                { return _main_thread; }
 137   // returns kernel thread id (similar to LWP id on Solaris), which can be
 138   // used to access /proc
 139   static pid_t gettid();
 140   static void set_createThread_lock(Mutex* lk)                      { _createThread_lock = lk; }
 141   static Mutex* createThread_lock(void)                             { return _createThread_lock; }
 142   static void hotspot_sigmask(Thread* thread);
 143 
 144   static address   initial_thread_stack_bottom(void)                { return _initial_thread_stack_bottom; }
 145   static uintptr_t initial_thread_stack_size(void)                  { return _initial_thread_stack_size; }
 146 
 147   static int page_size(void)                                        { return _page_size; }
 148   static void set_page_size(int val)                                { _page_size = val; }
 149 
 150   static int vm_default_page_size(void)                             { return _vm_default_page_size; }
 151 
 152   static address   ucontext_get_pc(ucontext_t* uc);
 153   static intptr_t* ucontext_get_sp(ucontext_t* uc);
 154   static intptr_t* ucontext_get_fp(ucontext_t* uc);
 155   // Set PC into context. Needed for continuation after signal
 156   static void ucontext_set_pc(ucontext_t* uc, address pc);
 157 
 158   // For Analyzer Forte AsyncGetCallTrace profiling support:
 159   //
 160   // This interface should be declared in os_linux_i486.hpp, but
 161   // that file provides extensions to the os class and not the
 162   // Linux class.
 163   static ExtendedPC fetch_frame_from_ucontext(Thread* thread, ucontext_t* uc,
 164     intptr_t** ret_sp, intptr_t** ret_fp);
 165 
 166   // This boolean allows users to forward their own non-matching signals
 167   // to JVM_handle_linux_signal, harmlessly.
 168   static bool signal_handlers_are_installed;
 169 
 170   static int get_our_sigflags(int);
 171   static void set_our_sigflags(int, int);
 172   static void signal_sets_init();
 173   static void install_signal_handlers();
 174   static void set_signal_handler(int, bool);
 175   static bool is_sig_ignored(int sig);
 176 


< prev index next >