--- old/src/share/vm/gc/g1/g1ConcurrentMark.inline.hpp 2016-03-18 13:05:51.741178433 +0100 +++ new/src/share/vm/gc/g1/g1ConcurrentMark.inline.hpp 2016-03-18 13:05:51.643175507 +0100 @@ -29,15 +29,6 @@ #include "gc/g1/g1ConcurrentMark.hpp" #include "gc/shared/taskqueue.inline.hpp" -inline BitMap::idx_t G1ConcurrentMark::card_live_bitmap_index_for(HeapWord* addr) { - // Below, the term "card num" means the result of shifting an address - // by the card shift -- address 0 corresponds to card number 0. One - // must subtract the card num of the bottom of the heap to obtain a - // card table index. - intptr_t card_num = intptr_t(uintptr_t(addr) >> CardTableModRefBS::card_shift); - return card_num - heap_bottom_card_num(); -} - inline bool G1ConcurrentMark::par_mark(oop obj) { return _nextMarkBitMap->parMark((HeapWord*)obj); }