--- old/src/hotspot/os_cpu/solaris_sparc/thread_solaris_sparc.cpp 2018-03-20 18:39:54.383762713 -0400 +++ new/src/hotspot/os_cpu/solaris_sparc/thread_solaris_sparc.cpp 2018-03-20 18:39:53.746703593 -0400 @@ -27,6 +27,14 @@ #include "runtime/frame.inline.hpp" #include "runtime/thread.inline.hpp" +frame JavaThread::pd_last_frame() { + assert(has_last_Java_frame(), "must have last_Java_sp() when suspended"); + assert(_anchor.walkable(), "thread has not dumped its register windows yet"); + + assert(_anchor.last_Java_pc() != NULL, "Ack no pc!"); + return frame(last_Java_sp(), frame::unpatchable, _anchor.last_Java_pc()); +} + // For Forte Analyzer AsyncGetCallTrace profiling support - thread is // currently interrupted by SIGPROF //