RFR(S):8252629:jmap histo should accept "parallel" option without any specified value

linzang(臧琳) linzang at tencent.com
Tue Sep 1 09:06:09 UTC 2020


Hi All,

     Please help review this small change about jmap -histo:parallel

     Bug: https://bugs.openjdk.java.net/browse/JDK-8252629

     webrev: http://cr.openjdk.java.net/~lzang/8252629/webrev.00/

     The problem is that "jmap -histo:parallel" command prompt error message " Fail: invalid option: 'parallel'.". Because "parallel=<N>" option is supported by specification, and "parallel=0" is defined as the default behavior. it is better to make "jmap -histo:parallel" behave same as the "jmap -histo:parallel=0". Please see description in the bug for more details.

     Moreover, does a CSR required for this issue? IMHO, it may not be necessary as specification already mention "parallel=0" is the default behavior. But it doesn't describe the exact behavior of "parallel without any specified value", may I ask your opinion about the CSR?


BRs,

Lin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20200901/adcea402/attachment.htm>


More information about the serviceability-dev mailing list