< prev index next >

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

Print this page

        

*** 77,87 **** _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"); return ind / _element_size; } static size_t index_to_byte_index(size_t ind) { return ind * _element_size; --- 77,87 ---- _capacity_in_bytes, byte_capacity); _capacity_in_bytes = byte_capacity; } static size_t byte_index_to_index(size_t ind) { ! 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 >