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

Roland Westrelin rwestrel at redhat.com
Mon Jun 19 08:24:40 UTC 2017

> 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.


More information about the hotspot-compiler-dev mailing list