hotspot/src/os/aix/vm/misc_aix.cpp
changeset 46618 d503911aa948
parent 35594 cc13089c6327
child 46619 a3919f5e8d2b
--- a/hotspot/src/os/aix/vm/misc_aix.cpp	Wed Apr 12 13:05:59 2017 +0200
+++ b/hotspot/src/os/aix/vm/misc_aix.cpp	Wed Apr 12 17:53:18 2017 +0200
@@ -53,7 +53,7 @@
   if (!CanUseSafeFetch32()) {
     return true;
   }
-  int* const aligned = (int*) align_size_down((intptr_t)p, 4);
+  int* const aligned = (int*) align_ptr_down(p, 4);
   int cafebabe = 0xcafebabe;
   int deadbeef = 0xdeadbeef;
   return (SafeFetch32(aligned, cafebabe) != cafebabe) ||