Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
4cef28b1
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看板
提交
4cef28b1
编写于
7月 09, 2014
作者:
E
ehelin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
上级
7191e3f7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
4 deletion
+5
-4
src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp
src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp
+1
-1
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
+1
-1
src/share/vm/oops/instanceKlass.cpp
src/share/vm/oops/instanceKlass.cpp
+1
-2
src/share/vm/utilities/array.hpp
src/share/vm/utilities/array.hpp
+2
-0
未找到文件。
src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp
浏览文件 @
4cef28b1
...
...
@@ -169,7 +169,7 @@ G1CodeRootSet::~G1CodeRootSet() {
void
G1CodeRootSet
::
add
(
nmethod
*
method
)
{
if
(
!
contains
(
method
))
{
// Find the first chunk thatisn't full.
// Find the first chunk that
isn't full.
G1CodeRootChunk
*
cur
=
_list
.
head
();
while
(
cur
!=
NULL
)
{
if
(
!
cur
->
is_full
())
{
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
浏览文件 @
4cef28b1
...
...
@@ -5330,7 +5330,7 @@ public:
// Do first pass of code cache cleaning.
_code_cache_task
.
work_first_pass
(
worker_id
);
// Let the threads
,
mark that the first pass is done.
// Let the threads mark that the first pass is done.
_code_cache_task
.
barrier_mark
(
worker_id
);
// Clean the Strings and Symbols.
...
...
src/share/vm/oops/instanceKlass.cpp
浏览文件 @
4cef28b1
...
...
@@ -1969,8 +1969,7 @@ bool InstanceKlass::is_dependent_nmethod(nmethod* nm) {
if
(
nm
==
b
->
get_nmethod
())
{
#ifdef ASSERT
int
count
=
b
->
count
();
assert
(
count
>=
0
,
"Just check if we ever get here 1"
);
assert
(
count
>
0
,
"Just check if we ever get here 2"
);
assert
(
count
>=
0
,
err_msg
(
"count shouldn't be negative: %d"
,
count
));
#endif
return
true
;
}
...
...
src/share/vm/utilities/array.hpp
浏览文件 @
4cef28b1
...
...
@@ -328,6 +328,8 @@ protected:
static
size_t
byte_sizeof
(
int
length
)
{
return
sizeof
(
Array
<
T
>
)
+
MAX2
(
length
-
1
,
0
)
*
sizeof
(
T
);
}
// WhiteBox API helper.
// Can't distinguish between array of length 0 and length 1,
// will always return 0 in those cases.
static
int
bytes_to_length
(
size_t
bytes
)
{
assert
(
is_size_aligned
(
bytes
,
BytesPerWord
),
"Must be, for now"
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录