RFR: 8290806: Only add eager reclaim task to G1PostEvacuateCollectionSetCleanupTask2 if there were candidates
Thomas Schatzl
tschatzl at openjdk.org
Thu Jul 21 12:00:37 UTC 2022
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
-------------
Commit messages:
- Initial version
Changes: https://git.openjdk.org/jdk/pull/9590/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9590&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8290806
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/9590.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9590/head:pull/9590
PR: https://git.openjdk.org/jdk/pull/9590
More information about the hotspot-gc-dev
mailing list