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

changeset 5159
001ec9515f84
parent 5123
48391ab0687e
child 5204
e72f7eecc96d
equal deleted inserted replaced
5124:acac2b03a07f 5159:001ec9515f84
5088 // discovered by the CM ref processor. 5088 // discovered by the CM ref processor.
5089 class G1AlwaysAliveClosure: public BoolObjectClosure { 5089 class G1AlwaysAliveClosure: public BoolObjectClosure {
5090 G1CollectedHeap* _g1; 5090 G1CollectedHeap* _g1;
5091 public: 5091 public:
5092 G1AlwaysAliveClosure(G1CollectedHeap* g1) : _g1(g1) {} 5092 G1AlwaysAliveClosure(G1CollectedHeap* g1) : _g1(g1) {}
5093 void do_object(oop p) { assert(false, "Do not call."); }
5094 bool do_object_b(oop p) { 5093 bool do_object_b(oop p) {
5095 if (p != NULL) { 5094 if (p != NULL) {
5096 return true; 5095 return true;
5097 } 5096 }
5098 return false; 5097 return false;

mercurial