RFR: 8199862: Examine ProxyBuilder::referencedTypes startup cost

mandy chung mandy.chung at oracle.com
Tue Mar 20 17:12:59 UTC 2018


On 3/20/18 6:00 AM, Claes Redestad wrote:
> 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

This looks fine.   Thanks for doing it.   I started looking into the 
ProxyBuilder performance for annotations which creates proxies for one 
single interface but didn't get back to it.

Mandy


More information about the core-libs-dev mailing list