# HG changeset patch # User stuefe # Date 1428490310 -7200 # Node ID aa6bfe87720bb94abb494150f36f8711744d01ff # Parent 526072aec162a749c89f14e15c543c5cd16446cb 8077257: Use CanUseSafeFetch instead of probing SafeFetch stub directly Reviewed-by: simonis diff -r 526072aec162 -r aa6bfe87720b 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 &&