--- old/src/share/vm/gc/parallel/psPromotionLAB.inline.hpp 2017-06-22 11:12:06.008691724 +0200 +++ new/src/share/vm/gc/parallel/psPromotionLAB.inline.hpp 2017-06-22 11:12:05.844686464 +0200 @@ -40,7 +40,7 @@ // The 'new_top>obj' check is needed to detect overflow of obj+size. if (new_top > obj && new_top <= end()) { set_top(new_top); - assert(is_ptr_aligned(obj, SurvivorAlignmentInBytes) && is_object_aligned((intptr_t)new_top), + assert(is_ptr_aligned(obj, SurvivorAlignmentInBytes) && is_ptr_object_aligned(new_top), "checking alignment"); return obj; } else {