changeset 49813:97984a163b55

8201616: Hotspot crashes on linux-sparc after 8189941 Reviewed-by: kvn, stuefe
author glaubitz
date Wed, 18 Apr 2018 15:12:28 +0200
parents 0c2ceb50783e
children 43159a6174fa
files src/hotspot/os_cpu/linux_sparc/os_linux_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }