8183006: Remove unused IterateOopClosureRegionClosure
authortschatzl
Wed, 28 Jun 2017 12:11:55 +0200
changeset 46574 9920d284b066
parent 46573 0f8fae16c5b4
child 46575 d6fb8a7a7843
child 46577 10d018a7edee
child 46585 af110b4b1981
8183006: Remove unused IterateOopClosureRegionClosure Reviewed-by: sjohanss, ehelin
hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp
--- 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 {