RFR (sh/jdk8): Backport: JDK-8231086: Shenandoah: Stronger invariant for object-arraycopy
Aleksey Shipilev
shade at redhat.com
Fri Feb 21 12:17:41 UTC 2020
On 2/21/20 1:13 PM, Roman Kennke wrote:
>> *) Would you mind adding the comment to ShenandoahRuntime::shenandoah_clone_barrier, something like
>> (if that is correct):
>> // In JDK 8u, caller does the arraycopy itself, and then calls the clone_barrier.
>> // It is changed in later JDKs to do the copy right here, see JDK-????????
>
> It is actually changed back to do the copy in C2 compiled code, and that
> reversion is JDK-8231499... which is part of this backport.
Ah, I see.
> http://cr.openjdk.java.net/~rkennke/JDK-8231086-jdk8/webrev.03/
Looks good.
--
Thanks,
-Aleksey
More information about the shenandoah-dev
mailing list