官术网_书友最值得收藏!

Parallel full GC for G1 (JEP 307)

Imagine that you are asked to clean every nook and corner of your home, all by yourself, without any help. In this case, for how long will your house will remain inaccessible for others (since you don't want any interruptions while the cleaning is going on)?

Now compare yourself to a single thread and your house to the memory allocated to your JVM. If a single thread performs a full GC, your application will witness worst-case latencies.

G1 GC was made the default GC with Java 9, but with a single thread for full GC. With JEP 307, Java 10 makes full G1 GC parallel to improve application latency.

Let's quickly go through the details of G1, so that JEP 307 makes more sense to you.

主站蜘蛛池模板: 岳普湖县| 宜州市| 新兴县| 定兴县| 潢川县| 鹤壁市| 义乌市| 长兴县| 凌源市| 兴文县| 永春县| 武定县| 旺苍县| 东丰县| 郸城县| 乌恰县| 仪征市| 金坛市| 阿克陶县| 满洲里市| 和田县| 东兰县| 南丰县| 林甸县| 夹江县| 巫溪县| 富平县| 酉阳| 佛学| 德兴市| 扬中市| 焉耆| 额尔古纳市| 秦安县| 军事| 靖安县| 重庆市| 合江县| 株洲县| 高安市| 金溪县|