Enable optimization of arraycopy as loads/stores with Shenandoah

Roman Kennke rkennke at redhat.com
Thu Dec 8 15:56:16 UTC 2016


Am Donnerstag, den 08.12.2016, 16:55 +0100 schrieb Roland Westrelin:
> > This removes the call to SharedRuntime::shenandoah_clone_barrier().
> 
> It doesn't remove it. It moves it around. It's now only added to
> those
> clones that were not converted to loads/stores. Clone when it's not
> converted to loads/stores uses bulk copies. So it's not obvious to me
> that we can do better than using the
> SharedRuntime::shenandoah_clone_barrier() call. I also added a test
> for
> any object fields so the call to
> SharedRuntime::shenandoah_clone_barrier() is not emitted when it's
> obviously not needed.

Ah. Oops, my bad :-)

Ok to push then.

Roman



More information about the shenandoah-dev mailing list