--- old/src/share/vm/gc_implementation/g1/ptrQueue.cpp 2012-11-12 10:52:08.184661119 -0800 +++ new/src/share/vm/gc_implementation/g1/ptrQueue.cpp 2012-11-12 10:52:08.016663231 -0800 @@ -64,15 +64,6 @@ } -static int byte_index_to_index(int ind) { - assert((ind % oopSize) == 0, "Invariant."); - return ind / oopSize; -} - -static int index_to_byte_index(int byte_ind) { - return byte_ind * oopSize; -} - void PtrQueue::enqueue_known_active(void* ptr) { assert(0 <= _index && _index <= _sz, "Invariant."); assert(_index == 0 || _buf != NULL, "invariant");