I'm running jstat -gc
(from OpenJDK):
# jstat -gc 1
S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
287744.0 290304.0 88368.6 0.0 1469440.0 787186.5 2162176.0 1805969.7 945432.0 923880.4 136576.0 133284.0 268 32.797 21 30.089 62.886
How to read:
used heap
heap size
max heap
from this output, just like shown by VisualVM?
jmap -heap <pid>
would better fit your needs. – Wellchosenjmap
in OpenJDK doesn't have-heap
param... Any alternatives? – Tonguingopenjdk8-8.111.14-r0
Alpine Linux package,javac -version
showsjavac 1.8.0_111-internal
– Tonguing131
, as it's simply not yet available. see blogs.oracle.com/developers/… – Wellchosen