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

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.
主站蜘蛛池模板: 若羌县| 大名县| 甘肃省| 黑龙江省| 邹平县| 庆安县| 林西县| 陕西省| 定结县| 巫溪县| 图木舒克市| 乡城县| 东宁县| 喀什市| 东安县| 眉山市| 沽源县| 浦县| 贵阳市| 灵丘县| 麻江县| 星座| 永顺县| 恭城| 太仆寺旗| 长葛市| 河津市| 西华县| 舞钢市| 南汇区| 海淀区| 乌兰察布市| 隆子县| 招远市| 搜索| 山东省| 大港区| 丰顺县| 长沙县| 安西县| 息烽县|