Java thousands asked _07JVM architecture (012) _FULLGC, MINORGC, MAGORGC what is the difference

Source: Internet
Author: User

Click to enter _ more _java thousand ask

1. What is the difference between FULLGC, MINORGC and MAGORGC?

FULLGC, MINORGC, MAGORGC, and YOUNGGC are the Java garbage Processing mechanism (GC) nouns, which are very simple to differentiate:

  1. Laosheng is a garbage cleanup, known as FULLGC or MAGORGC.

  2. A new generation of garbage cleanup, known as YOUNGGC or MINORGC.

Understanding Java garbage Collection mechanism look here: What is the Java garbage collection mechanism

The explanation is complete, but to mention, one of our principles in the JVM optimization process is:

Reduce the frequency of YOUNGGC and reduce the number of FULLGC.

See JVM optimizations here: [How Java Memory optimizes][3]
[3]:

Java thousands asked _07JVM architecture (012) _FULLGC, MINORGC, MAGORGC what is the difference

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.