Deep insight on G1GC
There is always the question of what are the key benefits of G1 that have made it a primary candidate to become the default garbage collection method. G1 is specially created to work on machines that have multiple processors and huge memories available for 64-bit heap sizing.
The G1GC method always attempts to achieve goals for pause time with high probability while still maintaining a very high throughput (GC efficiency) throughout the process of Java applications. This method combines parallelism with concurrency to achieve goals that may be too difficult to be attained with the previous default method of ParallelGC.
The main purpose of introducing the G1GC method is to make the pause times more predictable rather than ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access