RFR: 8290806: Only add eager reclaim task to G1 post evacuate tasks if there were candidates
Sangheon Kim
sangheki at openjdk.org
Tue Jul 26 13:19:09 UTC 2022
On Thu, 21 Jul 2022 11:53:40 GMT, Thomas Schatzl <tschatzl 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.
-------------
Marked as reviewed by sangheki (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9590
More information about the hotspot-gc-dev
mailing list