src/hotspot/os/solaris/os_solaris.hpp
changeset 52302 912b79d983d9
parent 50177 9806f23d5e5e
child 53244 9807daeb47c4
equal deleted inserted replaced
52301:fbfcdc5bf694 52302:912b79d983d9
   100   // Large Page Support
   100   // Large Page Support
   101   static bool is_valid_page_size(size_t bytes);
   101   static bool is_valid_page_size(size_t bytes);
   102   static size_t page_size_for_alignment(size_t alignment);
   102   static size_t page_size_for_alignment(size_t alignment);
   103   static bool setup_large_pages(caddr_t start, size_t bytes, size_t align);
   103   static bool setup_large_pages(caddr_t start, size_t bytes, size_t align);
   104 
   104 
   105   static void init_thread_fpu_state(void);
       
   106 
       
   107   static void try_enable_extended_io();
   105   static void try_enable_extended_io();
   108 
   106 
   109   static struct sigaction *(*get_signal_action)(int);
   107   static struct sigaction *(*get_signal_action)(int);
   110   static struct sigaction *get_preinstalled_handler(int);
   108   static struct sigaction *get_preinstalled_handler(int);
   111   static int (*get_libjsig_version)();
   109   static int (*get_libjsig_version)();
   146 
   144 
   147   static void hotspot_sigmask(Thread* thread);
   145   static void hotspot_sigmask(Thread* thread);
   148 
   146 
   149   // SR_handler
   147   // SR_handler
   150   static void SR_handler(Thread* thread, ucontext_t* uc);
   148   static void SR_handler(Thread* thread, ucontext_t* uc);
       
   149 
       
   150   static void init_thread_fpu_state(void);
       
   151 
   151  protected:
   152  protected:
   152   // Solaris-specific interface goes here
   153   // Solaris-specific interface goes here
   153   static julong available_memory();
   154   static julong available_memory();
   154   static julong physical_memory() { return _physical_memory; }
   155   static julong physical_memory() { return _physical_memory; }
   155   static julong _physical_memory;
   156   static julong _physical_memory;
   266   // %%% Following should be promoted to os.hpp:
   267   // %%% Following should be promoted to os.hpp:
   267   // Trace number of created threads
   268   // Trace number of created threads
   268   static          jint  _os_thread_limit;
   269   static          jint  _os_thread_limit;
   269   static volatile jint  _os_thread_count;
   270   static volatile jint  _os_thread_count;
   270 
   271 
       
   272   static void correct_stack_boundaries_for_primordial_thread(Thread* thr);
   271 
   273 
   272   // Stack overflow handling
   274   // Stack overflow handling
   273 
   275 
   274   static int max_register_window_saves_before_flushing();
   276   static int max_register_window_saves_before_flushing();
   275 
   277