src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Mon Aug 19 16:51:52 2013
--- new/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Mon Aug 19 16:51:52 2013

*** 64,73 **** --- 64,74 ---- return dummy; } frame os::get_sender_for_C_frame(frame* fr) { ShouldNotCallThis(); + return frame(); } frame os::current_frame() { // The only thing that calls this is the stack printing code in // VMError::report:
*** 101,120 **** --- 102,124 ---- // Nothing to do. } address os::Bsd::ucontext_get_pc(ucontext_t* uc) { ShouldNotCallThis(); + return NULL; } ExtendedPC os::fetch_frame_from_context(void* ucVoid, intptr_t** ret_sp, intptr_t** ret_fp) { ShouldNotCallThis(); + return ExtendedPC(); } frame os::fetch_frame_from_context(void* ucVoid) { ShouldNotCallThis(); + return frame(); } extern "C" JNIEXPORT int JVM_handle_bsd_signal(int sig, siginfo_t* info,
*** 238,247 **** --- 242,252 ---- "caught unhandled signal " INT32_FORMAT " at address " PTR_FORMAT; char buf[128]; sprintf(buf, fmt, sig, info->si_addr); fatal(buf); + return false; } void os::Bsd::init_thread_fpu_state(void) { // Nothing to do }
*** 371,391 **** --- 376,386 ---- // Stubs for things that would be in bsd_zero.s if it existed. // You probably want to disassemble these monkeys to check they're ok. extern "C" { int SpinPause() { } int SafeFetch32(int *adr, int errValue) { int value = errValue; value = *adr; return value; } intptr_t SafeFetchN(intptr_t *adr, intptr_t errValue) { intptr_t value = errValue; value = *adr; return value; + return 1; } void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { if (from > to) { jshort *end = from + count;

src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File