JDK-8341006 : Optimize StackMapGenerator detect frames
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-26
  • Updated: 2024-10-14
  • Resolved: 2024-10-03
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
1.Construct Frames directly without BitSet
2. Use Frame[] instead of ArrayList
3. Use EMPTY_FRAME_ARRAY for initialization. No need to allocate objects when there is no frame.

Comments
Changeset: 12028000 Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-10-03 14:34:05 +0000 URL: https://git.openjdk.org/jdk/commit/12028000db2ef3b1c784af119c495aa3ef9590cf
03-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21183 Date: 2024-09-25 12:05:02 +0000
26-09-2024