JDK-8340587 : Optimize StackMapGenerator$Frame::checkAssignableTo
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-23
  • Updated: 2024-09-30
  • Resolved: 2024-09-25
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
Optimize checkAssignableTo to avoid clone when stackSize is 0, and use clone instead of Array.copyOf to avoid compression and then expansion
Comments
Changeset: 2d38af61 Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-09-25 02:32:29 +0000 URL: https://git.openjdk.org/jdk/commit/2d38af61e4133ca98d5a98b3cfb6a6dde2877026
25-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21121 Date: 2024-09-22 13:20:01 +0000
23-09-2024