RFR: 8268125: ZGC: Clone oop array gets wrong acopy stub [v3]

Nils Eliasson neliasso at openjdk.java.net
Mon Jun 14 13:56:24 UTC 2021


> 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

Nils Eliasson has updated the pull request incrementally with one additional commit since the last revision:

  update test

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4359/files
  - new: https://git.openjdk.java.net/jdk/pull/4359/files/f9d403e5..3d3873c8

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4359&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4359&range=01-02

  Stats: 277 lines in 1 file changed: 269 ins; 0 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4359.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4359/head:pull/4359

PR: https://git.openjdk.java.net/jdk/pull/4359


More information about the hotspot-compiler-dev mailing list