changeset 10520:d9cf2220c734

8150821: Crash with assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken Summary: Use different constructor on SPARC to fully initialize frame. Reviewed-by: kvn
author thartmann
date Thu, 24 Mar 2016 12:19:50 +0100
parents 1fec7d381d2b
children 25e29e53aa4e
files src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp	Thu Mar 24 09:09:52 2016 +0100
+++ b/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp	Thu Mar 24 12:19:50 2016 +0100
@@ -277,7 +277,7 @@
       return false;
     } else {
       *fr = os::fetch_frame_from_ucontext(thread, uc);
-      *fr = frame(fr->sender_sp(), frame::unpatchable, fr->sender_pc());
+      *fr = frame(fr->sender_sp(), fr->sp());
       if (!fr->is_java_frame()) {
         assert(fr->safe_for_sender(thread), "Safety check");
         *fr = fr->java_sender();