--- old/src/share/vm/gc/parallel/mutableSpace.cpp 2017-06-22 11:12:05.328669914 +0200 +++ new/src/share/vm/gc/parallel/mutableSpace.cpp 2017-06-22 11:12:05.156664398 +0200 @@ -177,7 +177,7 @@ if (pointer_delta(end(), obj) >= size) { HeapWord* new_top = obj + size; set_top(new_top); - assert(is_object_aligned((intptr_t)obj) && is_object_aligned((intptr_t)new_top), + assert(is_ptr_object_aligned(obj) && is_ptr_object_aligned(new_top), "checking alignment"); return obj; } else { @@ -198,7 +198,7 @@ if (result != obj) { continue; // another thread beat us to the allocation, try again } - assert(is_object_aligned((intptr_t)obj) && is_object_aligned((intptr_t)new_top), + assert(is_ptr_object_aligned(obj) && is_ptr_object_aligned(new_top), "checking alignment"); return obj; } else {