-
Enhancement
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11-shenandoah, 13, 14, 15
-
b18
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245379 | 14u-cpu | Roman Kennke | P4 | Resolved | Fixed | master |
JDK-8244986 | 14.0.2 | Roman Kennke | P4 | Resolved | Fixed | b07 |
Currently, calling the arraycopy dispatches 3 times in a row:
1. In the asm stub (GC or no GC)
2. In arraycopy_pre (marking or evac/update)
3. In arraycopy_update (evac or update)
This can be simplified by doing only the fast-path branch in asm stub, and the GC-phase dispatch once in the runtime.
In addition, there are various cleanups that can be done on the way.
1. In the asm stub (GC or no GC)
2. In arraycopy_pre (marking or evac/update)
3. In arraycopy_update (evac or update)
This can be simplified by doing only the fast-path branch in asm stub, and the GC-phase dispatch once in the runtime.
In addition, there are various cleanups that can be done on the way.
- backported by
-
JDK-8244986 Shenandoah: Simplify arraycopy-barrier dispatching
- Resolved
-
JDK-8245379 Shenandoah: Simplify arraycopy-barrier dispatching
- Resolved