L
Lew
Mark said:As far as I know that optimisation hasn't been implemented in HotSpot
yet. It is planned.
The accessor calls are inlined, but the object creation remains.
immutable objects where == is a value comparison can be placed directly
in arrays instead of arrays of references. This is important in many
applications of complex values.
Mark Thornton