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

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Feb 29 11:54:39 UTC 2016


On 02/25/2016 11:56 PM, Aleksey Shipilev wrote:
> I would like to amend C1 with handling Class.isPrimitive intrinsic:
>   http://cr.openjdk.java.net/~shade/8150669/webrev.01/
>   https://bugs.openjdk.java.net/browse/JDK-8150669
> 
> 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:
>   http://cr.openjdk.java.net/~shade/8150669/notes.txt
> 
> Testing: new test; targeted benchmarks; JPRT -testset hotspot

Also, RBT tests are passing:
 hotspot/test/:hotspot_all,vm.runtime.testlist,vm.compiler.testlist

Please review!

-Aleksey

-------------- 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/20160229/4ea4a14e/signature.asc>


More information about the hotspot-compiler-dev mailing list