Lines Matching refs:os
271 address os::current_stack_pointer() {
286 char* os::non_memory_address_word() {
294 void os::initialize_thread(Thread* thr) {
298 address os::Bsd::ucontext_get_pc(ucontext_t * uc) {
302 intptr_t* os::Bsd::ucontext_get_sp(ucontext_t * uc) {
306 intptr_t* os::Bsd::ucontext_get_fp(ucontext_t * uc) {
312 // os::Solaris::fetch_frame_from_ucontext() tries to skip nested signal
314 // os::fetch_frame_from_context().
315 ExtendedPC os::Bsd::fetch_frame_from_ucontext(Thread* thread,
322 return os::fetch_frame_from_context(uc, ret_sp, ret_fp);
325 ExtendedPC os::fetch_frame_from_context(void* ucVoid,
332 epc = ExtendedPC(os::Bsd::ucontext_get_pc(uc));
333 if (ret_sp) *ret_sp = os::Bsd::ucontext_get_sp(uc);
334 if (ret_fp) *ret_fp = os::Bsd::ucontext_get_fp(uc);
345 frame os::fetch_frame_from_context(void* ucVoid) {
354 frame os::get_sender_for_C_frame(frame* fr) {
369 frame os::current_frame() {
371 frame myframe((intptr_t*)os::current_stack_pointer(),
373 CAST_FROM_FN_PTR(address, os::current_frame));
374 if (os::is_first_C_frame(&myframe)) {
378 return os::get_sender_for_C_frame(&myframe);
416 if (os::Bsd::chained_handler(sig, info, ucVoid)) {
422 os::exception_name(sig, buf, sizeof(buf)));
430 if (os::Bsd::signal_handlers_are_installed) {
456 pc = (address) os::Bsd::ucontext_get_pc(uc);
500 if (os::Bsd::manually_expand_stack(thread, addr)) {
522 if ((sig == SIGSEGV || sig == SIGBUS) && os::is_poll_address((address)info->si_addr)) {
627 os::is_memory_serialize_page(thread, (address) info->si_addr)) {
629 os::block_on_serialize_page_trap();
648 int page_size = os::vm_page_size();
650 address pc = os::Bsd::ucontext_get_pc(uc);
667 (address) os::non_memory_address_word();
671 (UnguardOnExecutionViolation > 1 || os::address_is_in_vm(addr))) {
676 bool res = os::protect_memory((char*) page_start, page_size,
677 os::MEM_PROT_RWX);
722 if (os::Bsd::chained_handler(sig, info, ucVoid)) {
732 pc = os::Bsd::ucontext_get_pc(uc);
752 void os::Bsd::init_thread_fpu_state(void) {
765 int os::Bsd::get_fpu_control_word(void) {
775 void os::Bsd::set_fpu_control_word(int fpu_control) {
784 bool os::supports_sse() {
804 bool os::is_allocatable(size_t bytes) {
828 size_t os::Bsd::min_stack_allowed = 64 * K;
831 bool os::Bsd::supports_variable_stack_size() { return true; }
833 size_t os::Bsd::min_stack_allowed = (48 DEBUG_ONLY(+4))*K;
840 bool os::Bsd::supports_variable_stack_size() { return true; }
845 bool os::Bsd::supports_variable_stack_size() {
846 if (os::Bsd::is_NPTL()) {
882 size_t os::Bsd::default_stack_size(os::ThreadType thr_type) {
885 size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
887 size_t s = (thr_type == os::compiler_thread ? 2 * M : 512 * K);
892 size_t os::Bsd::default_guard_size(os::ThreadType thr_type) {
967 if (os::Bsd::is_initial_thread()) {
970 *bottom = os::Bsd::initial_thread_stack_bottom();
971 *size = os::Bsd::initial_thread_stack_size();
994 assert(os::current_stack_pointer() >= *bottom &&
995 os::current_stack_pointer() < *bottom + *size, "just checking");
998 address os::current_stack_base() {
1005 size_t os::current_stack_size() {
1016 void os::print_context(outputStream *st, void *context) {
1064 intptr_t *sp = (intptr_t *)os::Bsd::ucontext_get_sp(uc);
1072 address pc = os::Bsd::ucontext_get_pc(uc);
1077 void os::print_register_info(outputStream *st, void *context) {
1122 void os::setup_fpu() {
1131 void os::verify_stack_alignment() {