Re: RFR: 8199862: Examine ProxyBuilder::referencedTypes startup cost

2018-03-20 Thread mandy chung


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


RFR: 8199862: Examine ProxyBuilder::referencedTypes startup cost

2018-03-20 Thread Claes Redestad

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