Hotspot segfaulting on Linux SPARC
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue Apr 17 15:23:34 UTC 2018
On 04/17/2018 02:33 AM, David Holmes wrote:
> Though also see:
>
> https://bugs.openjdk.java.net/browse/JDK-8201592
>
> which seems to be the same secondary crash - but can't comment on the primary one.
This seems to be theculprit: http://hg.openjdk.java.net/jdk/hs/rev/0ce0ac68ace7
And this is a potential fix, although I need to perform more testing:
diff --git a/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp b/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
index ef4ae04c119..958833305d9 100644
--- a/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
+++ b/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
@@ -373,7 +373,7 @@ inline static bool checkOverflow(sigcontext* uc,
}
inline static bool checkPollingPage(address pc, address fault, address* stub) {
- if (fault == os::get_polling_page()) {
+ if (os::is_poll_address(fault)) {
*stub = SharedRuntime::get_poll_stub(pc);
return true;
}
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the hotspot-dev
mailing list