RFR: 8290806: Only add eager reclaim task to G1 post evacuate tasks if there were candidates

Thomas Schatzl tschatzl at openjdk.org
Tue Jul 26 13:32:28 UTC 2022


On Mon, 25 Jul 2022 12:28:05 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Hi all,
>> 
>>   can I have reviews for this tiny optimization that does not enqueue the eager reclaim task if there were no eager reclaim candidates? This saves an iteration over all heap regions in applications that do not allocate humongous type arrays.
>> 
>> Testing: gha, gc/g1
>> 
>> Thanks,
>>   Thomas
>
> Looks good.

Thanks @kimbarrett @sangheon for your reviews.

-------------

PR: https://git.openjdk.org/jdk/pull/9590



More information about the hotspot-gc-dev mailing list