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; |