Mercurial > hg > truffle
comparison src/share/vm/memory/iterator.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 | d0aa87f04bd5 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10292:acac2b03a07f | 10327:001ec9515f84 |
---|---|
156 // Called for each object. | 156 // Called for each object. |
157 virtual void do_object(oop obj) = 0; | 157 virtual void do_object(oop obj) = 0; |
158 }; | 158 }; |
159 | 159 |
160 | 160 |
161 class BoolObjectClosure : public ObjectClosure { | 161 class BoolObjectClosure : public Closure { |
162 public: | 162 public: |
163 virtual bool do_object_b(oop obj) = 0; | 163 virtual bool do_object_b(oop obj) = 0; |
164 }; | 164 }; |
165 | 165 |
166 // Applies an oop closure to all ref fields in objects iterated over in an | 166 // Applies an oop closure to all ref fields in objects iterated over in an |