1

some jcmd parameters are available on macos or windows, but not on Linux, such as VM.metaspace. If I want to use this parameter in Linux, what should I do?

My JDK versions are all 11

colin xun
  • 34
  • 5

1 Answers1

0

The metaspace is only visible on Java 8 and above; before then, it was the permgen. You can find out what flags are available by running 'jcmd help' for the JVM that you're talking to.

AlBlue
  • 23,254
  • 14
  • 71
  • 91