Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
d88aa943
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d88aa943
编写于
2月 14, 2013
作者:
S
sla
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8004840: Jstack seems to output unnecessary information in 7u9
Reviewed-by: dholmes, coleenp, sspitsyn, rbackman
上级
352f6e56
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
2 addition
and
7 deletion
+2
-7
agent/src/share/classes/sun/jvm/hotspot/memory/CMSCollector.java
...rc/share/classes/sun/jvm/hotspot/memory/CMSCollector.java
+2
-4
agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
...sses/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
+0
-1
agent/src/share/classes/sun/jvm/hotspot/oops/MethodData.java
agent/src/share/classes/sun/jvm/hotspot/oops/MethodData.java
+0
-1
agent/src/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
agent/src/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
+0
-1
未找到文件。
agent/src/share/classes/sun/jvm/hotspot/memory/CMSCollector.java
浏览文件 @
d88aa943
...
@@ -61,15 +61,13 @@ public class CMSCollector extends VMObject {
...
@@ -61,15 +61,13 @@ public class CMSCollector extends VMObject {
CMSBitMap
markBitMap
=
markBitMap
();
CMSBitMap
markBitMap
=
markBitMap
();
long
addressSize
=
VM
.
getVM
().
getAddressSize
();
long
addressSize
=
VM
.
getVM
().
getAddressSize
();
if
(
markBitMap
.
isMarked
(
addr
)
&&
markBitMap
.
isMarked
(
addr
.
addOffsetTo
(
1
*
addressSize
))
)
{
if
(
markBitMap
.
isMarked
(
addr
)
&&
markBitMap
.
isMarked
(
addr
.
addOffsetTo
(
1
*
addressSize
))
)
{
System
.
err
.
println
(
"Printezis bits are set..."
);
Address
nextOneAddr
=
markBitMap
.
getNextMarkedWordAddress
(
addr
.
addOffsetTo
(
2
*
addressSize
));
Address
nextOneAddr
=
markBitMap
.
getNextMarkedWordAddress
(
addr
.
addOffsetTo
(
2
*
addressSize
));
//return size in bytes
//return size in bytes
long
size
=
(
nextOneAddr
.
addOffsetTo
(
1
*
addressSize
)).
minus
(
addr
);
long
size
=
(
nextOneAddr
.
addOffsetTo
(
1
*
addressSize
)).
minus
(
addr
);
return
size
;
return
size
;
}
else
{
}
else
{
//missing Printezis marks
//missing Printezis marks
System
.
err
.
println
(
"Missing Printszis marks..."
);
return
-
1
;
return
-
1
;
}
}
}
}
...
...
agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
浏览文件 @
d88aa943
...
@@ -191,7 +191,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
...
@@ -191,7 +191,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
//Find the object size using Printezis bits and skip over
//Find the object size using Printezis bits and skip over
long
size
=
collector
().
blockSizeUsingPrintezisBits
(
cur
);
long
size
=
collector
().
blockSizeUsingPrintezisBits
(
cur
);
if
(
size
==
-
1
)
{
if
(
size
==
-
1
)
{
System
.
err
.
println
(
"Printezis bits not set..."
);
break
;
break
;
}
}
cur
=
cur
.
addOffsetTo
(
adjustObjectSizeInBytes
(
size
));
cur
=
cur
.
addOffsetTo
(
adjustObjectSizeInBytes
(
size
));
...
...
agent/src/share/classes/sun/jvm/hotspot/oops/MethodData.java
浏览文件 @
d88aa943
...
@@ -184,7 +184,6 @@ public class MethodData extends Metadata {
...
@@ -184,7 +184,6 @@ public class MethodData extends Metadata {
if
(
trapReasonName
[
index
]
==
null
)
{
if
(
trapReasonName
[
index
]
==
null
)
{
throw
new
InternalError
(
"missing reason for "
+
index
);
throw
new
InternalError
(
"missing reason for "
+
index
);
}
}
System
.
out
.
println
(
trapReasonName
[
index
]);
}
}
}
}
...
...
agent/src/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
浏览文件 @
d88aa943
...
@@ -335,7 +335,6 @@ public class ObjectHeap {
...
@@ -335,7 +335,6 @@ public class ObjectHeap {
}
}
if
(
obj
==
null
)
{
if
(
obj
==
null
)
{
//Find the object size using Printezis bits and skip over
//Find the object size using Printezis bits and skip over
System
.
err
.
println
(
"Finding object size using Printezis bits and skipping over..."
);
long
size
=
0
;
long
size
=
0
;
if
(
(
cmsSpaceOld
!=
null
)
&&
cmsSpaceOld
.
contains
(
handle
)
){
if
(
(
cmsSpaceOld
!=
null
)
&&
cmsSpaceOld
.
contains
(
handle
)
){
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录