RFR: Differentiate young generation marking. [v2]
Bernd Mathiske
bmathiske at openjdk.java.net
Wed Dec 9 09:47:56 UTC 2020
On Tue, 8 Dec 2020 19:02:58 GMT, Charlie Gracie <cgracie at openjdk.org> wrote:
>> Bernd Mathiske has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>>
>> Differentiate young generation marking.
>
> src/hotspot/share/gc/shenandoah/shenandoahFreeSet.cpp line 149:
>
>> 147: }
>> 148:
>> 149: try_recycle_trashed(r);
>
> I am curious why this code moved up? I do not believe there is anything wrong just curious
This is a bug fix. We must clear the trash state and we should attempt to make this region free BEFORE asking to assign it to a generation for allocation.
-------------
PR: https://git.openjdk.java.net/shenandoah/pull/8
More information about the shenandoah-dev
mailing list