RFR: 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead [v2]

Zihao Lin duke at openjdk.org
Sun Apr 6 08:09:27 UTC 2025


On Sun, 6 Apr 2025 00:04:19 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Zihao Lin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   remove LF_INTERPRET
>
> src/java.base/share/classes/java/lang/invoke/MethodTypeForm.java line 71:
> 
>> 69:     // Indexes into lambdaForms:
>> 70:     static final int
>> 71:             LF_INVVIRTUAL              =  0,  // DMH invokeVirtual
> 
> You can remove the LF_INTERPRET constant from this list.

OK, removed it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24468#discussion_r2030074519


More information about the core-libs-dev mailing list