--- old/src/hotspot/os_cpu/linux_aarch64/thread_linux_aarch64.cpp 2018-03-20 18:39:43.172722311 -0400 +++ new/src/hotspot/os_cpu/linux_aarch64/thread_linux_aarch64.cpp 2018-03-20 18:39:42.484658458 -0400 @@ -28,6 +28,11 @@ #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"); + return frame(_anchor.last_Java_sp(), _anchor.last_Java_fp(), _anchor.last_Java_pc()); +} + // For Forte Analyzer AsyncGetCallTrace profiling support - thread is // currently interrupted by SIGPROF bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr,