8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes

Reviewed-by: tschatzl, stefank
This commit is contained in:
Mikael Gerdin 2014-03-06 09:08:18 +01:00
parent 102943d1f2
commit 74235d9630
11 changed files with 5 additions and 155 deletions

View file

@ -3163,16 +3163,6 @@ ConcurrentMarkSweepGeneration::younger_refs_iterate(OopsInGenClosure* cl) {
cl->reset_generation();
}
void
ConcurrentMarkSweepGeneration::oop_iterate(MemRegion mr, ExtendedOopClosure* cl) {
if (freelistLock()->owned_by_self()) {
Generation::oop_iterate(mr, cl);
} else {
MutexLockerEx x(freelistLock(), Mutex::_no_safepoint_check_flag);
Generation::oop_iterate(mr, cl);
}
}
void
ConcurrentMarkSweepGeneration::oop_iterate(ExtendedOopClosure* cl) {
if (freelistLock()->owned_by_self()) {