RFR: 8342644: Optimize InvokerBytecodeGenerator for using ClassFile API

Chen Liang liach at openjdk.org
Sat Oct 19 02:19:06 UTC 2024


On Fri, 18 Oct 2024 10:01:59 GMT, Shaojin Wen <swen at 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.

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

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


More information about the core-libs-dev mailing list