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

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.
主站蜘蛛池模板: 汪清县| 永丰县| 滨州市| 阿瓦提县| 莫力| 安福县| 山东| 汝阳县| 霍城县| 治县。| 霍城县| 巢湖市| 聂拉木县| 南投市| 怀来县| 武宣县| 阿尔山市| 舟山市| 新巴尔虎左旗| 疏勒县| 汪清县| 江西省| 贺州市| 黔西县| 乌鲁木齐县| 陆丰市| 长顺县| 航空| 石嘴山市| 沙湾县| 西安市| 古蔺县| 电白县| 南昌市| 通辽市| 偏关县| 盖州市| 共和县| 卢龙县| 皮山县| 五华县|