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

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.
主站蜘蛛池模板: 西乌珠穆沁旗| 天台县| 格尔木市| 陵水| 措美县| 临沧市| 渑池县| 湖州市| 霍邱县| 兴和县| 彝良县| 岳西县| 肥乡县| 河池市| 辽阳县| 城口县| 镇坪县| 厦门市| 从江县| 沁水县| 卢氏县| 广州市| 张北县| 涞水县| 铁岭县| 四平市| 巴林左旗| 乐平市| 浦江县| 汽车| 泰来县| 龙南县| 凌海市| 景东| 山西省| 施甸县| 九寨沟县| 固阳县| 梨树县| 九龙城区| 乐都县|