--- a/hotspot/src/share/vm/runtime/atomic.hpp Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/runtime/atomic.hpp Tue Jul 04 15:58:10 2017 +0200
@@ -153,7 +153,7 @@
jbyte compare_value, cmpxchg_memory_order order) {
STATIC_ASSERT(sizeof(jbyte) == 1);
volatile jint* dest_int =
- reinterpret_cast<volatile jint*>(align_ptr_down(dest, sizeof(jint)));
+ reinterpret_cast<volatile jint*>(align_down(dest, sizeof(jint)));
size_t offset = pointer_delta(dest, dest_int, 1);
jint cur = *dest_int;
jbyte* cur_as_bytes = reinterpret_cast<jbyte*>(&cur);