The "Total garbage collection time" can be determined by observing the GCT column printed by the command:
jstat -gc <pid>
as described by the documentation here: https://docs.oracle.com/en/java/javase/12/tools/jstat.html
It appears to be an amount of time spent doing GC since the Java process started, measured in seconds.
Is that per core? So, if a quad-core CPU was fully utilized by a single JVM instance for 100 seconds, and was garbage collecting 10% of the time, would GCT report 10 or 40? If I have hyperthreading enabled (i.e. 8 OS cores), then how should I reason about the GCT figure?
I'm using the OpenJDK12 HotSpot JVM.