RFR: 8332457: Examine startup overheads from JDK-8294961 [v3]
Adam Sotona
asotona at openjdk.org
Mon Jun 3 14:39:12 UTC 2024
On Mon, 27 May 2024 12:20:20 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>>
>> performance improvements
>
> src/java.base/share/classes/java/lang/reflect/ProxyGenerator.java line 76:
>
>> 74:
>> 75: private static final MethodTypeDesc
>> 76: MTD_boolean = MethodTypeDescImpl.ofValidated(CD_boolean, ConstantUtils.EMPTY_CLASSDESC),
>
> Maybe we can change the `MethodTypeDescImpl.ofValidated` to varargs so we don't need explicit array initializations.
Yes, I like that idea.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19410#discussion_r1624576109
More information about the core-libs-dev
mailing list