mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8027675: Full collections with Serial slower in JDK 8 compared to 7u40
Reduced the number of calls to follow_class_loader and instead marked and pushed the klass holder directly. Also removed unneeded calls to adjust_klass. Reviewed-by: coleenp, jmasa, mgerdin, tschatzl
This commit is contained in:
parent
3646381ba6
commit
22478ae2e0
6 changed files with 12 additions and 35 deletions
|
@ -2157,7 +2157,6 @@ int InstanceKlass::oop_adjust_pointers(oop obj) {
|
|||
obj, \
|
||||
MarkSweep::adjust_pointer(p), \
|
||||
assert_is_in)
|
||||
MarkSweep::adjust_klass(obj->klass());
|
||||
return size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue