[10] RFR(S): 8182036: Load from initializing arraycopy uses wrong memory state

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Jun 19 16:50:36 UTC 2017


Got it. Good.

Thanks,
Vladimir

On 6/19/17 1:24 AM, Roland Westrelin wrote:
> 
>> About last change which removed (ac->_src_type != ac->_dest_type) code.
>> Do we ever hit it? Before that we exit this code if src_elem != dest_elem.
> 
> We can hit it with escape analysis. The destination array can be non
> escaping and gets its own memory slice which would then differ from the
> source's memory slice.
> 
> Roland.
> 


More information about the hotspot-compiler-dev mailing list