hotspot/src/share/vm/gc/parallel/psParallelCompact.inline.hpp
changeset 46619 a3919f5e8d2b
parent 46565 8dcbf532ea00
--- a/hotspot/src/share/vm/gc/parallel/psParallelCompact.inline.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/parallel/psParallelCompact.inline.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -88,7 +88,7 @@
 inline void PSParallelCompact::check_new_location(HeapWord* old_addr, HeapWord* new_addr) {
   assert(old_addr >= new_addr || space_id(old_addr) != space_id(new_addr),
          "must move left or to a different space");
-  assert(is_ptr_object_aligned(old_addr) && is_ptr_object_aligned(new_addr),
+  assert(is_object_aligned(old_addr) && is_object_aligned(new_addr),
          "checking alignment");
 }
 #endif // ASSERT