RFR: 8201362: Remove CollectedHeap::barrier_set()

Aleksey Shipilev shade at redhat.com
Thu Apr 12 08:31:02 UTC 2018

On 04/12/2018 10:26 AM, Per Liden wrote:
> This patch removes the redundant CollectedHeap::_barrier_set and the
> setter/getter. Throughout the code, we currently have a mix of calls to BarrierSet::barrier_set()
> and Universe::heap()->barrier_set(). This patch unifies all that to always use
> BarrierSet::barrier_set().
> Bug: https://bugs.openjdk.java.net/browse/JDK-8201362
> Webrev: http://cr.openjdk.java.net/~pliden/8201362/webrev.0

Yes, please. This looks trivial.

(If we are pushing this today, it is better to do this early, so we would be able to catch up with
build errors before jdk/hs closing today)


More information about the hotspot-gc-dev mailing list