- 
    Type:
Enhancement
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: repo-valhalla
 - 
    Component/s: hotspot
 
                    ZGC uses vector registers to do some pointer preprocessing for arraycopy. See copy_store_at in macroAssembler_x86.cpp. A possible performance enhancement for tearable arrays, proposed by [~eosterlund], is to modify load_arraycopy_masks such that it only masks positions where there could be oops within flat arrays.