< prev index next >
src/share/vm/gc/g1/g1MarkSweep.cpp
Print this page
rev 12851 : 8138737: Remove oop_ms_adjust_pointers and use oop_iterate instead
Reviewed-by:
rev 12852 : [mq]: 8138737-remove-oop-ms-adjust-kbarrett-rev1
@@ -215,11 +215,11 @@
if (r->is_humongous()) {
if (r->is_starts_humongous()) {
// We must adjust the pointers on the single H object.
oop obj = oop(r->bottom());
// point all the oops to the new location
- obj->oop_iterate(&MarkSweep::adjust_pointer_closure);
+ MarkSweep::adjust_pointers(obj);
}
} else if (!r->is_pinned()) {
// This really ought to be "as_CompactibleSpace"...
r->adjust_pointers();
}
< prev index next >