Lines Matching refs:os
93 size_t os::Solaris::min_stack_allowed = 224*K;
98 size_t os::Solaris::min_stack_allowed = 64*K;
111 char* os::non_memory_address_word() {
123 bool os::Solaris::valid_ucontext(Thread* thread, ucontext_t* valid, ucontext_t* suspect) {
148 ucontext_t* os::Solaris::get_valid_uc_in_signal_handler(Thread *thread,
157 } else if (os::Solaris::valid_ucontext(thread, uc, uc->uc_link)) {
163 } else if (os::Solaris::valid_ucontext(thread, uc, uc->uc_link)) {
173 ExtendedPC os::Solaris::ucontext_get_ExtendedPC(ucontext_t *uc) {
178 intptr_t* os::Solaris::ucontext_get_sp(ucontext_t *uc) {
183 intptr_t* os::Solaris::ucontext_get_fp(ucontext_t *uc) {
187 address os::Solaris::ucontext_get_pc(ucontext_t *uc) {
194 // The difference between this and os::fetch_frame_from_context() is that
196 ExtendedPC os::Solaris::fetch_frame_from_ucontext(Thread* thread,
203 ucontext_t *luc = os::Solaris::get_valid_uc_in_signal_handler(thread, uc);
204 return os::fetch_frame_from_context(luc, ret_sp, ret_fp);
207 ExtendedPC os::fetch_frame_from_context(void* ucVoid,
214 epc = os::Solaris::ucontext_get_ExtendedPC(uc);
215 if (ret_sp) *ret_sp = os::Solaris::ucontext_get_sp(uc);
216 if (ret_fp) *ret_fp = os::Solaris::ucontext_get_fp(uc);
227 frame os::fetch_frame_from_context(void* ucVoid) {
234 frame os::get_sender_for_C_frame(frame* fr) {
240 address os::current_stack_pointer() {
246 frame os::current_frame() {
248 frame myframe((intptr_t*)os::current_stack_pointer(),
250 CAST_FROM_FN_PTR(address, os::current_frame));
251 if (os::is_first_C_frame(&myframe)) {
256 return os::get_sender_for_C_frame(&myframe);
264 if (err = os::Solaris::thr_getstate(tid, flags, lwp, ss, rs))
326 bool os::supports_sse() {
336 bool os::is_allocatable(size_t bytes) {
381 if (os::Solaris::chained_handler(sig, info, ucVoid)) {
387 os::exception_name(sig, buf, sizeof(buf)));
397 if (os::Solaris::signal_handlers_are_installed) {
408 guarantee(sig != os::Solaris::SIGinterrupt(), "Can not chain VM interrupt signal, try -XX:+UseAltSigs");
410 if (sig == os::Solaris::SIGasync()) {
414 } else if (os::Solaris::chained_handler(sig, info, ucVoid)) {
417 // If os::Solaris::SIGasync not chained, and this is a non-vm and
481 if ( sig == SIGSEGV && os::is_poll_address((address)info->si_addr)) {
551 os::is_memory_serialize_page(thread, (address)info->si_addr)) {
553 os::block_on_serialize_page_trap();
574 int page_size = os::vm_page_size();
593 (address) os::non_memory_address_word();
597 (UnguardOnExecutionViolation > 1 || os::address_is_in_vm(addr))) {
602 bool res = os::protect_memory((char*) page_start, page_size,
603 os::MEM_PROT_RWX);
650 if (os::Solaris::chained_handler(sig, info, ucVoid)) {
707 if (!os::Solaris::libjsig_is_loaded) {
740 void os::print_context(outputStream *st, void *context) {
785 intptr_t *sp = (intptr_t *)os::Solaris::ucontext_get_sp(uc);
793 ExtendedPC epc = os::Solaris::ucontext_get_ExtendedPC(uc);
799 void os::print_register_info(outputStream *st, void *context) {
846 void os::Solaris::init_thread_fpu_state(void) {
853 void os::Solaris::init_thread_fpu_state(void) {
868 jint os::atomic_xchg_bootstrap(jint exchange_value, volatile jint* dest) {
873 os::atomic_xchg_func = func;
883 jint os::atomic_cmpxchg_bootstrap(jint exchange_value, volatile jint* dest, jint compare_value) {
888 os::atomic_cmpxchg_func = func;
899 jlong os::atomic_cmpxchg_long_bootstrap(jlong exchange_value, volatile jlong* dest, jlong compare_value) {
904 os::atomic_cmpxchg_long_func = func;
915 jint os::atomic_add_bootstrap(jint add_value, volatile jint* dest) {
920 os::atomic_add_func = func;
928 xchg_func_t* os::atomic_xchg_func = os::atomic_xchg_bootstrap;
929 cmpxchg_func_t* os::atomic_cmpxchg_func = os::atomic_cmpxchg_bootstrap;
930 cmpxchg_long_func_t* os::atomic_cmpxchg_long_func = os::atomic_cmpxchg_long_bootstrap;
931 add_func_t* os::atomic_add_func = os::atomic_add_bootstrap;
934 void os::setup_fpu() {
941 void os::verify_stack_alignment() {
943 assert(((intptr_t)os::current_stack_pointer() & (StackAlignmentInBytes-1)) == 0, "incorrect stack alignment");