See discussion in the PR https://github.com/openjdk/jdk/pull/22224 for bug https://bugs.openjdk.org/browse/JDK-8340334
The jcmd should correctly fail if max is too large and doesn't fit into int.
The jcmd should correctly fail if max is too large and doesn't fit into int.