RFR (S) 8150669: C1 intrinsic for Class.isPrimitive

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Feb 25 20:56:30 UTC 2016


I would like to amend C1 with handling Class.isPrimitive intrinsic:

Through a long chain of dependencies, it would benefit String
concatenation, possibly startup (lots of usages in java.lang.invoke, and
who knows how many other places in JDK that use reflective meddling),
and also, for a fun of it, fastdebug builds.

Performance data shows we improve all interesting cases:

Testing: new test; targeted benchmarks; JPRT -testset hotspot


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

More information about the hotspot-compiler-dev mailing list