hotspot/src/share/vm/gc/parallel/mutableSpace.cpp
changeset 46619 a3919f5e8d2b
parent 46565 8dcbf532ea00
child 46620 750c6edff33b
--- a/hotspot/src/share/vm/gc/parallel/mutableSpace.cpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/parallel/mutableSpace.cpp	Tue Jul 04 15:58:10 2017 +0200
@@ -177,7 +177,7 @@
   if (pointer_delta(end(), obj) >= size) {
     HeapWord* new_top = obj + size;
     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");
     return obj;
   } else {
@@ -198,7 +198,7 @@
       if (result != obj) {
         continue; // another thread beat us to the allocation, try again
       }
-      assert(is_ptr_object_aligned(obj) && is_ptr_object_aligned(new_top),
+      assert(is_object_aligned(obj) && is_object_aligned(new_top),
              "checking alignment");
       return obj;
     } else {