JDK-8307625 : Redundant receiver null check in LibraryCallKit::generate_method_call
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-08
  • Updated: 2023-07-12
  • Resolved: 2023-06-28
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 22
22 b04Fixed
Related Reports
Relates :  
Description
All callers of LibraryCallKit::generate_method_call already null check the receiver. The null_check_receiver() calls are therefore redundant (if they wouldn't be redundant, the code would require a stopped() check). See JDK-8303512.
Comments
Changeset: c3f10e84 Author: Eric Nothum <eric.nothum@oracle.com> Committer: Tobias Hartmann <thartmann@openjdk.org> Date: 2023-06-28 07:25:20 +0000 URL: https://git.openjdk.org/jdk/commit/c3f10e847999ec254893de5a1a5de32fd07f715a
28-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14542 Date: 2023-06-19 14:13:38 +0000
26-06-2023