RFR: 8294961: Convert java.base/java.lang.reflect.ProxyGenerator to use the Classfile API to generate proxy classes [v3]

Adam Sotona asotona at openjdk.org
Thu Mar 16 14:17:30 UTC 2023


On Thu, 9 Mar 2023 14:41:47 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Isn't the "unrelated process such as generating lambda forms" critical for the `ProxyGenerator` functionality?
>
> More accurately, I mean the overhead generated by this: https://github.com/openjdk/jdk/blob/1e9942aa112edca33f964db127df6c9ce41e86ff/src/java.base/share/classes/java/lang/invoke/MethodType.java#L408
> 
> That method type construction is somewhat expensive and involves extra work besides simply storing the return class and the parameter classes.

fixed, thanks.

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

PR: https://git.openjdk.org/jdk/pull/10991


More information about the core-libs-dev mailing list