[jdk11u-dev] RFR: 8260571: Add PrintMetaspaceStatistics to print metaspace statistics upon VM exit

Thomas Stuefe stuefe at openjdk.java.net
Wed Sep 15 08:07:12 UTC 2021


I would like to backport this change to JDK-11 since this flag helps us analyzing metaspace problems, and beyond that its completely harmless.

The original patch does not properly apply, since the flag definition format in globals.hpp has changed since JDK11. Other than that, the patch is trivial.

Nightlies at SAP ran through with this patch for several weeks now.

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

Commit messages:
 - Backport ddd2951ba91fe3860b92d2f9bad4e0d900f1d650

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/83/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=83&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260571
  Stats: 12 lines in 2 files changed: 12 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/83.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/83/head:pull/83

PR: https://git.openjdk.java.net/jdk11u-dev/pull/83


More information about the jdk-updates-dev mailing list