JDK-8224187 : Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: aarch64
  • Submitted: 2019-05-20
  • Updated: 2020-01-23
  • Resolved: 2019-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.7Fixed 13 b22Fixed
Related Reports
Blocks :  
Duplicate :  
Description
The arraycopy_prologue method and decendents in hotspot/cpu/aarch64/gc/g1/shared/barrierSetAssembler_aarch64.hpp only accepts the destination array. For implementing read barriers, it also needs to be passed the source array, and the GC implementation then should use the most appropriate one.


Comments
Fix-Request (11u): We need the extension of the arraycopy-prologue interface in aarch64. This makes it match the x86 implementation. The change is the same as has been done for jdk13, but without the Shenandoah parts (those will come when Shenandoah lands in 11u). Testing: tier1 and tier2 on aarch64 ok. Review-thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-January/002396.html
20-01-2020

I added affects 11 because I need this for Shenandoah GC in jdk11u.
17-01-2020

Not sure of the status of this versus JDK-8223240
21-05-2019

Essentially duplicates JDK-8223240 which will also satisfy some additional requirements for Shenandoah GC.
20-05-2019