< prev index next >

src/share/vm/gc/parallel/psPromotionLAB.hpp

Print this page

        

@@ -120,11 +120,11 @@
     HeapWord* obj = top();
     HeapWord* new_top = obj + size;
     // 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_object_aligned(obj) && is_ptr_object_aligned(new_top),
+      assert(is_object_aligned(obj) && is_object_aligned(new_top),
              "checking alignment");
       _start_array->allocate_block(obj);
       return obj;
     }
 
< prev index next >