JDK-8339217 : Optimize ClassFile API loadConstant
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-29
  • Updated: 2024-09-30
  • Resolved: 2024-09-21
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
Related Reports
CSR :  
Description
This is a large method. By splitting it into multiple methods with the same name, the caller can automatically select based on the different types of parameters, avoiding this large call that cannot be inlined, which can also improve startup performance.
Comments
Changeset: 2461263a Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-09-21 00:21:04 +0000 URL: https://git.openjdk.org/jdk/commit/2461263aac35b25e2a48b6fc84da49e4b553dbc3
21-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20761 Date: 2024-08-29 05:01:52 +0000
29-08-2024