hotspot/src/share/vm/gc/parallel/psPromotionLAB.hpp
changeset 46619 a3919f5e8d2b
parent 46565 8dcbf532ea00
--- a/hotspot/src/share/vm/gc/parallel/psPromotionLAB.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/parallel/psPromotionLAB.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -122,7 +122,7 @@
     // 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;