1.1 --- a/src/share/vm/memory/iterator.hpp Thu Mar 06 09:08:18 2014 +0100 1.2 +++ b/src/share/vm/memory/iterator.hpp Wed Mar 12 15:22:45 2014 +0100 1.3 @@ -177,19 +177,6 @@ 1.4 ObjectToOopClosure(ExtendedOopClosure* cl) : _cl(cl) {} 1.5 }; 1.6 1.7 -// A version of ObjectClosure with "memory" (see _previous_address below) 1.8 -class UpwardsObjectClosure: public BoolObjectClosure { 1.9 - HeapWord* _previous_address; 1.10 - public: 1.11 - UpwardsObjectClosure() : _previous_address(NULL) { } 1.12 - void set_previous(HeapWord* addr) { _previous_address = addr; } 1.13 - HeapWord* previous() { return _previous_address; } 1.14 - // A return value of "true" can be used by the caller to decide 1.15 - // if this object's end should *NOT* be recorded in 1.16 - // _previous_address above. 1.17 - virtual bool do_object_bm(oop obj, MemRegion mr) = 0; 1.18 -}; 1.19 - 1.20 // A version of ObjectClosure that is expected to be robust 1.21 // in the face of possibly uninitialized objects. 1.22 class ObjectClosureCareful : public ObjectClosure {