< prev index next >

src/hotspot/os/aix/os_aix.hpp

Print this page
rev 47475 : 8187230: [aix] Leave OS guard page size at default for non-java threads instead of explicitly setting it
Reviewed-by: goetz


 122   // to JVM_handle_aix_signal, harmlessly.
 123   static bool signal_handlers_are_installed;
 124 
 125   static int get_our_sigflags(int);
 126   static void set_our_sigflags(int, int);
 127   static void signal_sets_init();
 128   static void install_signal_handlers();
 129   static void set_signal_handler(int, bool);
 130   static bool is_sig_ignored(int sig);
 131 
 132   static sigset_t* unblocked_signals();
 133   static sigset_t* vm_signals();
 134 
 135   // For signal-chaining
 136   static struct sigaction *get_chained_signal_action(int sig);
 137   static bool chained_handler(int sig, siginfo_t* siginfo, void* context);
 138 
 139   // libpthread version string
 140   static void libpthread_init();
 141 
 142   // Return default libc guard size for the specified thread type.
 143   static size_t default_guard_size(os::ThreadType thr_type);
 144 
 145   // Function returns true if we run on OS/400 (pase), false if we run
 146   // on AIX.
 147   static bool on_pase() {
 148     assert(_on_pase != -1, "not initialized");
 149     return _on_pase ? true : false;
 150   }
 151 
 152   // Function returns true if we run on AIX, false if we run on OS/400
 153   // (pase).
 154   static bool on_aix() {
 155     assert(_on_pase != -1, "not initialized");
 156     return _on_pase ? false : true;
 157   }
 158 
 159   // Get 4 byte AIX kernel version number:
 160   // highest 2 bytes: Version, Release
 161   // if available: lowest 2 bytes: Tech Level, Service Pack.
 162   static uint32_t os_version() {
 163     assert(_os_version != 0, "not initialized");
 164     return _os_version;




 122   // to JVM_handle_aix_signal, harmlessly.
 123   static bool signal_handlers_are_installed;
 124 
 125   static int get_our_sigflags(int);
 126   static void set_our_sigflags(int, int);
 127   static void signal_sets_init();
 128   static void install_signal_handlers();
 129   static void set_signal_handler(int, bool);
 130   static bool is_sig_ignored(int sig);
 131 
 132   static sigset_t* unblocked_signals();
 133   static sigset_t* vm_signals();
 134 
 135   // For signal-chaining
 136   static struct sigaction *get_chained_signal_action(int sig);
 137   static bool chained_handler(int sig, siginfo_t* siginfo, void* context);
 138 
 139   // libpthread version string
 140   static void libpthread_init();
 141 



 142   // Function returns true if we run on OS/400 (pase), false if we run
 143   // on AIX.
 144   static bool on_pase() {
 145     assert(_on_pase != -1, "not initialized");
 146     return _on_pase ? true : false;
 147   }
 148 
 149   // Function returns true if we run on AIX, false if we run on OS/400
 150   // (pase).
 151   static bool on_aix() {
 152     assert(_on_pase != -1, "not initialized");
 153     return _on_pase ? false : true;
 154   }
 155 
 156   // Get 4 byte AIX kernel version number:
 157   // highest 2 bytes: Version, Release
 158   // if available: lowest 2 bytes: Tech Level, Service Pack.
 159   static uint32_t os_version() {
 160     assert(_os_version != 0, "not initialized");
 161     return _os_version;


< prev index next >