Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
90505801
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看板
提交
90505801
编写于
7月 25, 2008
作者:
N
never
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6717457: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Reviewed-by: kvn
上级
b1646afd
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
4 deletion
+12
-4
src/cpu/x86/vm/stubGenerator_x86_32.cpp
src/cpu/x86/vm/stubGenerator_x86_32.cpp
+3
-3
src/cpu/x86/vm/stubGenerator_x86_64.cpp
src/cpu/x86/vm/stubGenerator_x86_64.cpp
+9
-1
未找到文件。
src/cpu/x86/vm/stubGenerator_x86_32.cpp
浏览文件 @
90505801
...
@@ -779,9 +779,9 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -779,9 +779,9 @@ class StubGenerator: public StubCodeGenerator {
__
shrl
(
end
,
CardTableModRefBS
::
card_shift
);
__
shrl
(
end
,
CardTableModRefBS
::
card_shift
);
__
subl
(
end
,
start
);
// end --> count
__
subl
(
end
,
start
);
// end --> count
__
BIND
(
L_loop
);
__
BIND
(
L_loop
);
ExternalAddress
base
((
address
)
ct
->
byte_map_base
)
;
intptr_t
disp
=
(
intptr_t
)
ct
->
byte_map_base
;
Address
index
(
start
,
count
,
Address
::
times_1
,
0
);
Address
cardtable
(
start
,
count
,
Address
::
times_1
,
disp
);
__
movb
yte
(
ArrayAddress
(
base
,
index
)
,
0
);
__
movb
(
cardtable
,
0
);
__
decrement
(
count
);
__
decrement
(
count
);
__
jcc
(
Assembler
::
greaterEqual
,
L_loop
);
__
jcc
(
Assembler
::
greaterEqual
,
L_loop
);
}
}
...
...
src/cpu/x86/vm/stubGenerator_x86_64.cpp
浏览文件 @
90505801
...
@@ -1222,8 +1222,16 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -1222,8 +1222,16 @@ class StubGenerator: public StubCodeGenerator {
__
shrq
(
end
,
CardTableModRefBS
::
card_shift
);
__
shrq
(
end
,
CardTableModRefBS
::
card_shift
);
__
subq
(
end
,
start
);
// number of bytes to copy
__
subq
(
end
,
start
);
// number of bytes to copy
intptr_t
disp
=
(
intptr_t
)
ct
->
byte_map_base
;
if
(
__
is_simm32
(
disp
))
{
Address
cardtable
(
noreg
,
noreg
,
Address
::
no_scale
,
disp
);
__
lea
(
scratch
,
cardtable
);
}
else
{
ExternalAddress
cardtable
((
address
)
disp
);
__
lea
(
scratch
,
cardtable
);
}
const
Register
count
=
end
;
// 'end' register contains bytes count now
const
Register
count
=
end
;
// 'end' register contains bytes count now
__
lea
(
scratch
,
ExternalAddress
((
address
)
ct
->
byte_map_base
));
__
addq
(
start
,
scratch
);
__
addq
(
start
,
scratch
);
__
BIND
(
L_loop
);
__
BIND
(
L_loop
);
__
movb
(
Address
(
start
,
count
,
Address
::
times_1
),
0
);
__
movb
(
Address
(
start
,
count
,
Address
::
times_1
),
0
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录