In-Process Data Redaction

Erik Gahlin erik.gahlin at oracle.com
Mon Feb 16 08:07:43 UTC 2026


Hi,

This is a follow-up to our earlier discussion about scrubbing:
https://mail.openjdk.org/pipermail/hotspot-jfr-dev/2025-June/007574.html

I implemented support for selectively redacting sensitive information in-process using two command-line options, redact-key and redact-argument. I disabled command-line arguments for the SystemProcess event entirely. It would probably be better to do this in a separate PR, but I included it here to make the binary file test pass. 

For more information, I created a JEP draft:
https://bugs.openjdk.org/browse/JDK-8372760

A draft PR can be found here:
https://github.com/openjdk/jdk/pull/29736

Erik


More information about the hotspot-jfr-dev mailing list