--- old/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp 2018-05-02 11:08:48.459710308 +0200 +++ new/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp 2018-05-02 11:08:48.169701412 +0200 @@ -1389,15 +1389,6 @@ } } -// Supporting Object and Oop closures for reference discovery -// and processing in during marking - -bool G1CMIsAliveClosure::do_object_b(oop obj) { - HeapWord* addr = (HeapWord*)obj; - return addr != NULL && - (!_g1h->is_in_g1_reserved(addr) || !_g1h->is_obj_ill(obj)); -} - // 'Keep Alive' oop closure used by both serial parallel reference processing. // Uses the G1CMTask associated with a worker thread (for serial reference // processing the G1CMTask for worker 0 is used) to preserve (mark) and