RFR: 8269870: PS: Membar in PSPromotionManager::copy_unmarked_to_survivor_space could be relaxed

Albert Mingkun Yang ayang at openjdk.org
Wed Jun 19 19:47:32 UTC 2024


On Tue, 18 Jun 2024 10:17:53 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> The acquire-release mem-barrier was probably used/required before but not any more. Inspiration taken from `G1ParScanThreadState::do_oop_evac`.

Missed the `acquire` in the cas-fail path in the first version. Fixed now.

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

PR Comment: https://git.openjdk.org/jdk/pull/19764#issuecomment-2179371934


More information about the hotspot-gc-dev mailing list