< prev index next >

src/share/vm/gc/parallel/psParallelCompact.inline.hpp

Print this page

        

@@ -86,11 +86,11 @@
 
 #ifdef ASSERT
 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
 
 inline bool PSParallelCompact::mark_obj(oop obj) {
< prev index next >