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

Roland Westrelin roland at openjdk.org
Tue Nov 4 08:47:50 UTC 2025


On Tue, 4 Nov 2025 07:19:17 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/opto/memnode.hpp line 1422:
> 
>> 1420: public:
>> 1421: 
>> 1422:   template <class Callback> void for_each_narrow_mem_proj_with_new_uses(Callback callback) const {
> 
> Can you add a code comment what the "with new uses" part means? Probably that if we add more uses during iteration, we will eventually also visit those?

Done in new commit.

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

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


More information about the graal-dev mailing list