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

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

@@ -163,11 +163,10 @@
 // refence processing during STW evacuation pauses.
 class G1STWIsAliveClosure: public BoolObjectClosure {
   G1CollectedHeap* _g1;
 public:
   G1STWIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) {}
-  void do_object(oop p) { assert(false, "Do not call."); }
   bool do_object_b(oop p);
 };
 
 class SurvivorGCAllocRegion : public G1AllocRegion {
 protected: