On Fri, 18 Oct 2024 13:32:57 GMT, Chen Liang <li...@openjdk.org> wrote:

>> Cache commonly used classDesc to avoid creating ReferenceClassDescImpl every 
>> time
>
> src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 
> line 141:
> 
>> 139:             case "MH"  -> CD_MH;
>> 140:             case "DMH" -> CD_DMH;
>> 141:             case "BMH" -> CD_BMH;
> 
> I don't see where DMH and BMH are passed; only see NFI and LFI.

This DMH is derived from invokerName, which comes from 
java.lang.invoke.LambdaForm.Kind#defaultLambdaName

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21580#discussion_r1807085957

Reply via email to