Parallel Full GC for G1 - Java 10 New Features.
Improvement in the performance of G1 Garbage Collector for the Java 10. G1 was made the default Garbage Collector in JDK 9. G1 was Introduced in JDK 7.
Page Link : https://techonica.blogspot.in/2018/04...
What it does ?
It efficiently and concurrently deal with very large heaps
Normal GC would divide the heap into young (eden and survivor) and old generation (logical separation)
G1 splits heap into many small regions.
This splitting enables G1 to select a small region to collect and finish quickly
But G1 Fails on Full Garbage Collection. (Not Optimal)
G1 is designed to avoid full garbage collections
But sometimes full garbage collection is inevitable.
Why it is not good at full GC?
Because till JDK 9, G1 uses single thread for full GC.
And Now, in JDK 10, the latest java release G1 uses multi-thread (parallel) for full GC. So now in Java 10, the performance of the G1 Garbage Collector is improved. This is one of the major Java 10 features. So the G1 garbage collector Java 10 has higher performance that G1 garbage collector Java 9.
For Installing, the Java 10 64 bit or Java 10 32 bit, visit the official Oracle website and download.
Website : www.techonica.blogspot.com
credits : www.bensounds.com
On this page of the site you can watch the video online Java 10 Features | Parallel Full GC for G1 | Introduction to Java 10 | Techonica with a duration of hours minute second in good quality, which was uploaded by the user Techonica 01 April 2018, share the link with friends and acquaintances, this video has already been watched 614 times on youtube and it was liked by 5 viewers. Enjoy your viewing!