RFR: Templatize and improve inlining of arraycopy and clone barriers

Aleksey Shipilev shade at redhat.com
Fri Aug 25 11:03:52 UTC 2017


On 08/25/2017 12:59 PM, Roman Kennke wrote:
> This was a long-standing TODO on my list:
> 
> http://cr.openjdk.java.net/~rkennke/sharraybarriers/webrev.00/

*) I'd make this more idiomatic:

 177   for (size_t i = 0; i < count; i++, dst++) {
 178     cl.do_oop(dst);

e.g.:

 177   for (size_t i = 0; i < count; i++) {
 178     cl.do_oop(dst++);

Otherwise looks good.

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list