--- a/hotspot/src/share/vm/gc/parallel/mutableSpace.cpp Tue Sep 01 14:01:18 2015 -0700
+++ b/hotspot/src/share/vm/gc/parallel/mutableSpace.cpp Wed Sep 02 09:14:04 2015 +0200
@@ -213,15 +213,6 @@
return (HeapWord*)Atomic::cmpxchg_ptr(obj, top_addr(), expected_top) == expected_top;
}
-void MutableSpace::oop_iterate(ExtendedOopClosure* cl) {
- HeapWord* obj_addr = bottom();
- HeapWord* t = top();
- // Could call objects iterate, but this is easier.
- while (obj_addr < t) {
- obj_addr += oop(obj_addr)->oop_iterate(cl);
- }
-}
-
void MutableSpace::oop_iterate_no_header(OopClosure* cl) {
HeapWord* obj_addr = bottom();
HeapWord* t = top();