mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8076456: Remove unnecessary oopDesc::klass() calls
Reviewed-by: pliden, jmasa
This commit is contained in:
parent
232a59cb40
commit
66fc45f602
4 changed files with 12 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue