RFR: 8269914: Factor out heap printing for G1 young and full gc

Thomas Schatzl tschatzl at openjdk.java.net
Tue Jul 6 12:40:05 UTC 2021


Hi all,

can I have reviews for this change that factors out before/after heap related printing into a single scoped object to be used for both young and full gc code?

There is some minor change in order of unrelated options (COMMIT/UNCOMMIT region state changes vs. other heap printing), during full gc but since this is very low level debugging I do not see a problem to do that.

Based on #4539 .

Thanks,
Thomas

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

Depends on: https://git.openjdk.java.net/jdk/pull/4539

Commit messages:
 - Initial implementation of heap printing refactoring

Changes: https://git.openjdk.java.net/jdk/pull/4689/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4689&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269914
  Stats: 79 lines in 5 files changed: 34 ins; 39 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4689.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4689/head:pull/4689

PR: https://git.openjdk.java.net/jdk/pull/4689


More information about the hotspot-gc-dev mailing list