src/hotspot/os_cpu/aix_ppc/thread_aix_ppc.cpp
changeset 50160 dc18db671651
parent 49622 c96f6f8984f7
equal deleted inserted replaced
50159:062fcc6d183b 50160:dc18db671651
    38     pc =  (address) *(sp + 2);
    38     pc =  (address) *(sp + 2);
    39 
    39 
    40   return frame(sp, pc);
    40   return frame(sp, pc);
    41 }
    41 }
    42 
    42 
       
    43 bool JavaThread::pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava) {
       
    44   ucontext_t* uc = (ucontext_t*) ucontext;
       
    45   *fr_addr = frame((intptr_t*)uc->uc_mcontext.jmp_context.gpr[1/*REG_SP*/],
       
    46                    (address)uc->uc_mcontext.jmp_context.iar);
       
    47   return true;
       
    48 }
       
    49 
    43 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Aix/PPC.
    50 // Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Aix/PPC.
    44 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
    51 bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
    45   Unimplemented();
    52   Unimplemented();
    46   return false;
    53   return false;
    47 }
    54 }