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

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.
主站蜘蛛池模板: 资溪县| 泊头市| 康定县| 双辽市| 中阳县| 滨海县| 博兴县| 崇仁县| 临城县| 浠水县| 门头沟区| 彝良县| 沧州市| 长丰县| 诸暨市| 湾仔区| 夏邑县| 军事| 乐安县| 广汉市| 红河县| 伊宁市| 沈丘县| 兴山县| 镇雄县| 江华| 辽宁省| 沂南县| 南岸区| 通州市| 什邡市| 武宣县| 金沙县| 三江| 尼木县| 乌恰县| 金湖县| 邢台市| 古交市| 宝鸡市| 聊城市|