On Thu, 21 Dec 2023 01:12:07 GMT, Adam Sotona <asot...@openjdk.org> wrote:

>> java.base java.lang.reflect.ProxyGenerator uses ASM to generate proxy 
>> classes.
>> 
>> This patch converts it to use Classfile API.
>> 
>> It is continuation of https://github.com/openjdk/jdk/pull/10991
>> 
>> Any comments and suggestions are welcome.
>> 
>> Please review.
>> 
>> Thank you,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - performance improvements
>  - SplitConstantPool performance fix

Here are actual numbers (_22 is before this patch):

Benchmark                      Mode  Cnt      Score      Error  Units
ProxyPerf.genIntf_1            avgt    5  18354.110 ?  696.706  ns/op
ProxyPerf.genIntf_1_22         avgt    5  15744.305 ? 1032.092  ns/op
ProxyPerf.genStringsIntf_3     avgt    5  26388.493 ? 2614.877  ns/op
ProxyPerf.genStringsIntf_3_22  avgt    5  21431.752 ?  398.627  ns/op
ProxyPerf.genZeroParams        avgt    5  17627.978 ?  456.046  ns/op
ProxyPerf.genZeroParams_22     avgt    5  15411.519 ? 6426.321  ns/op
ProxyPerf.getPrimsIntf_2       avgt    5  23862.592 ? 2274.386  ns/op
ProxyPerf.getPrimsIntf_2_22    avgt    5  19148.768 ?  648.304  ns/op
Finished running test 'micro:.+ProxyPerf.+'

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17121#issuecomment-1865370450

Reply via email to