src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp
changeset 54437 2ae93028bef3
parent 51233 ceebbc92b3b0
child 54959 00425a850a2f
--- a/src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp	Fri Apr 05 09:18:18 2019 +0200
+++ b/src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp	Wed Mar 27 14:13:34 2019 +0100
@@ -66,7 +66,7 @@
 
     if (ret_frame.is_interpreted_frame()) {
        frame::ijava_state* istate = ret_frame.get_ijava_state();
-       if (!((Method*)(istate->method))->is_metaspace_object()) {
+       if (MetaspaceObj::is_valid((Method*)(istate->method)) == false) {
          return false;
        }
        uint64_t reg_bcp = uc->uc_mcontext.regs->gpr[14/*R14_bcp*/];