Eclipse starts GC log printing

Source: Internet
Author: User

Add the following parameters to the Eclipse.ini configuration file in the Eclipse root directory:
-VERBOSE:GC (Turn on print garbage collection log)
-xloggc:eclipse_gc.log (Set the file that the garbage collection log prints, the file name can be customized)
-xx:+printgctimestamps (time format when the garbage collection time information is printed)
-xx:+printgcdetails (Print garbage collection details)



GC is typically garbage collected for a zone in the heap space.
The full GC is basically a garbage collection of the entire heap space and the persistence generation, and one of the most common goals of optimization is to minimize the frequency of GC and complete GC.
collector name: Generally referred to as the collector's abbreviation or alias, through the collector name basically can be judged that the area has a GC.
Defnew: The Young Generation (the new generation) has a GC (if defnew, the current JVM is used by the younger generation of the serial collector)
Parnew: The Young Generation (the new generation) has a GC (if parnew, the current JVM younger generation uses a parallel collector)
tenured: The old age of GC
Perm: Persistence generation took place in GC

Eclipse starts GC log printing

Related Article

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.