--- old/src/hotspot/share/aot/aotCompiledMethod.cpp 2018-03-20 18:39:59.234212837 -0400 +++ new/src/hotspot/share/aot/aotCompiledMethod.cpp 2018-03-20 18:39:58.458140818 -0400 @@ -36,6 +36,7 @@ #include "jvmci/compilerRuntime.hpp" #include "jvmci/jvmciRuntime.hpp" #include "oops/method.inline.hpp" +#include "runtime/frame.inline.hpp" #include "runtime/handles.inline.hpp" #include "runtime/java.hpp" #include "runtime/os.hpp" @@ -70,6 +71,10 @@ } #endif +address* AOTCompiledMethod::orig_pc_addr(const frame* fr) { + return (address*) ((address)fr->unextended_sp() + _meta->orig_pc_offset()); +} + bool AOTCompiledMethod::do_unloading_oops(address low_boundary, BoolObjectClosure* is_alive, bool unloading_occurred) { return false; }