src/os_cpu/bsd_x86/vm/thread_bsd_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_bsd_vs_linux Cdiff src/os_cpu/bsd_x86/vm/thread_bsd_x86.cpp

src/os_cpu/bsd_x86/vm/thread_bsd_x86.cpp

Print this page
rev 2698 : new bsd files

*** 22,32 **** * */ #include "precompiled.hpp" #include "runtime/frame.inline.hpp" ! #include "thread_linux.inline.hpp" // For Forte Analyzer AsyncGetCallTrace profiling support - thread is // currently interrupted by SIGPROF bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) { --- 22,32 ---- * */ #include "precompiled.hpp" #include "runtime/frame.inline.hpp" ! #include "thread_bsd.inline.hpp" // For Forte Analyzer AsyncGetCallTrace profiling support - thread is // currently interrupted by SIGPROF bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
*** 49,59 **** if (isInJava) { ucontext_t* uc = (ucontext_t*) ucontext; intptr_t* ret_fp; intptr_t* ret_sp; ! ExtendedPC addr = os::Linux::fetch_frame_from_ucontext(this, uc, &ret_sp, &ret_fp); if (addr.pc() == NULL || ret_sp == NULL ) { // ucontext wasn't useful return false; } --- 49,59 ---- if (isInJava) { ucontext_t* uc = (ucontext_t*) ucontext; intptr_t* ret_fp; intptr_t* ret_sp; ! ExtendedPC addr = os::Bsd::fetch_frame_from_ucontext(this, uc, &ret_sp, &ret_fp); if (addr.pc() == NULL || ret_sp == NULL ) { // ucontext wasn't useful return false; }
*** 80,85 **** // nothing else to try return false; } void JavaThread::cache_global_variables() { } - --- 80,84 ----
src/os_cpu/bsd_x86/vm/thread_bsd_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File