Add command line option in jcmd and a runtime flag -XX:+HeapDumpRedacted that will generate a heap dump with primitive values zeroed/redacted. This is useful in debugging and analyzing the heap dumps of programs where objects may contain confidential or personal identifiable information. Object size and connectivity information is often sufficient for the vast majority of cases where heap dumps are used for debugging.
- csr for
-
JDK-8337518 Introduce options to jcmd and a JVM runtime flag to generate redacted heap dumps.
- Draft
- relates to
-
JDK-8219721 jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
- Resolved
-
JDK-8078234 Redacted HPROF dump to protect privacy data
- Closed
- links to
-
Review(master) openjdk/jdk/20409