--- old/src/share/vm/runtime/synchronizer.cpp 2017-06-30 11:28:31.804626565 +0200 +++ new/src/share/vm/runtime/synchronizer.cpp 2017-06-30 11:28:31.608620439 +0200 @@ -1177,7 +1177,7 @@ // In the current implementation objectMonitors are TSM - immortal. // Ideally, we'd write "new ObjectMonitor[_BLOCKSIZE], but we want // each ObjectMonitor to start at the beginning of a cache line, - // so we use align_size_up(). + // so we use align_up(). // A better solution would be to use C++ placement-new. // BEWARE: As it stands currently, we don't run the ctors! assert(_BLOCKSIZE > 1, "invariant"); @@ -1187,7 +1187,7 @@ void* real_malloc_addr = (void *)NEW_C_HEAP_ARRAY(char, aligned_size, mtInternal); temp = (PaddedEnd *) - align_ptr_up(real_malloc_addr, + align_up(real_malloc_addr, DEFAULT_CACHE_LINE_SIZE); // NOTE: (almost) no way to recover if allocation failed.