RFR: 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:11 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.

Thanks for reviewing!

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

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



More information about the hotspot-gc-dev mailing list