RFR: 8252842: Extend jmap to support parallel heap dump

Chris Plummer cjplummer at openjdk.java.net
Wed Jan 27 19:24:40 UTC 2021


On Wed, 27 Jan 2021 13:15:06 GMT, Lin Zang <lzang at openjdk.org> wrote:

> This patch introduces a new "parallel" option to jmap, so after this patch, there can be at most 4 options for jmap that can be passed to JDK.
> 
> The issue is that there is a limitation in old version of jmap that at most 3 arguments can be accepted. As I commented in File JMap.java. and I can not simply enlarge the limitation to 4 because that will cause old version of jmap hang when working on new JDK.

A year or so ago we ran into this same issue. I'll see if I can find the CR for it.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2261


More information about the serviceability-dev mailing list