8201616: Hotspot crashes on linux-sparc after 8189941
authorglaubitz
Wed, 18 Apr 2018 15:12:28 +0200
changeset 49813 97984a163b55
parent 49812 0c2ceb50783e
child 49814 43159a6174fa
8201616: Hotspot crashes on linux-sparc after 8189941 Reviewed-by: kvn, stuefe
src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
--- a/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp	Wed Apr 18 15:05:37 2018 +0200
+++ b/src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp	Wed Apr 18 15:12:28 2018 +0200
@@ -374,7 +374,7 @@
 }
 
 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;
   }