8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)

Reviewed-by: shade
This commit is contained in:
Martin Doerr 2018-05-17 14:16:49 +02:00
parent 9a0a01d53b
commit 2dd143b06f
14 changed files with 1370 additions and 12 deletions

View file

@ -41,6 +41,13 @@ frame JavaThread::pd_last_frame() {
return frame(sp, pc);
}
bool JavaThread::pd_get_top_frame_for_profiling(frame* fr_addr, void* ucontext, bool isInJava) {
ucontext_t* uc = (ucontext_t*) ucontext;
*fr_addr = frame((intptr_t*)uc->uc_mcontext.gregs[15/*REG_SP*/],
(address)uc->uc_mcontext.psw.addr);
return true;
}
// Forte Analyzer AsyncGetCallTrace profiling support is not implemented on Linux/S390x.
bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
Unimplemented();