Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f3162c5c
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看板
提交
f3162c5c
编写于
8月 07, 2014
作者:
H
hseigel
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
81a6810d
63989a68
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
13 deletion
+10
-13
src/share/vm/c1/c1_LinearScan.cpp
src/share/vm/c1/c1_LinearScan.cpp
+10
-13
未找到文件。
src/share/vm/c1/c1_LinearScan.cpp
浏览文件 @
f3162c5c
...
...
@@ -1628,25 +1628,22 @@ void LinearScan::allocate_registers() {
Interval
*
precolored_cpu_intervals
,
*
not_precolored_cpu_intervals
;
Interval
*
precolored_fpu_intervals
,
*
not_precolored_fpu_intervals
;
create_unhandled_lists
(
&
precolored_cpu_intervals
,
&
not_precolored_cpu_intervals
,
is_precolored_cpu_interval
,
is_virtual_cpu_interval
);
if
(
has_fpu_registers
())
{
create_unhandled_lists
(
&
precolored_fpu_intervals
,
&
not_precolored_fpu_intervals
,
is_precolored_fpu_interval
,
is_virtual_fpu_interval
);
#ifdef ASSERT
}
else
{
// fpu register allocation is omitted because no virtual fpu registers are present
// just check this again...
create_unhandled_lists
(
&
precolored_fpu_intervals
,
&
not_precolored_fpu_intervals
,
is_precolored_fpu_interval
,
is_virtual_fpu_interval
);
assert
(
not_precolored_fpu_intervals
==
Interval
::
end
(),
"missed an uncolored fpu interval"
);
#endif
}
// allocate cpu registers
create_unhandled_lists
(
&
precolored_cpu_intervals
,
&
not_precolored_cpu_intervals
,
is_precolored_cpu_interval
,
is_virtual_cpu_interval
);
// allocate fpu registers
create_unhandled_lists
(
&
precolored_fpu_intervals
,
&
not_precolored_fpu_intervals
,
is_precolored_fpu_interval
,
is_virtual_fpu_interval
);
// the fpu interval allocation cannot be moved down below with the fpu section as
// the cpu_lsw.walk() changes interval positions.
LinearScanWalker
cpu_lsw
(
this
,
precolored_cpu_intervals
,
not_precolored_cpu_intervals
);
cpu_lsw
.
walk
();
cpu_lsw
.
finish_allocation
();
if
(
has_fpu_registers
())
{
// allocate fpu registers
LinearScanWalker
fpu_lsw
(
this
,
precolored_fpu_intervals
,
not_precolored_fpu_intervals
);
fpu_lsw
.
walk
();
fpu_lsw
.
finish_allocation
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录