8183006: Remove unused IterateOopClosureRegionClosure
Reviewed-by: sjohanss, ehelin
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp Wed Jun 28 12:11:48 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp Wed Jun 28 12:11:55 2017 +0200
@@ -2360,20 +2360,6 @@
// Iteration functions.
-// Applies an ExtendedOopClosure onto all references of objects within a HeapRegion.
-
-class IterateOopClosureRegionClosure: public HeapRegionClosure {
- ExtendedOopClosure* _cl;
-public:
- IterateOopClosureRegionClosure(ExtendedOopClosure* cl) : _cl(cl) {}
- bool doHeapRegion(HeapRegion* r) {
- if (!r->is_continues_humongous()) {
- r->oop_iterate(_cl);
- }
- return false;
- }
-};
-
// Iterates an ObjectClosure over all objects within a HeapRegion.
class IterateObjectClosureRegionClosure: public HeapRegionClosure {