Ad Code

Responsive Advertisement

Quick Suggests :-

6/recent/ticker-posts

Garbage Collection Types in JAVA.

 

Garbage Collection Types in JAVA.

Types of Garbage Collectors,

  • Serial Garbage Collector.
  • Parallel Garbage Collector.
  • Concurrent Mark Sweep (CMS) Garbage Collector.
  • Garbage First (G1) Garbage Collector.

Serial Garbage Collector,

Parallel Garbage Collector,

Concurrent Mark and Sweep (CMS) Garbage Collector,

  • while marking the referenced objects in the tenured generation region.
  • if any change is made to the heap memory in parallel during the garbage collection process.

Note: The JVM argument -XX:+UseConcMarkSweepGC has been deprecated because a warning message is issued when it is requested on the command line.

Garbage First (G1) Garbage Collector,

  • Humongous: It is used if the object sized is large.
  • Available: It represents the unoccupied space.

Stop the World Event.

Improvement in Garbage Collector Since Java 8.

JVM Arguments.

GC Optimization Options.

Usage of JVM GC Options.

Post a Comment

0 Comments