< prev index next >

src/hotspot/os/aix/os_aix.cpp

Print this page

        

*** 1808,1818 **** warn_only_once = true; } } } ! void os::signal_init_pd() { // Initialize signal structures ::memset((void*)pending_signals, 0, sizeof(pending_signals)); // Initialize signal semaphore local_sem_init(); --- 1808,1818 ---- warn_only_once = true; } } } ! static void jdk_misc_signal_init() { // Initialize signal structures ::memset((void*)pending_signals, 0, sizeof(pending_signals)); // Initialize signal semaphore local_sem_init();
*** 3033,3043 **** ::sigaddset(&set, SIGSEGV); return set_thread_signal_mask(SIG_UNBLOCK, &set, NULL); } // Renamed from 'signalHandler' to avoid collision with other shared libs. ! void javaSignalHandler(int sig, siginfo_t* info, void* uc) { assert(info != NULL && uc != NULL, "it must be old kernel"); // Never leave program error signals blocked; // on all our platforms they would bring down the process immediately when // getting raised while being blocked. --- 3033,3043 ---- ::sigaddset(&set, SIGSEGV); return set_thread_signal_mask(SIG_UNBLOCK, &set, NULL); } // Renamed from 'signalHandler' to avoid collision with other shared libs. ! static void javaSignalHandler(int sig, siginfo_t* info, void* uc) { assert(info != NULL && uc != NULL, "it must be old kernel"); // Never leave program error signals blocked; // on all our platforms they would bring down the process immediately when // getting raised while being blocked.
*** 3592,3601 **** --- 3592,3605 ---- return JNI_ERR; } Aix::signal_sets_init(); Aix::install_signal_handlers(); + // Initialize data for jdk.internal.misc.Signal + if (!ReduceSignalUsage) { + jdk_misc_signal_init(); + } // Check and sets minimum stack sizes against command line options if (Posix::set_minimum_stack_sizes() == JNI_ERR) { return JNI_ERR; }
< prev index next >