JDK-8344116 : C2: remove slice parameter from LoadNode::make
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-11-13
  • Updated: 2025-03-26
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
JDK-8341411 removed the slice parameter from GraphKit::make_load() and GraphKit::store_to_memory().

It might be possible to go even further and remove them from LoadNode::make and analogously in Store.

Then in the GC API it might not be necessary to pass adr_type anymore in:

C2AccessValuePtr addr(adr, adr_type);
 C2ParseAccess access(this, decorators | C2_READ_ACCESS, bt, obj, addr);

See https://github.com/openjdk/jdk/pull/21834#pullrequestreview-2429164805 for the original comment pointing this out
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24258 Date: 2025-03-26 15:18:25 +0000
26-03-2025