RFR(M): 8210887: Tweak C2 gc api for arraycopy

Tobias Hartmann tobias.hartmann at oracle.com
Mon Sep 24 10:15:35 UTC 2018


Hi Roland,

Looks good to me. I'm assuming the currently unused arguments of array_copy_requires_gc_barriers
will be used for Shenandoah? Why you need to distinguish between ArrayCopyPhase?

Best regards,
Tobias

On 18.09.2018 22:09, Roland Westrelin wrote:
> 
> http://cr.openjdk.java.net/~roland/8210887/webrev.00/
> 
> This extends the entry point of the c2 access api for arraycopy (in
> preparation for shenandoah). This also fixes some incorrect
> _adr_type's. It also modifies the ArrayCopyNode::Ideal() transform that
> produces a series of loads/stores so, as a subsequent change, barriers
> can be added to loads and stores: they need to produce and consume
> memory state other than the slice of the array being copied.
> 
> Roland.
> 


More information about the hotspot-compiler-dev mailing list