RFR: 8293007: riscv: failed to build after JDK-8290025 [v2]
Aleksey Shipilev
shade at openjdk.org
Mon Aug 29 15:00:06 UTC 2022
On Mon, 29 Aug 2022 14:09:28 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:
>> src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp line 192:
>>
>>> 190:
>>> 191: void BarrierSetAssembler::clear_patching_epoch() {
>>> 192: _patching_epoch = 0;
>>
>> Don't we want `Atomic::store(&_patching_epoch, 0)` here?
>
> We can do a relax clear here, because clear_patching_epoch() was only called by arm_all_nmethods(), which happened always in the safepoint.
Allright then.
-------------
PR: https://git.openjdk.org/jdk/pull/10056
More information about the shenandoah-dev
mailing list