RFR: 8199862: Examine ProxyBuilder::referencedTypes startup cost

Claes Redestad claes.redestad at oracle.com
Tue Mar 20 13:00:58 UTC 2018


Hi,

by desugaring Stream+lambda usage in Proxy$ProxyBuilder::referencedTypes 
- and carefully avoiding cloning of parameter and exception type arrays 
- we can significantly reduce the startup overhead of doing annotation 
processing in a set of typical applications.

Webrev: http://cr.openjdk.java.net/~redestad/8199862/open.00/

Bug: https://bugs.openjdk.java.net/browse/JDK-8199862

Thanks!

/Claes



More information about the core-libs-dev mailing list