Integrated: 8306687: Relax memory ordering constraints on metaspace atomic counters

Zhengyu Gu zgu at openjdk.org
Tue Apr 25 17:59:16 UTC 2023


On Mon, 24 Apr 2023 13:15:09 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Metaspace atomic counter (`SizeAtomicCounter`) is used to track used `class` and `nonclass` metaspace sizes, they are pure counters and only need atomic guarantee.
> 
> Test:
> - [x] hotspot_metaspace MacOSX M1
> - [x] hotspot_metaspace Linux x86_64
> - [x] hotspot_metaspace Linux x86_32

This pull request has now been integrated.

Changeset: 5f4965d4
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5f4965d422cf1d2b4bb372202e6cae96be863d30
Stats:     5 lines in 1 file changed: 0 ins; 0 del; 5 mod

8306687: Relax memory ordering constraints on metaspace atomic counters

Reviewed-by: shade, minqi

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

PR: https://git.openjdk.org/jdk/pull/13618


More information about the hotspot-runtime-dev mailing list