On Sun, 6 Apr 2025 08:05:42 GMT, Zihao Lin <d...@openjdk.org> wrote:

>> 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.

Now the index 6 is left unused in the LF cache array - we can leave it empty 
and renumber the cache indices when we add a new entry to cache.

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

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

Reply via email to