RFR: 8339526: C2: store incorrectly removed for clone() transformed to series of loads/stores [v2]
    Emanuel Peter 
    epeter at openjdk.org
       
    Mon Oct 13 15:20:45 UTC 2025
    
    
  
On Mon, 13 Oct 2025 15:14:52 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> > Hi Roland, thanks for looking into this!
> > Can you explain why the `clone` in `inlined2` creates an `ArrayCopy` node? I think I'm missing some context here. Because we are cloning an `A` and not an array, right?
> 
> Naming of the node is unfortunate as it's also used for instance clones.
Oh dear, I see, that explains my confusion. That's really not very nice 😞 
I wonder if we should do a renaming then?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27604#issuecomment-3397954861
    
    
More information about the hotspot-compiler-dev
mailing list