RFR: 8224966: ZGC: Don't skip oop verification in OopMapSet::all_do()
Per Liden
per.liden at oracle.com
Mon Jun 10 06:26:13 UTC 2019
Thanks Erik!
/Per
On 6/5/19 12:24 PM, Erik Österlund wrote:
> +1
>
> /Erik
>
> On 2019-05-29 11:27, Per Liden wrote:
>> When ZGC is enabled, we skip oop verification in OopMapSet::all_do().
>> There's no good reason to skip that. The comment suggesting this is
>> skipped because a safepoint can happen between a load and the barrier
>> is incorrect. We can still do the verification as is_in_or_null()
>> doesn't require the address to have a "good" color.
>>
>> Also, once JDK-8224675 is integrated, this comment will make even less
>> sense.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8224966
>> Webrev: http://cr.openjdk.java.net/~pliden/8224966/webrev.0
>>
>> /Per
>
More information about the hotspot-gc-dev
mailing list