8076456: Remove unnecessary oopDesc::klass() calls

Reviewed-by: pliden, jmasa
This commit is contained in:
Stefan Karlsson 2015-04-02 10:22:13 +02:00
parent 232a59cb40
commit 66fc45f602
4 changed files with 12 additions and 13 deletions

View file

@ -68,7 +68,7 @@ void MarkSweep::follow_class_loader(ClassLoaderData* cld) {
void InstanceKlass::oop_ms_follow_contents(oop obj) {
assert(obj != NULL, "can't follow the content of NULL object");
MarkSweep::follow_klass(obj->klass());
MarkSweep::follow_klass(this);
oop_oop_iterate_oop_maps<true>(obj, &MarkSweep::mark_and_push_closure);
}