JDK-8341141 : Optimize DirectCodeBuilder
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-29
  • Updated: 2024-10-14
  • Resolved: 2024-10-09
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 b19Fixed
Description
Some DirectCodeBuilder related optimizations to improve startup and running performance:

Merge calls, merge writeU1 and writeU2 into writeU3
Merge calls, merge writeU1 and writeIndex operations
Directly use writeU1 instead of writeBytecode
Rewrite the implementation of load and store
Comments
Changeset: 047c2d7f Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-10-09 10:01:22 +0000 URL: https://git.openjdk.org/jdk/commit/047c2d7f2676b8c3c8b5645134fb5c00c540e43f
09-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21243 Date: 2024-09-29 00:02:38 +0000
29-09-2024