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

Hamlin Li mli at openjdk.org
Tue Jun 18 13:55:12 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`.

Looks good.

Thanks for working on this. :)

I suppose with the removal of `OrderAccess::acquire();`, it brings even more benefit?

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

Marked as reviewed by mli (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19764#pullrequestreview-2125588907
PR Comment: https://git.openjdk.org/jdk/pull/19764#issuecomment-2176163335


More information about the hotspot-gc-dev mailing list