RFR: Make C1 write-barrier use a stub instead of dedicated instruction
Roman Kennke
rkennke at redhat.com
Tue Jul 3 12:19:38 UTC 2018
Good spot! The other stub few lines above has the same copy+paste problem. Will fix this in followup patch (this one is already pushed).
Am 3. Juli 2018 14:10:41 MESZ schrieb Zhengyu Gu <zgu at redhat.com>:
>shenandoahBarrierSetC1.hpp L#116
>
>G1PreBarrierStub -> ShenandoahWriteBarrierStub
>
>-Zhengyu
>
>
>On 07/03/2018 06:56 AM, Aleksey Shipilev wrote:
>> On 07/03/2018 12:50 PM, Roman Kennke wrote:
>>> We currently use a dedicated C1 LIR instruction to implement the
>>> Shenandoah write barrier. This is not easily supported by the
>current
>>> BarrierSetC1 interface. What works better is to use CodeStub (like
>all
>>> other GC's barriers), so let's turn Shenandoah's write barrier
>(back) to
>>> using CodeStubs. This removes a whole lot of upstream changes and
>>> confines Shenandoah barrier stuff to gc/shenandoah.
>>>
>>>
>http://cr.openjdk.java.net/~rkennke/c1-shenandoah-codestubs/webrev.01/
>>
>> *) Comment is wrong in ShenandoahBarrierSetC1::write_barrier_impl:
>>
>> 224 // Read the marking-in-progress flag.
>>
>> Otherwise looks good!
>>
>> -Aleksey
>>
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
More information about the shenandoah-dev
mailing list