Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b10
Description
The following scalability/performance issues were recently fixed for class redefinition:
https://bugs.openjdk.java.net/browse/JDK-8046246
https://bugs.openjdk.java.net/browse/JDK-8073705
It is going to improve the implementation of the functions:
ConstantPoolCache::adjust_method_entries()
klassVtable::adjust_method_entries()
klassItable::adjust_method_entries()
InstanceKlass::adjust_default_methods()
MemberNameTable::adjust_method_entries()
However, there is more space for improvements:
- The above functions can be run just once for all the redefined classes instead of multiple times after
redefinition of each class in the list (they have no parameters specific for redefined classes anymore)
https://bugs.openjdk.java.net/browse/JDK-8046246
https://bugs.openjdk.java.net/browse/JDK-8073705
It is going to improve the implementation of the functions:
ConstantPoolCache::adjust_method_entries()
klassVtable::adjust_method_entries()
klassItable::adjust_method_entries()
InstanceKlass::adjust_default_methods()
MemberNameTable::adjust_method_entries()
However, there is more space for improvements:
- The above functions can be run just once for all the redefined classes instead of multiple times after
redefinition of each class in the list (they have no parameters specific for redefined classes anymore)
Attachments
Issue Links
- relates to
-
JDK-8073705 more performance issues in class redefinition
- Resolved
-
JDK-8046246 the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
- Resolved
-
JDK-8139551 Scalability problem with redefinition - multiple code cache walks
- Resolved
-
JDK-8139036 Performance problem when retransforming classes at JVMD startup
- Closed