8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly
authorstuefe
Wed, 08 Apr 2015 12:51:50 +0200
changeset 30234 aa6bfe87720b
parent 30233 526072aec162
child 30235 000cc9f42b61
child 30236 1b49e7ab091e
8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly Reviewed-by: simonis
hotspot/src/os/aix/vm/os_aix.cpp
--- a/hotspot/src/os/aix/vm/os_aix.cpp	Wed Apr 08 08:07:47 2015 +0000
+++ b/hotspot/src/os/aix/vm/os_aix.cpp	Wed Apr 08 12:51:50 2015 +0200
@@ -2635,7 +2635,7 @@
   //
   if (!os::Aix::xpg_sus_mode()) {
 
-    if (StubRoutines::SafeFetch32_stub()) {
+    if (CanUseSafeFetch32()) {
 
       const bool read_protected =
         (SafeFetch32((int*)addr, 0x12345678) == 0x12345678 &&