-
Enhancement
-
Resolution: Not an Issue
-
P4
-
8-shenandoah, 11-shenandoah, 12, 13
-
generic
-
generic
Currently, when calling TypeArrayOop::size(), we end up calling klass() twice: once before calling into size_given_klass() and then again before calling TypeArrayOop::object_size().
This is currently only a minor performance nuisance.
With upcoming Shenandoah's elimination of forwarding pointer, loading klass like this is not safe anymore, and therefore we only call size_given_klass(), and must avoid calling naked klass() altogether.
This is currently only a minor performance nuisance.
With upcoming Shenandoah's elimination of forwarding pointer, loading klass like this is not safe anymore, and therefore we only call size_given_klass(), and must avoid calling naked klass() altogether.
- relates to
-
JDK-8222859 Improve object arraycopy to do single-loop
-
- Closed
-