Integrated: 8259862: MutableSpace's end should be atomic

Kim Barrett kbarrett at openjdk.java.net
Fri Feb 5 07:27:59 UTC 2021


On Sat, 30 Jan 2021 05:51:38 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to MutableSpace, making its _end member volatile
> and using Atomic operations to access the _top and _end members.  Some
> unused accessor functions that would otherwise need updating are removed.
> 
> Testing:
> mach5 tier1

This pull request has now been integrated.

Changeset: 1e0a1013
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1e0a1013
Stats:     27 lines in 4 files changed: 7 ins; 12 del; 8 mod

8259862: MutableSpace's end should be atomic

Make _end volatile and use atomic access

Reviewed-by: ayang, tschatzl

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

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



More information about the hotspot-gc-dev mailing list