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

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.

主站蜘蛛池模板: 明水县| 湖口县| 仙居县| 江西省| 梁山县| 长治县| 黑河市| 自治县| 芷江| 祁门县| 彭州市| 定州市| 长泰县| 桑日县| 杂多县| 正定县| 响水县| 民县| 四川省| 安康市| 土默特右旗| 松潘县| 张家口市| 澄江县| 凭祥市| 汝阳县| 阳城县| 册亨县| 通山县| 丽水市| 玉树县| 应城市| 民权县| 望奎县| 喀什市| 永城市| 沙洋县| 育儿| 百色市| 探索| 章丘市|