JDK-8341512 : Optimize StackMapGenerator::processInvokeInstructions
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-04
  • Updated: 2024-10-14
  • Resolved: 2024-10-05
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
A small optimization for StackMapGenerator::processInvokeInstructions.

1. Use local currentFrame to avoid multiple getfields
2. remove Util.methodTypeSymbol(NameAndTypeEntry)
3. Use decStack instead of popStack to reduce array access in popStack
Comments
Changeset: 1c3e56c3 Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-10-05 15:37:18 +0000 URL: https://git.openjdk.org/jdk/commit/1c3e56c3e45be3626afec0461d4ae8059b0b577f
05-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21344 Date: 2024-10-04 02:15:51 +0000
04-10-2024