RFR: 8327963: C2: fix construction of memory graph around Initialize node to prevent incorrect execution if allocation is removed [v15]

Emanuel Peter epeter at openjdk.org
Tue Nov 4 07:38:48 UTC 2025


On Fri, 24 Oct 2025 13:18:46 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - review
>>  - Roberto's patches
>
> src/hotspot/share/opto/multnode.hpp line 215:
> 
>> 213:   }
>> 214: public:
>> 215:   NarrowMemProjNode(Node* src, const TypePtr* adr_type)
> 
> Can you feed it any other `src` than a `InitializeNode*`?
> Suggestion:
> 
>   NarrowMemProjNode(InitializeNode* src, const TypePtr* adr_type)

@rwestrel Do you not like this suggestion?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24570#discussion_r2488969574


More information about the hotspot-compiler-dev mailing list