public static class JvmstatMonitor.GarbageCollectionInstrumentation extends Object
Provide visibility about the internals of the JVM's garbage collector.
jvmstat_garbage_collection_invocations_totalSince JRE 1.1, the Java Virtual Machine has used a generational model for managing memory due to object lifecycle in well-designed systems typically following an exponential distribution whereby the majority of object born die young. This means great efficiency gains can be achieved when long-standing tenured objects are ignored (i.e., collected less frequently) and the focus of collection becomes those newly-birthed objects
o |
b | X
j | X
e | X X
c | X X
t | X X X
s | X X X
| X X X X X X
# —————————————————————
0 1 2 3 4 5 … n
object cohort age
This is to say, assuming a small amount of persistent in-memory state within a server, the majority of objects are allocated during units of work (e.g., HTTP requests, RPCs, etc.) and have no bearing or produce little by way of side effects that need to be retained later in the life of the server. This is the ideal case.
generation: The managed memory region name.
jvmstat_garbage_collection_duration_ms_totalgeneration: The managed memory region name.
| Constructor and Description |
|---|
JvmstatMonitor.GarbageCollectionInstrumentation() |
public JvmstatMonitor.GarbageCollectionInstrumentation()
Copyright © 2014. All Rights Reserved.