Usage of the JVM's metaspace.
how much is currently in use
the current capacity of the metaspace.
It can grow beyond this, up to
maxCapacity, if needed.
the maximum size that the metaspace can grow to.
Return the current process id.
this is fragile as the RuntimeMXBean doesn't specify the name format.
Return an instance of the Jvm for this runtime.