Integrated: 8268125: ZGC: Clone oop array gets wrong acopy stub
Nils Eliasson
neliasso at openjdk.java.net
Tue Jun 15 08:56:43 UTC 2021
On Fri, 4 Jun 2021 11:43:26 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:
> Hi,
>
> This fixes a problem I introduced with JDK-8267726. With that change clone oop array is treated as normal clone arrays with ZGC. I missed that a case was missing in zBarrierSetC2::clone_at_expansion - which caused clone_oop-arrays to get the wrong array copy stub.
>
> In this fix I move the entire leaf call creation inside zBarrierSetC2, and leave BarrierSetC2 as is. In this way I don't have to change anything for the other collectors.
>
> Please review,
> Best regards,
> Nils Eliasson
This pull request has now been integrated.
Changeset: d3840932
Author: Nils Eliasson <neliasso at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d384093289561015c69b684a9e21a8c4c1851c4c
Stats: 339 lines in 5 files changed: 332 ins; 0 del; 7 mod
8268125: ZGC: Clone oop array gets wrong acopy stub
Reviewed-by: kvn, vlivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/4359
More information about the hotspot-dev
mailing list