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

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.

主站蜘蛛池模板: 泰和县| 沾益县| 鄱阳县| 潼关县| 丽水市| 甘泉县| 文化| 邳州市| 玉屏| 高安市| 普格县| 阿城市| 开封市| 常宁市| 南郑县| 库伦旗| 博爱县| 荣昌县| 五峰| 玛沁县| 周至县| 白河县| 合川市| 佛教| 五家渠市| 东辽县| 子洲县| 贵定县| 惠州市| 宜黄县| 东丰县| 崇礼县| 喜德县| 沂水县| 视频| 安顺市| 赤峰市| 永寿县| 霍林郭勒市| 北宁市| 新龙县|