WAS JDK 1.5 存在堆碎片吗?
2011-01-06 14:55
78 查看
看到如下的GC信息,
<af type="tenured" id="1410" timestamp="Dec 01 10:57:04 2010"
intervalms="111.788">
<minimum requested_bytes="60088" />
<time exclusiveaccessms="0.094" />
<tenured freebytes="262771784" totalbytes="805306368" percent="32" >
<soa freebytes="113472560" totalbytes="555661824" percent="20" />
<loa freebytes="149299224" totalbytes="249644544" percent="59" />
</tenured>
在请求60088bytes时,触发了GC,尽管soa部分还有110M的空闲
怀疑,WAS 1.5 依旧存在堆碎片
不过有一种解释,还算恰当:
compaction is extremely costly it is avoided for as long as possible.
The behaviour the customer is seeing would point at a fragmented
freelist that would be resolved if compaction were to run. This is a
natural ffragmentation that occurs as you allocate objects of mixed
sizes, the memory manager makes an attempt to allocate objects into free
heap areas best sized to fit them but this is not always possible and
once a larger chunk is split is will not be merged unless when the
allocated object is free its neighboring heap areas do not contain live
objects.
<af type="tenured" id="1410" timestamp="Dec 01 10:57:04 2010"
intervalms="111.788">
<minimum requested_bytes="60088" />
<time exclusiveaccessms="0.094" />
<tenured freebytes="262771784" totalbytes="805306368" percent="32" >
<soa freebytes="113472560" totalbytes="555661824" percent="20" />
<loa freebytes="149299224" totalbytes="249644544" percent="59" />
</tenured>
在请求60088bytes时,触发了GC,尽管soa部分还有110M的空闲
怀疑,WAS 1.5 依旧存在堆碎片
不过有一种解释,还算恰当:
compaction is extremely costly it is avoided for as long as possible.
The behaviour the customer is seeing would point at a fragmented
freelist that would be resolved if compaction were to run. This is a
natural ffragmentation that occurs as you allocate objects of mixed
sizes, the memory manager makes an attempt to allocate objects into free
heap areas best sized to fit them but this is not always possible and
once a larger chunk is split is will not be merged unless when the
allocated object is free its neighboring heap areas do not contain live
objects.
相关文章推荐
- maven编译报错source 1.5 中不支持 switch 中存在字符串
- IBMJDK 1.5中SimpleDateFormat存在性能缺陷,使用FastDateFormat替换之。
- maven 编译报错 java: -source 1.5 中不支持switch 中存在字符串
- maven 编译报错 java: -source 1.5 中不支持switch 中存在字符串
- source 1.5 中不支持 switch 中存在字符串
- Maven install: java: -source 1.5 中不支持switch 中存在字符串
- maven 编译报错 java: -source 1.5 中不支持switch 中存在字符串
- intellij idea 2016 报错 java: -source 1.5 中不支持 switch 中存在字符串
- JDK 1.5中泛型(Generics type)的性能测试再测试
- mysql4存在mysql5没有的性能成绩
- Nginx 的 RTMP 模块的在线统计功能 stat 在 multi-worker 模式下存在 Bug
- 当代孩子存在的主要问题及教育对策
- 用户、组或角色 '用户名' 在当前数据库中已存在
- python判断文件是否存在目录中
- Part of aspects in J2SE 1.5
- 在jQuery 1.5中使用deferred对象的代码(翻译)
- 数如何避免数据存储安全存在五大灾难?
- shell判断文件是否存在
- 交换机缓冲区存在的意义
- 解决Python 爬虫URL中存在中文或特殊符号无法请求的问题