提交 ef4f2ee9 编写于 作者: Z zgu

8050165: linux-sparcv9: NMT detail causes...

8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
Summary: Fixed native memory tracking stack walking
Reviewed-by: coleenp, mikael
上级 d9d75cc9
......@@ -142,12 +142,10 @@ frame os::fetch_frame_from_context(void* ucVoid) {
}
frame os::get_sender_for_C_frame(frame* fr) {
return frame(fr->sender_sp(), fr->link(), fr->sender_pc());
return frame(fr->sender_sp(), frame::unpatchable, fr->sender_pc());
}
frame os::current_frame() {
fprintf(stderr, "current_frame()");
intptr_t* sp = StubRoutines::Sparc::flush_callers_register_windows_func()();
frame myframe(sp, frame::unpatchable,
CAST_FROM_FN_PTR(address, os::current_frame));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册