changeset 6393:1cddf026d2cc

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
author zgu
date Fri, 18 Jul 2014 11:14:20 -0700
parents e248acd6cfcf
children fbc0575cc9e4
files src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Fri Jul 18 19:56:02 2014 +0200
+++ b/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Fri Jul 18 11:14:20 2014 -0700
@@ -142,12 +142,10 @@
 }
 
 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));