src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

Print this page
rev 4616 : 8014277: Remove ObjectClosure as base class for BoolObjectClosure

*** 5084,5094 **** // discovered by the CM ref processor. class G1AlwaysAliveClosure: public BoolObjectClosure { G1CollectedHeap* _g1; public: G1AlwaysAliveClosure(G1CollectedHeap* g1) : _g1(g1) {} - void do_object(oop p) { assert(false, "Do not call."); } bool do_object_b(oop p) { if (p != NULL) { return true; } return false; --- 5084,5093 ----