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

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.

主站蜘蛛池模板: 沾化县| 望都县| 枣阳市| 安丘市| 井研县| 景泰县| 东光县| 东乡族自治县| 县级市| 高淳县| 秦皇岛市| 玛沁县| 武定县| 玉屏| 西充县| 济宁市| 皋兰县| 青冈县| 牟定县| 扎鲁特旗| 大邑县| 仁寿县| 台江县| 揭阳市| 晋州市| 江都市| 奉新县| 沽源县| 阿坝| 东乡族自治县| 抚远县| 石渠县| 肃北| 普兰县| 巴彦县| 巴楚县| 长汀县| 成武县| 团风县| 曲水县| 曲周县|