hotspot/src/share/vm/gc/g1/ptrQueue.hpp
changeset 46619 a3919f5e8d2b
parent 46443 cdb638b5ec53
child 46625 edefffab74e2
--- a/hotspot/src/share/vm/gc/g1/ptrQueue.hpp	Wed Apr 12 17:53:18 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/ptrQueue.hpp	Tue Jul 04 15:58:10 2017 +0200
@@ -79,7 +79,7 @@
   }
 
   static size_t byte_index_to_index(size_t ind) {
-    assert(is_size_aligned(ind, _element_size), "precondition");
+    assert(is_aligned(ind, _element_size), "precondition");
     return ind / _element_size;
   }