[jdk13u-dev] Integrated: 8264640: CMS ParScanClosure misses a barrier

Anton Kozlov akozlov at openjdk.java.net
Fri Apr 9 12:33:13 UTC 2021


On Fri, 2 Apr 2021 08:46:21 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Hi, please review an original fix for a GC crash. The jdk13u is the latest supported version that still has buggy code, it was deleted in jdk14 as a part of   JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector. So I'm proposing it here.
> 
> The fix is low-risk, on x86-64 it just introduces a compiler barrier to prevent two reads to be reordered as intended by surrounding comments. On CPUs with weaker memory models it introduces CPU barriers as well.

This pull request has now been integrated.

Changeset: efc81a3d
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk13u-dev/commit/efc81a3d
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8264640: CMS ParScanClosure misses a barrier

Reviewed-by: yan, johnc

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

PR: https://git.openjdk.java.net/jdk13u-dev/pull/165


More information about the jdk-updates-dev mailing list