JDK-8293011 : riscv: Duplicated stubs to interpreter for static calls
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: riscv
  • Submitted: 2022-08-29
  • Updated: 2022-09-08
  • Resolved: 2022-09-01
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 20
20 b14Fixed
Related Reports
Relates :  
Description
On behalf of Dingli Zhang <dingli@iscas.ac.cn>
Follow up JDK-8280481, provides duplicated stubs to interpreter for static calls.

Calls of Java methods have stubs to the interpreter for the cases when an invoked Java method is not compiled. Calls of static Java methods and final Java methods have statically bound information about a callee during compilation. C1 and C2 always generate a new stub for each call. As the generated stubs for calls of the same method are the same, they can be shared.

Comments
Changeset: 17283cfe Author: Dingli Zhang <dingli@iscas.ac.cn> Committer: Fei Yang <fyang@openjdk.org> Date: 2022-09-01 01:06:45 +0000 URL: https://git.openjdk.org/jdk/commit/17283cfe4c697e2118f19992a6e87dbee268061e
01-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10057 Date: 2022-08-29 01:32:26 +0000
29-08-2022