RFR: 8368080: G1: Unnecessary initialization of G1CMTask's mark stats table

Thomas Schatzl tschatzl at openjdk.org
Mon Sep 22 05:50:59 UTC 2025


Hi all,

  please review this tiny change that leaves out resetting the mark stat caches at startup.

This has some (somewhat tiny, depending on heap size and number of threads) positive impact on startup time.

Testing: tier1-5, gha

Thanks,
  Thomas

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

Commit messages:
 - 8368080

Changes: https://git.openjdk.org/jdk/pull/27390/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27390&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368080
  Stats: 4 lines in 3 files changed: 3 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/27390.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27390/head:pull/27390

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


More information about the hotspot-gc-dev mailing list