< prev index next >

src/share/vm/gc/shared/space.cpp

Print this page

        

@@ -654,11 +654,11 @@
   }
 
   if (pointer_delta(end_value, obj) >= size) {
     HeapWord* new_top = obj + size;
     set_top(new_top);
-    assert(is_ptr_aligned(obj, SurvivorAlignmentInBytes) && is_aligned(new_top),
+    assert(::is_aligned(obj, SurvivorAlignmentInBytes) && is_aligned(new_top),
       "checking alignment");
     return obj;
   } else {
     set_top(obj);
     return NULL;
< prev index next >