--- old/src/share/vm/gc/parallel/cardTableExtension.cpp 2017-06-30 11:28:13.716061193 +0200 +++ new/src/share/vm/gc/parallel/cardTableExtension.cpp 2017-06-30 11:28:13.536055567 +0200 @@ -504,14 +504,14 @@ } #ifdef ASSERT ParallelScavengeHeap* heap = ParallelScavengeHeap::heap(); - assert(cur_committed.start() == align_ptr_up(cur_committed.start(), os::vm_page_size()), + assert(cur_committed.start() == align_up(cur_committed.start(), os::vm_page_size()), "Starts should have proper alignment"); #endif jbyte* new_start = byte_for(new_region.start()); // Round down because this is for the start address HeapWord* new_start_aligned = - (HeapWord*)align_size_down((uintptr_t)new_start, os::vm_page_size()); + (HeapWord*)align_down((uintptr_t)new_start, os::vm_page_size()); // The guard page is always committed and should not be committed over. // This method is used in cases where the generation is growing toward // lower addresses but the guard region is still at the end of the @@ -584,7 +584,7 @@ jbyte* new_start = byte_for(new_region.start()); // Set the new start of the committed region HeapWord* new_start_aligned = - (HeapWord*)align_ptr_down(new_start, os::vm_page_size()); + (HeapWord*)align_down(new_start, os::vm_page_size()); MemRegion new_committed = MemRegion(new_start_aligned, _committed[changed_region].end()); _committed[changed_region] = new_committed;