RFR (S) 8131682: C1 should use multibyte nops everywhere

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Jul 17 13:29:32 UTC 2015


Hi there,

C1 is not very good at inlining and intrisifying methods, and hence the
call performance is important there. One nit that we can see in the
generated code on x86 is that C1 uses the single-byte nops, even for
long nop strides.

This improvement fixes that:
  https://bugs.openjdk.java.net/browse/JDK-8131682
  http://cr.openjdk.java.net/~shade/8131682/webrev.00/

Testing:
  - JPRT -testset hotspot on open platforms
  - eyeballing the generated assembly with -XX:TieredStopAtLevel=1

(I understand the symmetric change is going to be needed in closed
parts, but let's polish the open part first).

Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150717/195508af/signature.asc>


More information about the hotspot-compiler-dev mailing list