JDK-8339683 : Simplify class data generation in InvokerBytecodeGenerator
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-06
  • Updated: 2024-09-16
  • Resolved: 2024-09-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 b15Fixed
Description
In `java.lang.invoke.InvokerBytecodeGenerator`, the generation of class data can be optimized by reusing the field reference and the field type descriptor instead of guessing by value. This saves a few lookups for various constant pool entries and simplifies logic.
Comments
Changeset: a9bb0433 Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-09-09 15:15:16 +0000 URL: https://git.openjdk.org/jdk/commit/a9bb04331df6788561921202cac73e35afbfe314
09-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20896 Date: 2024-09-06 18:56:30 +0000
06-09-2024