RFR: 8340544: Optimize setLocalsFromArg

Chen Liang liach at openjdk.org
Fri Sep 20 15:28:36 UTC 2024


On Fri, 20 Sep 2024 09:18:32 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> CheckLocal once, reduce redundant checkLocal, rewrite switch, reduce method size, codeSize is reduced from 367 to 263.

Looks good. Using `Util.parameterSlots` avoids redundant array allocation and copies. 👍

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

PR Comment: https://git.openjdk.org/jdk/pull/21106#issuecomment-2363986573


More information about the core-libs-dev mailing list