Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
java/openjdk19: fix build on powerpc64*
Remove the dead code that no longer builds and is not present in the Linux code.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
java/openjdk19/files/patch-src_hotspot_os__cpu_bsd__ppc_os__bsd__ppc.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp.orig 2022-12-21 16:54:47 UTC | ||
+++ src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp | ||
@@ -187,16 +187,6 @@ frame os::current_frame() { | ||
bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info, | ||
ucontext_t* uc, JavaThread* thread) { | ||
|
||
- // Moved SafeFetch32 handling outside thread!=NULL conditional block to make | ||
- // it work if no associated JavaThread object exists. | ||
- if (uc) { | ||
- address const pc = os::Posix::ucontext_get_pc(uc); | ||
- if (pc && StubRoutines::is_safefetch_fault(pc)) { | ||
- os::Posix::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc)); | ||
- return true; | ||
- } | ||
- } | ||
- | ||
// decide if this trap can be handled by a stub | ||
address stub = NULL; | ||
address pc = NULL; |