RFR: typo causes write barrier to be used where a read barrier is sufficient

Roman Kennke roman at kennke.org
Thu Jun 14 12:00:21 UTC 2018


Yes, this must have happened during c2merge. Please push! Thanks!

Am 14. Juni 2018 13:57:18 MESZ schrieb Aleksey Shipilev <shade at redhat.com>:
>On 06/14/2018 01:49 PM, Roland Westrelin wrote:
>> 
>> diff --git a/src/hotspot/share/opto/parse2.cpp
>b/src/hotspot/share/opto/parse2.cpp
>> --- a/src/hotspot/share/opto/parse2.cpp
>> +++ b/src/hotspot/share/opto/parse2.cpp
>> @@ -211,7 +211,7 @@
>>    if (is_store) {
>>      ary = access_resolve_for_write(ary);
>>    } else {
>> -    ary = access_resolve_for_write(ary);
>> +    ary = access_resolve_for_read(ary);
>>    }
>
>Oh wow. Looks good! Maybe Roman would confirm this is bad typo indeed.
>
>-Aleksey

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.


More information about the shenandoah-dev mailing list