diff -r 0330c5fc49ce -r d503911aa948 hotspot/src/os/aix/vm/misc_aix.cpp --- 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) ||