Integrated: 8274738: ZGC: Use relaxed atomic load when reading bits in the live map

Per Liden pliden at openjdk.java.net
Wed Oct 6 07:48:12 UTC 2021


On Mon, 4 Oct 2021 18:18:11 GMT, Per Liden <pliden at openjdk.org> wrote:

> `ZLiveMap::get()` currently uses a non-atomic load to read bits in the live map. This should really be an relaxed atomic load.

This pull request has now been integrated.

Changeset: 2faced09
Author:    Per Liden <pliden at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2faced09ce0f6901dcdc969e6c85f2a5b55778f1
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8274738: ZGC: Use relaxed atomic load when reading bits in the live map

Reviewed-by: stefank, eosterlund

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

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



More information about the hotspot-gc-dev mailing list