Re: RFR: 8337517: Redacted Heap Dumps [v2]

2024-08-20 Thread William Kemper
On Thu, 1 Aug 2024 21:46:04 GMT, Henry Lin wrote: >> Adds a command line option `-redact` to `jcmd` and `-XX:+HeapDumpRedacted` >> enabling redacted heap dumps. When enabled, the output binary heap dump has >> zeroes written out in place of the original primitive values in the object >> fields

Re: RFR: 8337517: Redacted Heap Dumps [v2]

2024-08-02 Thread Chris Plummer
On Fri, 2 Aug 2024 08:28:00 GMT, Kevin Walls wrote: > If I can use jcmd to switch redaction on and off, to get both kinds of dump: > do I really want to perform the dump twice Yep, and there are two issues with getting two dumps. The first is that sometimes the dump is triggered automatically,

Re: RFR: 8337517: Redacted Heap Dumps [v2]

2024-08-02 Thread Kevin Walls
On Thu, 1 Aug 2024 21:46:04 GMT, Henry Lin wrote: >> Adds a command line option `-redact` to `jcmd` and `-XX:+HeapDumpRedacted` >> enabling redacted heap dumps. When enabled, the output binary heap dump has >> zeroes written out in place of the original primitive values in the object >> fields

Re: RFR: 8337517: Redacted Heap Dumps [v2]

2024-08-01 Thread Henry Lin
> Adds a command line option `-redact` to `jcmd`, `redact` to `jmap` and > `-XX:+HeapDumpRedacted` enabling redacted heap dumps. When enabled, the > output binary heap dump has zeroes written out in place of the original > primitive values in the object fields. There is a new jtreg test > `heap