jmap -heap pid 执行报错的解决方法: unknown CollectedHeap type : class sun.jvm.hotspot.gc_interface.Collect...
背景环境系统:$cat/etc/system-releaseCentOSLinuxrelease7.4.1708(Core)$java-versionopenjdkversion"1.8.0_151"OpenJDKRuntimeEnvironment(build1.8.0_151-b12)OpenJDK64-BitServerVM(build25.151-b12,mixedmode)复现执行jma