RFR: 8370889: G1: Inline G1PrepareEvacuationTask::sample_card_set_size()

Thomas Schatzl tschatzl at openjdk.org
Wed Oct 29 15:58:38 UTC 2025


Hi all,

  please review this simple inlining of a one-liner method that is used once (discounting the check before that line that is actually repeated just a few lines below the call).

Also made the member name a bit more specific.

Testing: gha

Thanks,
  Thomas

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

Commit messages:
 - 8370889

Changes: https://git.openjdk.org/jdk/pull/28046/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28046&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370889
  Stats: 21 lines in 1 file changed: 6 ins; 10 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/28046.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28046/head:pull/28046

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


More information about the hotspot-gc-dev mailing list