src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp
changeset 50160 dc18db671651
parent 49480 d7df2dd501ce
child 51233 ceebbc92b3b0
equal deleted inserted replaced
50159:062fcc6d183b 50160:dc18db671651
    39   }
    39   }
    40 
    40 
    41   return frame(sp, pc);
    41   return frame(sp, pc);
    42 }
    42 }
    43 
    43 
       
    44 bool JavaThread::pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava) {
       
    45   ucontext_t* uc = (ucontext_t*) ucontext;
       
    46   *fr_addr = frame((intptr_t*)uc->uc_mcontext.regs->gpr[1/*REG_SP*/],
       
    47                    (address)uc->uc_mcontext.regs->nip);
       
    48   return true;
       
    49 }
       
    50 
    44 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Linux/PPC.
    51 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Linux/PPC.
    45 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
    52 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
    46   Unimplemented();
    53   Unimplemented();
    47   return false;
    54   return false;
    48 }
    55 }