JDK-8339876 : Move constant symbol caches to Utf8EntryImpl
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-10
  • Updated: 2024-09-23
  • Resolved: 2024-09-12
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 b16Fixed
Description
While the cache of constant symbols in entries such as NameAndType or MethodType greatly improve performance for descriptor parsing, in many scenarios, such as annotation class values or method descriptors, symbols are directly represented by a Utf8 entry. We can improve the applicability of symbols if we move the cache field to Utf8 directly.
Comments
Changeset: 4d65c3ef Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-09-12 15:16:38 +0000 URL: https://git.openjdk.org/jdk/commit/4d65c3efcaa5f855f9e0fbdd8e9d4f4ed2b44d3b
12-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20957 Date: 2024-09-11 23:31:33 +0000
11-09-2024