Description
oop_iterate and friends call another function with the arguments received plus the klass of the obj (this) argument. But some callers already have the klass in-hand for other reasons, and could pass it in as another argument. Since getting the klass is relatively expensive, this microoptimization may matter in some particularly performance sensitive contexts.
Attachments
Issue Links
- relates to
-
JDK-8254015 copy_to_survivor_space should use in-hand klass for scanning
-
- Resolved
-