JVM Metrics
以Jolokia 收集的JVM信息为例,简要说明常用Metric的含义。
Heap知识
具体参考JVM和GC调优.
-
Young Generation = Eden Space + Survivor Space(S0+S1)
-
Old Generation == Tenured Space
-
Heap = Young + Old + Permanent
-
Meta Space: Native memory的一部分,存放类定义(class loaders使用)
-
Code Cache: JIT编译的原生代码(常用代码块)
MemoryPool Metrics
4个值: init,commited,max,used. 三类指标:
- Metaspace
- Code Cache
- Compressed Class Space
GC Metrics: 以Parallel GC为例,含PS Eden Space + PS Survivor Space + PS Old Gen
GC Metrics
3个值:Count、Time、TimePercentage
以Parallel GC为例,含PS Scanvenge + PS MarkSweep