< prev index next >

src/share/vm/gc/g1/ptrQueue.hpp

Print this page

        

@@ -77,11 +77,11 @@
            _capacity_in_bytes, byte_capacity);
     _capacity_in_bytes = byte_capacity;
   }
 
   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;
   }
 
   static size_t index_to_byte_index(size_t ind) {
     return ind * _element_size;
< prev index next >