JDK-8340544 : Optimize setLocalsFromArg
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-20
  • Updated: 2024-09-30
  • Resolved: 2024-09-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b17Fixed
Description
CheckLocal once, reduce redundant checkLocal, rewrite switch, reduce method size, codeSize is reduced from 367 to 263.
Comments
Changeset: ab06a878 Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-09-22 01:01:31 +0000 URL: https://git.openjdk.org/jdk/commit/ab06a878f888827026424530781f0af414a8a611
22-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21106 Date: 2024-09-20 09:18:32 +0000
20-09-2024