Serial collector: A new generation single-threaded collector that uses a copy algorithm for recycling. While it's garbage collecting, all threads from other users will be paused.
Serial Old Collector: The old generation version of Serial uses the mark-clear algorithm and is also a single-threaded collector.
ParNew collector: ParNew collector is actually a multi-threaded version of Serial. Except for multi-threaded garbage collection, the rest including collection algorithm (copy algorithm), object allocation rules, recycling strategy, etc. are exactly the same as Serial collector.
Parallel Scavenge collector: It is a new generation collector that uses a copy algorithm and is a parallel multi-threaded collector. This collector is designed to improve the throughput of the system (time to run user code/(running time) User code time + garbage collection time)), so the Parallel Scavenger collector is also called the "throughput first" collector.
Parallel Old Collector: It is the old generation version of Parallel Scavenge Collector, using the ‘mark-clear’ algorithm.
CMS Collector: Pays special attention to the response speed of user services, and hopes that the system pause time will be the shortest to provide users with a better experience. Concurrent collection, low pause. Instead, a ‘mark-and-sweep’ algorithm is used.
G1 collector: one of the most cutting-edge technologies in the development of current collector technology
Parallel and concurrent methods;
The generational collection used can manage the entire GC heap independently without cooperating with other collectors;
Spatial integration: On the whole, G1 uses a 'mark-organize' algorithm, but partially it is based on a 'copy' algorithm. But in any case, both algorithms mean that the G1 algorithm will not generate memory space fragmentation, and can provide regular available memory after collection.
Operation steps: initial marking; concurrent marking; final marking; screening and recycling.
Remarks:
Concurrency: The garbage collection thread can be executed at the same time as the user thread
Parallel: There can be multiple garbage collection threads, but the user thread at this time is still in a waiting state.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor

Dreamweaver CS6
Visual web development tools

WebStorm Mac version
Useful JavaScript development tools
