Integrated: 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:29 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

This pull request has now been integrated.

Changeset: da9cc5c9
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/da9cc5c9f48280786af7939f50c38eb7054e70c9
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

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

Reviewed-by: kbarrett, sangheki

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

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



More information about the hotspot-gc-dev mailing list