How to monitor the Java garbage collection mechanism: JPS, Jstack, Jmap, Jhat, Jstat

Source: Internet
Author: User

1.JSTAT-GC 10098

s0c s1c s0u s1u EC EU OC OU MC MU ccsc CCSU YGC YGCT FGC FGCT GCT
56320.0 93184.0 56064.5 0.0 1098240.0 941742.1 479232.0 164843.3 126080.0 122784.3 13952.0 13335.0 28 1.204 4 0 .953 2.157


Heap memory = young generation + old generation + permanent generation
Young generation = Eden Zone + two survivor zones (from and to)

Jstat-options

-class
-compiler
-gc
-gccapacity
-gccause
-gcmetacapacity
-gcnew
-gcnewcapacity
-gcold
-gcoldcapacity
-gcutil
-printcompilation


s0c, s1c, s0u, S1u:survivor 0/1 area Capacity (capacity) and usage (used)
EC, Eu:eden area capacity and usage
OC, OU: Capacity and usage for older generations
PC, PU: Permanent generation capacity and usage Jkd8 after using meta space instead (MC, MU)
YGC, YGT: Young generation GC times and GC time-consuming
FGC, Fgct:full GC times, and full GC time-consuming
GCT:GC Total time-consuming

How to monitor the Java garbage collection mechanism: JPS, Jstack, Jmap, Jhat, Jstat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.