comparison src/share/vm/gc_implementation/g1/concurrentMark.hpp @ 10327:001ec9515f84

8014277: Remove ObjectClosure as base class for BoolObjectClosure Reviewed-by: brutisso, tschatzl
author ehelin
date Fri, 17 May 2013 11:57:05 +0200
parents 05a17f270c7e
children f2110083203d
comparison
equal deleted inserted replaced
10292:acac2b03a07f 10327:001ec9515f84
42 class G1CMIsAliveClosure: public BoolObjectClosure { 42 class G1CMIsAliveClosure: public BoolObjectClosure {
43 G1CollectedHeap* _g1; 43 G1CollectedHeap* _g1;
44 public: 44 public:
45 G1CMIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) { } 45 G1CMIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) { }
46 46
47 void do_object(oop obj) {
48 ShouldNotCallThis();
49 }
50 bool do_object_b(oop obj); 47 bool do_object_b(oop obj);
51 }; 48 };
52 49
53 // A generic CM bit map. This is essentially a wrapper around the BitMap 50 // A generic CM bit map. This is essentially a wrapper around the BitMap
54 // class, with one bit per (1<<_shifter) HeapWords. 51 // class, with one bit per (1<<_shifter) HeapWords.