mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade
This commit is contained in:
parent
9a0a01d53b
commit
2dd143b06f
14 changed files with 1370 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue