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

The design goals of G1 GC

G1 GC was designed to avoid full GC collections. One of the main design goals of G1 was to add predictability and configurability to the duration and distribution of stop-the-world GC pauses.

For instance, with G1 GC, you can specify that the stop-the-world pauses should not be longer than x ms in a y ms time range. A real example of this is by specifying that a stop-the-world pause with a G1 GC should not be more than 8 milliseconds, every 70 seconds. The G1 GC will do its best to meet this performance goal.

However, there could be a mismatch in how you configure these values and the actual pause times with the G1 GC.

A stop-the-world GC pause refers to a state when JVM applications become unresponsive because GC doesn't allow any changes when it is marking or cleaning up memory.
主站蜘蛛池模板: 阜平县| 兴安县| 垦利县| 慈溪市| 武功县| 海兴县| 象山县| 嫩江县| 丹东市| 高邑县| 克拉玛依市| 和顺县| 滨州市| 浦城县| 济南市| 临汾市| 旬阳县| 甘孜县| 双峰县| 涡阳县| 黔东| 兰州市| 上犹县| 互助| 微山县| 定远县| 凌源市| 确山县| 东乡族自治县| 库尔勒市| 象州县| 康保县| 宣恩县| 天柱县| 河津市| 丽水市| 鱼台县| 富民县| 芷江| 唐山市| 罗江县|