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
`heapDumpRedact
w jtreg test
> `heapDumpRedactedTest.java` that tests that the fields are properly redacted.
Henry Lin has updated the pull request incrementally with three additional
commits since the last revision:
- refactored redact conditional
- format HeapDumpRedactedTest.java
- Revert "add jmap