JDK-8341510 : Optimize StackMapGenerator::processFieldInstructions
  • 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 to reduce CodeSize, codeSize reduced from 164 to 140.

Use local currentFrame to avoid multiple getfield
Use decStack instead of popStack to reduce array access in popStack
Call Util.fieldTypeSymbol to pass in type instead of nameAndType
Comments
Changeset: f8db3a83 Branch: master Author: Shaojin Wen <swen@openjdk.org> Date: 2024-10-05 01:21:25 +0000 URL: https://git.openjdk.org/jdk/commit/f8db3a831b61bb585c5494a7a8657e37000892b4
05-10-2024

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