JDK-8307352 : AARCH64: Improve itable_stub
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2023-05-03
  • Updated: 2024-07-25
  • Resolved: 2023-09-08
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 17 JDK 21 JDK 22
17.0.13Fixed 21.0.5Fixed 22 b15Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Async profiler shows that applications spend up to 10% in itable_stubs. The generated itable_stub scans itable two times while it can be done in a single pass. 

See JDK-8305959 for Intel impl
Comments
[jdk17u-fix-request] Approval Request from Dmitry Chuyko This is an aarch64 part follow-up backport to the common/x86 part ([JDK-8305959](https://bugs.openjdk.org/browse/JDK-8305959)). It improves itable_stubs performacne which can have notable impact in some applications and has been recently backported to 21u. Original patch required only a few minor adjustments. There is a tiny JDK-8323122 (increase stub estimate) change to be backported after this one. Testing: linux aarch64 tier1,2.
23-07-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2729 Date: 2024-07-19 15:03:22 +0000
19-07-2024

[jdk21u-fix-request] Approval Request from Dmitry Chuyko AArch64 part of the itable_stub performance optimization backports cleanly to 21u. x86 part was originally made in JDK 21, aarch64 landed only in JDK 22. No bugs were found since 22. There is JDK-8323122 (increase stub estimate) from JDK 23 as a safety follow-up (to be backported after this one). Testing: tier1,2 on linux-aarch64. Benchmark results on jdk21-dev match the original improvement numbers.
09-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/683 Date: 2024-06-09 10:23:16 +0000
09-06-2024

Changeset: c664f1ca Author: Boris Ulasevich <bulasevich@openjdk.org> Date: 2023-09-08 09:59:23 +0000 URL: https://git.openjdk.org/jdk/commit/c664f1ca660adea934f099de8595b6ec10d3a824
08-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13792 Date: 2023-05-04 07:36:43 +0000
13-06-2023