[jdk11u-dev] Withdrawn: 8251358: Clean up Access configuration after Shenandoah barrier change

duke duke at openjdk.java.net
Wed Jan 5 15:26:24 UTC 2022


On Sun, 15 Aug 2021 16:43:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This is third (and final) patch in the series to cleanup/revert the GC BarrierSets to most current state.
> 
> The primitive accesses APIs were added for Shenandoah GC, in the incarnation that exposed both from- and to-copies to the runtime system (see JDK-8199781). Since then, Shenandoah greatly simplified this by switching to a strong to-space invariant, which obviates the need for this API. Therefore, it was removed in JDK 14. This patch reverts JDK 11 parts to that shape as well, which should simplify 11u maintenance.
> 
> This patch effectively reverts additions of:
>   8199735: Mark word updates need to use Access API
>   8251358: Clean up Access configuration after Shenandoah barrier change
> 
> Note that it leaves HeapAccess barriers over mark words, which means the GC code would potentially experience (nop, empty) GC barriers when accessing mark word. While awkward, this is the way current post-JDK-8251358 behaves. This should probably be cleaned up upstream first, see JDK-8272654.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/251


More information about the jdk-updates-dev mailing list