Why is MC greater than mu when I use the jstat command?, eg.
$./jstat -gc 2820
S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
174720.0 174720.0 0.0 64633.5 1747712.0 1449365.0 2097152.0 263408.2 304768.0 299380.5 37760.0 36489.7 13 1.766 0 0.000 1.766
It says that MC is 304768.0 while MU is 299380.5.

The documentation says that
So
MCis the total capacity andMUis how much ofMCyou are currently using. Hence it only makes sense thatMCis greater (equals)MU.The opposite would be weird, but not
MC > MU.In your case you have a metaspace capacity of around 304 MB and currently use 299 MB of that.