RFR (S) CR 8016236: Class.getGenericInterfaces performance improvement (original) (raw)

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Jun 13 11:47:35 UTC 2013


Friendly reminder for the reviewers.

On 06/10/2013 07:53 PM, Aleksey Shipilev wrote:

This is the follow-up on the issue Doug identified: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-June/017798.html

I had reworked the patch, webrev is here: http://cr.openjdk.java.net/~shade/8016236/webrev.01/

The current webrev is here: http://cr.openjdk.java.net/~shade/8016236/webrev.02/

Notable differences from Doug's version are: - handle non-generic cases as well - reuse ReflectionData to cache the interfaces - code style (chained ternary operators blown up) - fixes the race along the way http://bugs.sun.com/bugdatabase/viewbug.do?bugid=6398355

Testing: - Linux x8664/release: build OK - Linux x8664/release: java/lang/reflect regression tests OK - Microbenchmarks show whooping increase in performance, see below

Thanks, Aleksey.



More information about the core-libs-dev mailing list