JDK-8261482 : Adjust jmap histo command to accept noparallel option to inspect heap serially
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 16
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2021-02-10
  • Updated: 2022-02-01
  • Resolved: 2022-02-01
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
Before, jmap -histo accepts a parallel=<n> option to indicate the number of parallel threads, which exposes too much details to user and  makes spec hard to be clear and not to be ambiguous.

We think it's better to enable parallel heap inspection by default and adjust jmap -histo to accept a "noparallel" option to disable it, rather than give user too much control/details which is hard to specified.
Comments
https://github.com/openjdk/jdk/pull/2519 was closed because a different solution was chosen
01-02-2022

I think we only need a "noparallel" option. parallel will be the default.
10-02-2021