JDK-8316991 : Reduce nullable allocation merges
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 22,23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-26
  • Updated: 2024-09-06
  • Resolved: 2024-04-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 23
23 b18Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Follow up from JDK-8287061.

Many, if not most, allocation merges (Phis) are nullable because they join object allocations with "NULL", or objects returned from method calls, etc.

This Sub-task is to improve Reduce Allocation Merge implementation so that it can reduce at least some of these allocation merges.
Comments
I converted this to a separate RFE independent of JDK-8289943 to avoid the indirection when following links from the related bugs/RFEs.
22-08-2024

Changeset: a887fd21 Author: Cesar Soares Lucas <cslucas@openjdk.org> Committer: Vladimir Kozlov <kvn@openjdk.org> Date: 2024-04-08 23:13:38 +0000 URL: https://git.openjdk.org/jdk/commit/a887fd2144ce067844f18a514afb5078255601ff
08-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15825 Date: 2023-09-19 18:54:34 +0000
26-09-2023