1

I noticed, that in my java GC sometimes I find lines like that:

[2025-01-02T09:22:50.244+0100][1670644.559s][info][gc,cpu ] GC(152394) User=0.05s Sys=0.00s Real=0.01s [2025-01-02T09:22:50.245+0100][1670644.559s][info][safepoint ] Safepoint "G1CollectForAllocation", Time since last: 5772062686 ns, Reaching safepoint: 105801 ns, Cleanup: 4600 ns, At safepoint: 8995359 ns, Total: 9105760 ns [2025-01-02T09:22:54.057+0100][1670648.372s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3793111228 ns, Reaching safepoint: 143301 ns, Cleanup: 4600 ns, At safepoint: 19444328 ns, Total: 19592229 ns [2025-01-02T09:22:57.683+0100][1670651.998s][info][gc,start ] GC(152395) Pause Young (Normal) (G1 Evacuation Pause) [2025-01-02T09:22:57.683+0100][1670651.998s][info][gc,task ] GC(152395) Using 9 workers of 9 for evacuation [2025-01-02T09:22:57.691+0100][1670652.006s][info][gc,phases ] GC(152395) Pre Evacuate Collection Set: 0.4ms [2025-01-02T09:22:57.691+0100][1670652.006s][info][gc,phases ] GC(152395) Merge Heap Roots: 0.3ms [2025-01-02T09:22:57.691+0100][1670652.006s][info][gc,phases ] GC(152395) Evacuate Collection Set: 6.1ms [2025-01-02T09:22:57.691+0100][1670652.006s][info][gc,phases ] GC(152395) Post Evacuate Collection Set: 1.0ms [2025-01-02T09:22:57.691+0100][1670652.006s][info][gc,phases ] GC(152395) Other: 0.4ms 

Unfortunately sometimes it is an enormous number of lines like that: [2025-01-02T09:22:54.057+0100][1670648.372s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3793111228 ns, Reaching safepoint: 143301 ns, Cleanup: 4600 ns, At safepoint: 19444328 ns, Total: 19592229 ns

[2025-01-02T09:49:23.221+0100][1672237.535s][info][safepoint ] Safepoint "G1CollectForAllocation", Time since last: 7275478734 ns, Reaching safepoint: 136001 ns, Cleanup: 10900 ns, At safepoint: 7779448 ns, Total: 7926349 ns [2025-01-02T09:49:25.917+0100][1672240.232s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2680736178 ns, Reaching safepoint: 82100 ns, Cleanup: 4800 ns, At safepoint: 15700399 ns, Total: 15787299 ns [2025-01-02T09:49:25.991+0100][1672240.306s][info][safepoint ] Safepoint "ThreadDump", Time since last: 57400959 ns, Reaching safepoint: 93800 ns, Cleanup: 9300 ns, At safepoint: 16705405 ns, Total: 16808505 ns [2025-01-02T09:49:26.018+0100][1672240.333s][info][safepoint ] Safepoint "ThreadDump", Time since last: 232802 ns, Reaching safepoint: 9721560 ns, Cleanup: 6800 ns, At safepoint: 16816206 ns, Total: 26544566 ns [2025-01-02T09:49:26.049+0100][1672240.364s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2501015 ns, Reaching safepoint: 8837056 ns, Cleanup: 7400 ns, At safepoint: 19835324 ns, Total: 28679780 ns [2025-01-02T09:49:26.094+0100][1672240.409s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2113613 ns, Reaching safepoint: 9913862 ns, Cleanup: 6800 ns, At safepoint: 32684505 ns, Total: 42605167 ns [2025-01-02T09:49:26.115+0100][1672240.429s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1004206 ns, Reaching safepoint: 151201 ns, Cleanup: 4200 ns, At safepoint: 19454522 ns, Total: 19609923 ns [2025-01-02T09:49:26.146+0100][1672240.461s][info][safepoint ] Safepoint "ThreadDump", Time since last: 741004 ns, Reaching safepoint: 9891462 ns, Cleanup: 8200 ns, At safepoint: 20979832 ns, Total: 30879494 ns [2025-01-02T09:49:26.183+0100][1672240.498s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3487321 ns, Reaching safepoint: 9598260 ns, Cleanup: 7801 ns, At safepoint: 23923649 ns, Total: 33529710 ns [2025-01-02T09:49:26.221+0100][1672240.536s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3628323 ns, Reaching safepoint: 11759774 ns, Cleanup: 6000 ns, At safepoint: 22245839 ns, Total: 34011613 ns [2025-01-02T09:49:26.246+0100][1672240.561s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3433721 ns, Reaching safepoint: 153601 ns, Cleanup: 3800 ns, At safepoint: 21366334 ns, Total: 21523735 ns [2025-01-02T09:49:26.287+0100][1672240.601s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3606623 ns, Reaching safepoint: 11788273 ns, Cleanup: 6400 ns, At safepoint: 25121558 ns, Total: 36916231 ns [2025-01-02T09:49:26.309+0100][1672240.623s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2495915 ns, Reaching safepoint: 112301 ns, Cleanup: 4200 ns, At safepoint: 19405321 ns, Total: 19521822 ns [2025-01-02T09:49:26.344+0100][1672240.659s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6109439 ns, Reaching safepoint: 7531247 ns, Cleanup: 6800 ns, At safepoint: 21944437 ns, Total: 29482484 ns [2025-01-02T09:49:26.377+0100][1672240.692s][info][safepoint ] Safepoint "ThreadDump", Time since last: 12862781 ns, Reaching safepoint: 127600 ns, Cleanup: 23201 ns, At safepoint: 20030625 ns, Total: 20181426 ns [2025-01-02T09:49:26.414+0100][1672240.729s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4393027 ns, Reaching safepoint: 10725868 ns, Cleanup: 7000 ns, At safepoint: 21865536 ns, Total: 32598404 ns [2025-01-02T09:49:26.435+0100][1672240.749s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1134508 ns, Reaching safepoint: 83900 ns, Cleanup: 4100 ns, At safepoint: 19442422 ns, Total: 19530422 ns [2025-01-02T09:49:26.475+0100][1672240.790s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2384915 ns, Reaching safepoint: 10771867 ns, Cleanup: 7700 ns, At safepoint: 27309371 ns, Total: 38088938 ns [2025-01-02T09:49:26.502+0100][1672240.816s][info][safepoint ] Safepoint "ThreadDump", Time since last: 452403 ns, Reaching safepoint: 121001 ns, Cleanup: 4600 ns, At safepoint: 25621760 ns, Total: 25747361 ns [2025-01-02T09:49:26.539+0100][1672240.854s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6170439 ns, Reaching safepoint: 8704354 ns, Cleanup: 13400 ns, At safepoint: 23057245 ns, Total: 31774999 ns [2025-01-02T09:49:26.583+0100][1672240.898s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1955212 ns, Reaching safepoint: 11865674 ns, Cleanup: 6500 ns, At safepoint: 29982588 ns, Total: 41854762 ns [2025-01-02T09:49:26.609+0100][1672240.924s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3071619 ns, Reaching safepoint: 79300 ns, Cleanup: 4201 ns, At safepoint: 22487240 ns, Total: 22570741 ns [2025-01-02T09:49:26.650+0100][1672240.965s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4292927 ns, Reaching safepoint: 10692667 ns, Cleanup: 7500 ns, At safepoint: 26208364 ns, Total: 36908531 ns [2025-01-02T09:49:26.694+0100][1672241.008s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2200214 ns, Reaching safepoint: 13099182 ns, Cleanup: 9000 ns, At safepoint: 28089676 ns, Total: 41197858 ns [2025-01-02T09:49:26.719+0100][1672241.034s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2058013 ns, Reaching safepoint: 79700 ns, Cleanup: 4400 ns, At safepoint: 23238746 ns, Total: 23322846 ns [2025-01-02T09:49:26.755+0100][1672241.070s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1264207 ns, Reaching safepoint: 10722068 ns, Cleanup: 6100 ns, At safepoint: 24209651 ns, Total: 34937819 ns [2025-01-02T09:49:26.795+0100][1672241.109s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1743611 ns, Reaching safepoint: 12778380 ns, Cleanup: 6600 ns, At safepoint: 25082757 ns, Total: 37867737 ns [2025-01-02T09:49:26.841+0100][1672241.156s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4653429 ns, Reaching safepoint: 7570448 ns, Cleanup: 6600 ns, At safepoint: 34171513 ns, Total: 41748561 ns [2025-01-02T09:49:26.883+0100][1672241.197s][info][safepoint ] Safepoint "ThreadDump", Time since last: 5587935 ns, Reaching safepoint: 8648355 ns, Cleanup: 6400 ns, At safepoint: 27307071 ns, Total: 35961826 ns [2025-01-02T09:49:26.919+0100][1672241.234s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4836430 ns, Reaching safepoint: 7523147 ns, Cleanup: 6400 ns, At safepoint: 24002350 ns, Total: 31531897 ns [2025-01-02T09:49:26.954+0100][1672241.269s][info][safepoint ] Safepoint "ThreadDump", Time since last: 11548672 ns, Reaching safepoint: 171501 ns, Cleanup: 4200 ns, At safepoint: 23687049 ns, Total: 23862750 ns [2025-01-02T09:49:26.980+0100][1672241.294s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1595710 ns, Reaching safepoint: 151301 ns, Cleanup: 4000 ns, At safepoint: 23543847 ns, Total: 23699148 ns [2025-01-02T09:49:27.031+0100][1672241.346s][info][safepoint ] Safepoint "ThreadDump", Time since last: 11559372 ns, Reaching safepoint: 13837687 ns, Cleanup: 8600 ns, At safepoint: 26129364 ns, Total: 39975651 ns [2025-01-02T09:49:27.057+0100][1672241.371s][info][safepoint ] Safepoint "ThreadDump", Time since last: 790905 ns, Reaching safepoint: 123500 ns, Cleanup: 4300 ns, At safepoint: 24510954 ns, Total: 24638754 ns [2025-01-02T09:49:27.102+0100][1672241.417s][info][safepoint ] Safepoint "ThreadDump", Time since last: 16210801 ns, Reaching safepoint: 325202 ns, Cleanup: 8400 ns, At safepoint: 28779680 ns, Total: 29113282 ns [2025-01-02T09:49:27.148+0100][1672241.462s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3079020 ns, Reaching safepoint: 13258783 ns, Cleanup: 6900 ns, At safepoint: 29434184 ns, Total: 42699867 ns [2025-01-02T09:49:27.184+0100][1672241.498s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1819111 ns, Reaching safepoint: 4368028 ns, Cleanup: 8900 ns, At safepoint: 29608885 ns, Total: 33985813 ns [2025-01-02T09:49:27.239+0100][1672241.554s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2740517 ns, Reaching safepoint: 13991088 ns, Cleanup: 7200 ns, At safepoint: 38654742 ns, Total: 52653030 ns [2025-01-02T09:49:27.272+0100][1672241.586s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6281839 ns, Reaching safepoint: 83601 ns, Cleanup: 3500 ns, At safepoint: 26245264 ns, Total: 26332365 ns [2025-01-02T09:49:27.314+0100][1672241.629s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6761142 ns, Reaching safepoint: 8509653 ns, Cleanup: 7400 ns, At safepoint: 27470272 ns, Total: 35987325 ns [2025-01-02T09:49:27.341+0100][1672241.656s][info][safepoint ] Safepoint "ThreadDump", Time since last: 963806 ns, Reaching safepoint: 252802 ns, Cleanup: 4400 ns, At safepoint: 25837462 ns, Total: 26094664 ns [2025-01-02T09:49:27.385+0100][1672241.700s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1914312 ns, Reaching safepoint: 13792086 ns, Cleanup: 6900 ns, At safepoint: 28150876 ns, Total: 41949862 ns [2025-01-02T09:49:27.438+0100][1672241.753s][info][safepoint ] Safepoint "ThreadDump", Time since last: 5912637 ns, Reaching safepoint: 14843293 ns, Cleanup: 7200 ns, At safepoint: 32295502 ns, Total: 47145995 ns [2025-01-02T09:49:27.491+0100][1672241.806s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6005038 ns, Reaching safepoint: 12668779 ns, Cleanup: 7100 ns, At safepoint: 34263815 ns, Total: 46939694 ns [2025-01-02T09:49:27.538+0100][1672241.853s][info][safepoint ] Safepoint "ThreadDump", Time since last: 659404 ns, Reaching safepoint: 15928099 ns, Cleanup: 6700 ns, At safepoint: 30610492 ns, Total: 46545291 ns [2025-01-02T09:49:27.577+0100][1672241.892s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4558029 ns, Reaching safepoint: 82900 ns, Cleanup: 3300 ns, At safepoint: 34064713 ns, Total: 34150913 ns [2025-01-02T09:49:27.626+0100][1672241.941s][info][safepoint ] Safepoint "ThreadDump", Time since last: 740405 ns, Reaching safepoint: 17081407 ns, Cleanup: 7100 ns, At safepoint: 31347896 ns, Total: 48436403 ns [2025-01-02T09:49:27.657+0100][1672241.971s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1609910 ns, Reaching safepoint: 88701 ns, Cleanup: 8700 ns, At safepoint: 28771580 ns, Total: 28868981 ns [2025-01-02T09:49:27.689+0100][1672242.004s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3014419 ns, Reaching safepoint: 92600 ns, Cleanup: 73201 ns, At safepoint: 29082682 ns, Total: 29248483 ns [2025-01-02T09:49:27.736+0100][1672242.050s][info][safepoint ] Safepoint "ThreadDump", Time since last: 8881755 ns, Reaching safepoint: 6437841 ns, Cleanup: 7600 ns, At safepoint: 31089194 ns, Total: 37534635 ns [2025-01-02T09:49:27.776+0100][1672242.090s][info][safepoint ] Safepoint "ThreadDump", Time since last: 9919562 ns, Reaching safepoint: 148801 ns, Cleanup: 8500 ns, At safepoint: 30013188 ns, Total: 30170489 ns [2025-01-02T09:49:27.839+0100][1672242.154s][info][safepoint ] Safepoint "ThreadDump", Time since last: 11331171 ns, Reaching safepoint: 9737561 ns, Cleanup: 7300 ns, At safepoint: 42585167 ns, Total: 52330028 ns [2025-01-02T09:49:27.874+0100][1672242.188s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4063125 ns, Reaching safepoint: 117301 ns, Cleanup: 3800 ns, At safepoint: 30160089 ns, Total: 30281190 ns [2025-01-02T09:49:27.912+0100][1672242.226s][info][safepoint ] Safepoint "ThreadDump", Time since last: 7886549 ns, Reaching safepoint: 131301 ns, Cleanup: 5300 ns, At safepoint: 29886987 ns, Total: 30023588 ns [2025-01-02T09:49:27.964+0100][1672242.278s][info][safepoint ] Safepoint "ThreadDump", Time since last: 12407277 ns, Reaching safepoint: 8049151 ns, Cleanup: 8100 ns, At safepoint: 31690898 ns, Total: 39748149 ns [2025-01-02T09:49:28.023+0100][1672242.337s][info][safepoint ] Safepoint "ThreadDump", Time since last: 5632435 ns, Reaching safepoint: 16079401 ns, Cleanup: 6200 ns, At safepoint: 37317034 ns, Total: 53402635 ns [2025-01-02T09:49:28.052+0100][1672242.367s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1288908 ns, Reaching safepoint: 103100 ns, Cleanup: 4200 ns, At safepoint: 28353378 ns, Total: 28460678 ns [2025-01-02T09:49:28.100+0100][1672242.415s][info][safepoint ] Safepoint "ThreadDump", Time since last: 7937650 ns, Reaching safepoint: 6414440 ns, Cleanup: 5200 ns, At safepoint: 33133807 ns, Total: 39553447 ns [2025-01-02T09:49:28.148+0100][1672242.463s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1594310 ns, Reaching safepoint: 14936194 ns, Cleanup: 8000 ns, At safepoint: 31816299 ns, Total: 46760493 ns [2025-01-02T09:49:28.183+0100][1672242.497s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3754523 ns, Reaching safepoint: 265302 ns, Cleanup: 4400 ns, At safepoint: 30267189 ns, Total: 30536891 ns [2025-01-02T09:49:28.234+0100][1672242.548s][info][safepoint ] Safepoint "ThreadDump", Time since last: 10107764 ns, Reaching safepoint: 494003 ns, Cleanup: 12800 ns, At safepoint: 40493753 ns, Total: 41000556 ns [2025-01-02T09:49:28.293+0100][1672242.608s][info][safepoint ] Safepoint "ThreadDump", Time since last: 14928394 ns, Reaching safepoint: 6616041 ns, Cleanup: 7700 ns, At safepoint: 37905537 ns, Total: 44529278 ns [2025-01-02T09:49:28.352+0100][1672242.667s][info][safepoint ] Safepoint "ThreadDump", Time since last: 11001369 ns, Reaching safepoint: 14951994 ns, Cleanup: 6300 ns, At safepoint: 33325208 ns, Total: 48283502 ns [2025-01-02T09:49:28.391+0100][1672242.705s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3364621 ns, Reaching safepoint: 1145308 ns, Cleanup: 5100 ns, At safepoint: 33644310 ns, Total: 34794718 ns [2025-01-02T09:49:28.495+0100][1672242.810s][info][safepoint ] Safepoint "ThreadDump", Time since last: 68367228 ns, Reaching safepoint: 395403 ns, Cleanup: 5800 ns, At safepoint: 35534322 ns, Total: 35935525 ns [2025-01-02T09:49:28.576+0100][1672242.891s][info][safepoint ] Safepoint "ThreadDump", Time since last: 30074888 ns, Reaching safepoint: 14044888 ns, Cleanup: 7900 ns, At safepoint: 36992232 ns, Total: 51045020 ns [2025-01-02T09:49:28.611+0100][1672242.925s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3531822 ns, Reaching safepoint: 89400 ns, Cleanup: 4100 ns, At safepoint: 30945094 ns, Total: 31038594 ns [2025-01-02T09:49:28.665+0100][1672242.979s][info][safepoint ] Safepoint "ThreadDump", Time since last: 5000831 ns, Reaching safepoint: 14937194 ns, Cleanup: 7600 ns, At safepoint: 34230514 ns, Total: 49175308 ns [2025-01-02T09:49:28.725+0100][1672243.040s][info][safepoint ] Safepoint "ThreadDump", Time since last: 12672979 ns, Reaching safepoint: 11832874 ns, Cleanup: 8101 ns, At safepoint: 35812824 ns, Total: 47653799 ns [2025-01-02T09:49:28.763+0100][1672243.078s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1417209 ns, Reaching safepoint: 5348833 ns, Cleanup: 7400 ns, At safepoint: 31443997 ns, Total: 36800230 ns [2025-01-02T09:49:28.795+0100][1672243.110s][info][safepoint ] Safepoint "ThreadDump", Time since last: 476603 ns, Reaching safepoint: 179701 ns, Cleanup: 8000 ns, At safepoint: 31422597 ns, Total: 31610298 ns [2025-01-02T09:49:28.857+0100][1672243.171s][info][safepoint ] Safepoint "ThreadDump", Time since last: 16609404 ns, Reaching safepoint: 5401633 ns, Cleanup: 7400 ns, At safepoint: 39253546 ns, Total: 44662579 ns [2025-01-02T09:49:28.932+0100][1672243.247s][info][safepoint ] Safepoint "ThreadDump", Time since last: 22164039 ns, Reaching safepoint: 15015394 ns, Cleanup: 27800 ns, At safepoint: 38558541 ns, Total: 53601735 ns [2025-01-02T09:49:28.995+0100][1672243.310s][info][safepoint ] Safepoint "ThreadDump", Time since last: 6734742 ns, Reaching safepoint: 18356415 ns, Cleanup: 7700 ns, At safepoint: 37366534 ns, Total: 55730649 ns [2025-01-02T09:49:29.076+0100][1672243.390s][info][safepoint ] Safepoint "ThreadDump", Time since last: 24954656 ns, Reaching safepoint: 17140908 ns, Cleanup: 7700 ns, At safepoint: 38565841 ns, Total: 55714449 ns [2025-01-02T09:49:29.115+0100][1672243.430s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2902018 ns, Reaching safepoint: 233902 ns, Cleanup: 4700 ns, At safepoint: 36393628 ns, Total: 36632230 ns [2025-01-02T09:49:29.188+0100][1672243.503s][info][safepoint ] Safepoint "ThreadDump", Time since last: 13372383 ns, Reaching safepoint: 22325640 ns, Cleanup: 7400 ns, At safepoint: 37379634 ns, Total: 59712674 ns [2025-01-02T09:49:29.234+0100][1672243.549s][info][safepoint ] Safepoint "ThreadDump", Time since last: 9546960 ns, Reaching safepoint: 224601 ns, Cleanup: 3900 ns, At safepoint: 36464328 ns, Total: 36692829 ns [2025-01-02T09:49:29.309+0100][1672243.623s][info][safepoint ] Safepoint "ThreadDump", Time since last: 29715186 ns, Reaching safepoint: 7457747 ns, Cleanup: 5800 ns, At safepoint: 36938031 ns, Total: 44401578 ns [2025-01-02T09:49:29.350+0100][1672243.665s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4572129 ns, Reaching safepoint: 174301 ns, Cleanup: 8000 ns, At safepoint: 36986031 ns, Total: 37168332 ns [2025-01-02T09:49:29.436+0100][1672243.750s][info][safepoint ] Safepoint "ThreadDump", Time since last: 23945850 ns, Reaching safepoint: 18153614 ns, Cleanup: 9300 ns, At safepoint: 43233471 ns, Total: 61396385 ns [2025-01-02T09:49:29.509+0100][1672243.824s][info][safepoint ] Safepoint "ThreadDump", Time since last: 12662879 ns, Reaching safepoint: 13844786 ns, Cleanup: 20501 ns, At safepoint: 46818093 ns, Total: 60683380 ns [2025-01-02T09:49:29.563+0100][1672243.878s][info][safepoint ] Safepoint "ThreadDump", Time since last: 10823867 ns, Reaching safepoint: 452903 ns, Cleanup: 5200 ns, At safepoint: 42872869 ns, Total: 43330972 ns [2025-01-02T09:49:29.640+0100][1672243.955s][info][safepoint ] Safepoint "ThreadDump", Time since last: 15673598 ns, Reaching safepoint: 15941799 ns, Cleanup: 7500 ns, At safepoint: 45370084 ns, Total: 61319383 ns [2025-01-02T09:49:29.718+0100][1672244.032s][info][safepoint ] Safepoint "ThreadDump", Time since last: 8584454 ns, Reaching safepoint: 20213627 ns, Cleanup: 6300 ns, At safepoint: 48699504 ns, Total: 68919431 ns [2025-01-02T09:49:29.766+0100][1672244.081s][info][safepoint ] Safepoint "ThreadDump", Time since last: 9859462 ns, Reaching safepoint: 236202 ns, Cleanup: 4500 ns, At safepoint: 38532541 ns, Total: 38773243 ns [2025-01-02T09:49:29.835+0100][1672244.150s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4061625 ns, Reaching safepoint: 21338834 ns, Cleanup: 7500 ns, At safepoint: 43579673 ns, Total: 64926007 ns [2025-01-02T09:49:29.906+0100][1672244.221s][info][safepoint ] Safepoint "ThreadDump", Time since last: 14699892 ns, Reaching safepoint: 12805680 ns, Cleanup: 13300 ns, At safepoint: 43187170 ns, Total: 56006150 ns [2025-01-02T09:49:29.976+0100][1672244.290s][info][safepoint ] Safepoint "ThreadDump", Time since last: 9819562 ns, Reaching safepoint: 19147719 ns, Cleanup: 7200 ns, At safepoint: 40824856 ns, Total: 59979775 ns [2025-01-02T09:49:30.058+0100][1672244.373s][info][safepoint ] Safepoint "ThreadDump", Time since last: 37611735 ns, Reaching safepoint: 202602 ns, Cleanup: 4300 ns, At safepoint: 44664479 ns, Total: 44871381 ns [2025-01-02T09:49:30.145+0100][1672244.460s][info][safepoint ] Safepoint "ThreadDump", Time since last: 29674286 ns, Reaching safepoint: 16038700 ns, Cleanup: 7100 ns, At safepoint: 41408959 ns, Total: 57454759 ns [2025-01-02T09:49:30.216+0100][1672244.530s][info][safepoint ] Safepoint "ThreadDump", Time since last: 26462566 ns, Reaching safepoint: 5394734 ns, Cleanup: 5500 ns, At safepoint: 38243039 ns, Total: 43643273 ns [2025-01-02T09:49:30.292+0100][1672244.607s][info][safepoint ] Safepoint "ThreadDump", Time since last: 19067520 ns, Reaching safepoint: 18064613 ns, Cleanup: 7900 ns, At safepoint: 39288946 ns, Total: 57361459 ns [2025-01-02T09:49:30.342+0100][1672244.656s][info][safepoint ] Safepoint "ThreadDump", Time since last: 10634266 ns, Reaching safepoint: 201901 ns, Cleanup: 6100 ns, At safepoint: 38926344 ns, Total: 39134345 ns [2025-01-02T09:49:30.390+0100][1672244.705s][info][safepoint ] Safepoint "ThreadDump", Time since last: 8417953 ns, Reaching safepoint: 273101 ns, Cleanup: 5300 ns, At safepoint: 39976851 ns, Total: 40255252 ns [2025-01-02T09:49:30.436+0100][1672244.751s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4043025 ns, Reaching safepoint: 221801 ns, Cleanup: 4800 ns, At safepoint: 41305859 ns, Total: 41532460 ns [2025-01-02T09:49:30.520+0100][1672244.835s][info][safepoint ] Safepoint "ThreadDump", Time since last: 18888118 ns, Reaching safepoint: 20466828 ns, Cleanup: 12900 ns, At safepoint: 44576179 ns, Total: 65055907 ns [2025-01-02T09:49:30.593+0100][1672244.907s][info][safepoint ] Safepoint "ThreadDump", Time since last: 24301652 ns, Reaching safepoint: 8564854 ns, Cleanup: 7200 ns, At safepoint: 39998650 ns, Total: 48570704 ns [2025-01-02T09:49:30.687+0100][1672245.001s][info][safepoint ] Safepoint "ThreadDump", Time since last: 32939506 ns, Reaching safepoint: 17220508 ns, Cleanup: 7200 ns, At safepoint: 43619573 ns, Total: 60847281 ns [2025-01-02T09:49:30.752+0100][1672245.067s][info][safepoint ] Safepoint "ThreadDump", Time since last: 10382065 ns, Reaching safepoint: 12056076 ns, Cleanup: 9000 ns, At safepoint: 43234470 ns, Total: 55299546 ns [2025-01-02T09:49:30.800+0100][1672245.115s][info][safepoint ] Safepoint "ThreadDump", Time since last: 7910450 ns, Reaching safepoint: 237701 ns, Cleanup: 5500 ns, At safepoint: 39997151 ns, Total: 40240352 ns [2025-01-02T09:49:30.845+0100][1672245.160s][info][safepoint ] Safepoint "ThreadDump", Time since last: 2642616 ns, Reaching safepoint: 718905 ns, Cleanup: 5500 ns, At safepoint: 41655161 ns, Total: 42379566 ns [2025-01-02T09:49:30.924+0100][1672245.239s][info][safepoint ] Safepoint "ThreadDump", Time since last: 13100081 ns, Reaching safepoint: 19286821 ns, Cleanup: 8800 ns, At safepoint: 46190689 ns, Total: 65486310 ns [2025-01-02T09:49:31.005+0100][1672245.320s][info][safepoint ] Safepoint "ThreadDump", Time since last: 29903387 ns, Reaching safepoint: 8778755 ns, Cleanup: 6400 ns, At safepoint: 42468566 ns, Total: 51253721 ns [2025-01-02T09:49:31.072+0100][1672245.386s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4309327 ns, Reaching safepoint: 20867031 ns, Cleanup: 8300 ns, At safepoint: 41292358 ns, Total: 62167689 ns [2025-01-02T09:49:31.112+0100][1672245.426s][info][safepoint ] Safepoint "ThreadDump", Time since last: 901406 ns, Reaching safepoint: 326502 ns, Cleanup: 8400 ns, At safepoint: 38867343 ns, Total: 39202245 ns [2025-01-02T09:49:31.213+0100][1672245.528s][info][safepoint ] Safepoint "ThreadDump", Time since last: 42707468 ns, Reaching safepoint: 16053600 ns, Cleanup: 9000 ns, At safepoint: 42597067 ns, Total: 58659667 ns [2025-01-02T09:49:31.286+0100][1672245.601s][info][safepoint ] Safepoint "ThreadDump", Time since last: 11267370 ns, Reaching safepoint: 23480647 ns, Cleanup: 7500 ns, At safepoint: 38598542 ns, Total: 62086689 ns [2025-01-02T09:49:31.352+0100][1672245.667s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3397421 ns, Reaching safepoint: 21318133 ns, Cleanup: 7301 ns, At safepoint: 40933956 ns, Total: 62259390 ns [2025-01-02T09:49:31.394+0100][1672245.709s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3138219 ns, Reaching safepoint: 593704 ns, Cleanup: 4400 ns, At safepoint: 38443041 ns, Total: 39041145 ns [2025-01-02T09:49:31.479+0100][1672245.793s][info][safepoint ] Safepoint "ThreadDump", Time since last: 24300252 ns, Reaching safepoint: 16774805 ns, Cleanup: 6700 ns, At safepoint: 43273871 ns, Total: 60055376 ns [2025-01-02T09:49:31.527+0100][1672245.842s][info][safepoint ] Safepoint "ThreadDump", Time since last: 7064745 ns, Reaching safepoint: 208001 ns, Cleanup: 4100 ns, At safepoint: 41255559 ns, Total: 41467660 ns [2025-01-02T09:49:31.571+0100][1672245.886s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3198720 ns, Reaching safepoint: 236402 ns, Cleanup: 4100 ns, At safepoint: 40365653 ns, Total: 40606155 ns [2025-01-02T09:49:31.659+0100][1672245.974s][info][safepoint ] Safepoint "ThreadDump", Time since last: 27550673 ns, Reaching safepoint: 17010607 ns, Cleanup: 13100 ns, At safepoint: 43833476 ns, Total: 60857183 ns [2025-01-02T09:49:31.711+0100][1672246.025s][info][safepoint ] Safepoint "ThreadDump", Time since last: 14225389 ns, Reaching safepoint: 244002 ns, Cleanup: 4600 ns, At safepoint: 36767231 ns, Total: 37015833 ns [2025-01-02T09:49:31.779+0100][1672246.094s][info][safepoint ] Safepoint "ThreadDump", Time since last: 3381821 ns, Reaching safepoint: 22345641 ns, Cleanup: 7400 ns, At safepoint: 43079670 ns, Total: 65432711 ns [2025-01-02T09:49:31.820+0100][1672246.135s][info][safepoint ] Safepoint "ThreadDump", Time since last: 1330509 ns, Reaching safepoint: 270901 ns, Cleanup: 4600 ns, At safepoint: 39050546 ns, Total: 39326047 ns [2025-01-02T09:49:31.883+0100][1672246.198s][info][safepoint ] Safepoint "ThreadDump", Time since last: 595203 ns, Reaching safepoint: 19208121 ns, Cleanup: 7200 ns, At safepoint: 43024171 ns, Total: 62239492 ns [2025-01-02T09:49:31.961+0100][1672246.275s][info][safepoint ] Safepoint "ThreadDump", Time since last: 23322846 ns, Reaching safepoint: 14894094 ns, Cleanup: 6900 ns, At safepoint: 39407347 ns, Total: 54308341 ns [2025-01-02T09:49:32.023+0100][1672246.338s][info][safepoint ] Safepoint "ThreadDump", Time since last: 7355447 ns, Reaching safepoint: 13810086 ns, Cleanup: 6100 ns, At safepoint: 41632662 ns, Total: 55448848 ns [2025-01-02T09:49:32.093+0100][1672246.408s][info][safepoint ] Safepoint "ThreadDump", Time since last: 4735830 ns, Reaching safepoint: 18181914 ns, Cleanup: 7300 ns, At safepoint: 46905895 ns, Total: 65095109 ns [2025-01-02T09:49:32.627+0100][1672246.941s][info][gc,start ] GC(152625) Pause Young (Normal) (G1 Evacuation Pause) [2025-01-02T09:49:32.627+0100][1672246.941s][info][gc,task ] GC(152625) Using 9 workers of 9 for evacuation [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,phases ] GC(152625) Pre Evacuate Collection Set: 0.3ms [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,phases ] GC(152625) Merge Heap Roots: 0.3ms [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,phases ] GC(152625) Evacuate Collection Set: 9.5ms [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,phases ] GC(152625) Post Evacuate Collection Set: 1.2ms [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,phases ] GC(152625) Other: 3.3ms [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,heap ] GC(152625) Eden regions: 725->0(720) [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,heap ] GC(152625) Survivor regions: 3->8(91) [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,heap ] GC(152625) Old regions: 173->173 [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,heap ] GC(152625) Archive regions: 2->2 [2025-01-02T09:49:32.641+0100][1672246.956s][info][gc,heap ] GC(152625) Humongous regions: 0->0 

In such situation I noticed, that response time of my SpringBoot application is significantly larger.

I do not flushed any thread dumps at theese moments.

EDIT: jvm parameters: java -Dcom.sun.management.jmxremote.host=localhost -Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.rmi.port=7091 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=etc/jmxremote.access -Dcom.sun.management.jmxremote.password.file=etc/jmxremote.password -Dcom.sun.management.jmxremote.ssl=false -Xlog:gc*,safepoint:file=/app/log/GC.log:tags,time,uptime,level:filecount=16,filesize=32M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/app/dump/MemoryDump.hprof -Xmx10G -jar app.jar

At the time of occurrence of "Safepoint "ThreadDump"" I didn't try to connect any jmx tool.

Have you any idea what can be reason of such JVM behaviour? How can I avoid it?

2
  • 1
    You're likely using a safepoint based (and safepoint biased) profiler. Such profilers are not only inaccurate, they may also cause high overhead, like in your case. Commented Jan 3 at 12:14
  • As mentioned by apangin, you probably want to investigate profilers. Can you show your JVM arguments? Did you attach anything to the JVM? Commented Jan 4 at 8:51

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.