RFR: keep read barrier on final field access
Roman Kennke
rkennke at redhat.com
Mon Oct 23 12:11:10 UTC 2017
Am 23.10.2017 um 12:59 schrieb Roland Westrelin:
> Roman,
>
> Is it ok with you if I go with this suggestion?
>
>> if ((ShenandoahOptimiseStaticFinals && field->is_static()) ||
>> (ShenandoahOptimizeInstanceFinals && field->is_final()) ||
>> (ShenandoahOptimizeStableFinals && field->is_stable())
> Roland.
Sure. But you need to inverse it if this is supposed to be the condition
to generate read barriers. ;-)
Roman
More information about the shenandoah-dev
mailing list