為什麼服務每次啟動都會有兩次間隔時間很短的 CMS併發GC

時間 2021-06-09 20:20:31

1樓:

CMS 日誌, 第一次, 注意到 Initial 展示的已使用明明很小:

55.215: [GC [1 CMS-initial-mark:

257293K(3194880K)] 373536K(5038080K), 0.0145750 secs] [Times: user=0.

02 sys=0.01, real=0.02 secs]

55.230: [CMS-concurrent-mark-start]

55.307: [CMS-concurrent-mark:

0.041/0.077 secs] [Times:

user=0.19 sys=0.00, real=0.

08 secs]

55.307: [CMS-concurrent-preclean-start]

55.314: [CMS-concurrent-preclean:

0.007/0.007 secs] [Times:

user=0.01 sys=0.00, real=0.

00 secs]

55.314: [CMS-concurrent-abortable-preclean-start]

57.469: [CMS-concurrent-abortable-preclean:

1.892/2.155 secs] [Times:

user=4.60 sys=0.47, real=2.

16 secs]

57.469: [GC[YG occupancy:

947351 K (1843200 K)]57.469: [Rescan (parallel) , 0.

0274140 secs]57.497: [weak refs processing, 0.

0007520 secs]57.498: [class unloading, 0.

0073820 secs]57.505: [scrub symbol table, 0.

0225440 secs]57.528: [scrub string table, 0.

0008900 secs] [1 CMS-remark: 257293K(3194880K)] 1204645K(5038080K), 0.0602800 secs] [Times:

user=0.14 sys=0.01, real=0.

06 secs]

57.530: [CMS-concurrent-sweep-start]

57.638: [CMS-concurrent-sweep:

0.102/0.108 secs] [Times:

user=0.20 sys=0.01, real=0.

11 secs]

57.638: [CMS-concurrent-reset-start]

57.653: [CMS-concurrent-reset:

0.015/0.015 secs] [Times:

user=0.01 sys=0.02, real=0.

01 secs]

第二次:

101.074: [GC [1 CMS-initial-mark:

210923K(3194880K)] 1840102K(5038080K), 0.7751030 secs] [Times: user=0.

79 sys=0.00, real=0.77 secs]

101.856: [CMS-concurrent-mark-start]

102.784: [CMS-concurrent-mark:

0.308/0.928 secs] [Times:

user=1.89 sys=0.14, real=0.

93 secs]

102.785: [CMS-concurrent-preclean-start]

102.869: [CMS-concurrent-preclean:

0.038/0.084 secs] [Times:

user=0.12 sys=0.04, real=0.

08 secs]

102.869: [CMS-concurrent-abortable-preclean-start]

CMS: abort preclean due to time 108.947:

[CMS-concurrent-abortable-preclean: 6.012/6.

078 secs] [Times: user=7.16 sys=0.

15, real=6.08 secs]

108.948: [GC[YG occupancy:

1786630 K (1843200 K)]108.948: [Rescan (parallel) , 0.

7789900 secs]109.727: [weak refs processing, 0.

0000360 secs]109.727: [class unloading, 0.

0094410 secs]109.737: [scrub symbol table, 0.

0482810 secs]109.785: [scrub string table, 0.

0016560 secs] [1 CMS-remark: 210923K(3194880K)] 1997553K(5038080K), 0.8404400 secs] [Times:

user=3.08 sys=0.01, real=0.

84 secs]

109.789: [CMS-concurrent-sweep-start]

109.937: [CMS-concurrent-sweep:

0.147/0.147 secs] [Times:

user=0.19 sys=0.00, real=0.

15 secs]

109.937: [CMS-concurrent-reset-start]

109.945: [CMS-concurrent-reset:

0.008/0.008 secs] [Times:

user=0.00 sys=0.00, real=0.

00 secs]

機器的配置是 8 核 8 G

電腦每次都是啟動兩次才亮屏是什麼問題

這個叫二啟,老闆子很常見,我手上的一張p55就有這個問題。導致二啟的原因蠻多的,有的是電池沒電了,有的是電源問題上電不對,還有可能是相容性問題,比如那張p55上單條記憶體的時候就不會出現問題,一旦多條記憶體混插必定二啟。說實話不影響使用的話可以不管,實在難受可以換張主機板試試。 數碼一號站 這個問題...

啤酒製作糖化中為什麼要兩次糖化?為什麼兩次糖化溫度控制有差別?為什麼第一次糖化溫度比第二次糖化溫度低?

太空精釀 啤酒的本質是酵母吃掉糖分,把排洩物 酒精 二氧化碳和風味物質 留在啤酒裡,人類甘之若飴。但是酵母比較作,複雜的糖不願意吃,甚至寧死不吃,只願意從簡單的開始吃。太空精釀 為什麼大公尺不是釀啤酒的首選?而出糖的本質在於將大麥芽中複雜的長鏈澱粉在酶的作用下不斷水解,成為酵母可以直接消化的單醣 雙...

過去十年時間,我每年都會出現一兩次時間加速的感覺,這是什麼疾病?

偶哈呦 我以前也有這種感覺!感激資訊科技的發展以前每次發作我就唱一首慢歌,故意唱很慢,就會慢慢好了,不過我已經好多年沒有出現這種情況了 貝大雪 剛剛又出現了這個感覺 自己給自己計時號了脈,心跳正常 有好幾年沒有這樣過了,第一次是12歲左右,初高中比較頻繁,聽周圍聲音超快,過5分鐘左右就正常了。平時睡...