JDK-8338544 : Dedicated Array class descriptor implementation
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-19
  • Updated: 2024-11-06
  • Resolved: 2024-10-24
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 b22Fixed
Related Reports
CSR :  
Relates :  
Description
In stack map generation of ClassFile API, ClassDesc.arrayType() and componentType() are frequently called for aaload and aastore instructions. This brings overhead due to frequent string creations.

The dedicated ArrayClassDescImpl can have specialized implementations for some methods; for example, other types have simpler checks for `arrayType()` as the 255-dimension check is localized in this class.
Comments
Changeset: 25c2f48d Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-10-24 02:40:08 +0000 URL: https://git.openjdk.org/jdk/commit/25c2f48d458bfd92423c311a887679ad3e1e4041
24-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20665 Date: 2024-08-21 20:25:07 +0000
25-09-2024