RFR: Introduce ShenandoahSelfFixing flag
Aleksey Shipilev
shade at redhat.com
Wed Jul 3 14:38:44 UTC 2019
On 7/3/19 4:37 PM, Roman Kennke wrote:
>> On 7/3/19 1:40 PM, Roman Kennke wrote:
>>> http://cr.openjdk.java.net/~rkennke/sfx-flag/webrev.00/
>>
>> Looks good. I wonder if that check should be in ShenandoahBarrierC2Support::get_load_addr itself.
>
> Yes, that was my initial thought too. But then it would uselessly create
> the visited set, and check the flag for each recursive call too. It
> doesn't hurt much, but this way seems cleaner. The block could be
> extracted to another method though...?
Whatever is simpler. We can leave it as is.
--
Thanks,
-Aleksey
More information about the shenandoah-dev
mailing list