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