作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在运行一个应用程序,在 Weblogic 上使用 java 5 和 CMS 垃圾收集器。在垃圾收集日志中,我看到了消息日志,其中大部分消息我可以使用 Sun 的 Java HotSpot 虚拟机中的内存管理文档和这篇有用的博客文章 (https://blogs.oracle.com/poonam/) 来理解。条目/understanding_cms_gc_logs)。
但是,有一些条目是这样的:
124525.178: [Full GC Before GC:
Statistics for BinaryTreeDictionary:
------------------------------------
Total Free Space: 353610889
Max Chunk Size: 353610889
Number of Blocks: 1
Av. Block Size: 353610881
Tree Height: 1
Statistics for IndexedFreeLists:
--------------------------------
Total Free Space: 4190038
Max Chunk Size: 256
Number of Blocks: 37181
Av. Block Size: 119
free=357800921 frag=0.0233
Before GC:
Statistics for BinaryTreeDictionary:
------------------------------------
Total Free Space: 0
Max Chunk Size: 0
Number of Blocks: 0
Tree Height: 0
Statistics for IndexedFreeLists:
--------------------------------
Total Free Space: 0
Max Chunk Size: 0
Number of Blocks: 0
free=0 frag=0.0000
我已经通过 HPjmeter 运行了该文件,似乎没有任何问题,但“full gc”一词让我担心:-)
“GC 之前的 Full GC”是什么意思,它是一个 stop-the-world 事件吗?
最佳答案
您在同一行上看到两条消息 Full GC
意味着它正在启动 Full GC。 Before GC
表示它在启动之前转储系统的状态。
关于java - CMS 垃圾收集日志中的 "Full GC Before GC"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9718930/
我是一名优秀的程序员,十分优秀!