Unsafe.{get,put}-X-Unaligned performance

Andrew Haley aph at redhat.com
Thu Mar 12 18:37:28 UTC 2015

On 03/12/2015 05:15 PM, Peter Levart wrote:
> ...or are JIT+CPU smart enough and there would be no difference?

C2 always orders things based on profile counts, so there is no
difference.  Your suggestion would be better for interpreted code
and I guess C1 also, so I agree it is worthwhile.


More information about the hotspot-compiler-dev mailing list