src/hotspot/os/aix/misc_aix.cpp
changeset 51139 c95334202a14
parent 47216 71c04702a3d5
--- a/src/hotspot/os/aix/misc_aix.cpp	Tue Jul 17 19:59:38 2018 -0700
+++ b/src/hotspot/os/aix/misc_aix.cpp	Wed Jul 18 11:27:14 2018 +0200
@@ -49,16 +49,3 @@
   const int rc = pthread_mutex_unlock(cs);
   assert0(rc == 0);
 }
-
-bool MiscUtils::is_readable_pointer(const void* p) {
-  if (!CanUseSafeFetch32()) {
-    return true;
-  }
-  int* const aligned = (int*) align_down(p, 4);
-  int cafebabe = 0xcafebabe;
-  int deadbeef = 0xdeadbeef;
-  return (SafeFetch32(aligned, cafebabe) != cafebabe) ||
-         (SafeFetch32(aligned, deadbeef) != deadbeef);
-}
-
-