Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
cfb3122a
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看板
提交
cfb3122a
编写于
9月 22, 2010
作者:
N
never
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6972540: sun/nio/ch/SocketChannelImpl compilation crashed when executing CompileTheWorld
Reviewed-by: kvn
上级
fcdfd13d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
44 addition
and
5 deletion
+44
-5
src/share/vm/c1/c1_LIR.cpp
src/share/vm/c1/c1_LIR.cpp
+1
-0
src/share/vm/c1/c1_LIR.hpp
src/share/vm/c1/c1_LIR.hpp
+37
-3
src/share/vm/c1/c1_LIRGenerator.cpp
src/share/vm/c1/c1_LIRGenerator.cpp
+0
-2
src/share/vm/c1/c1_LinearScan.cpp
src/share/vm/c1/c1_LinearScan.cpp
+6
-0
未找到文件。
src/share/vm/c1/c1_LIR.cpp
浏览文件 @
cfb3122a
...
...
@@ -211,6 +211,7 @@ void LIR_OprDesc::validate_type() const {
case
T_BYTE
:
case
T_SHORT
:
case
T_INT
:
case
T_ADDRESS
:
case
T_OBJECT
:
case
T_ARRAY
:
assert
((
kind_field
()
==
cpu_register
||
kind_field
()
==
stack_value
)
&&
...
...
src/share/vm/c1/c1_LIR.hpp
浏览文件 @
cfb3122a
...
...
@@ -280,7 +280,7 @@ class LIR_OprDesc: public CompilationResourceObj {
,
int_type
=
1
<<
type_shift
,
long_type
=
2
<<
type_shift
,
object_type
=
3
<<
type_shift
,
pointer
_type
=
4
<<
type_shift
,
address
_type
=
4
<<
type_shift
,
float_type
=
5
<<
type_shift
,
double_type
=
6
<<
type_shift
};
...
...
@@ -303,6 +303,7 @@ class LIR_OprDesc: public CompilationResourceObj {
case
T_BYTE
:
case
T_SHORT
:
case
T_INT
:
case
T_ADDRESS
:
case
T_OBJECT
:
case
T_ARRAY
:
return
single_size
;
...
...
@@ -456,6 +457,7 @@ inline LIR_OprDesc::OprType as_OprType(BasicType type) {
case
T_DOUBLE
:
return
LIR_OprDesc
::
double_type
;
case
T_OBJECT
:
case
T_ARRAY
:
return
LIR_OprDesc
::
object_type
;
case
T_ADDRESS
:
return
LIR_OprDesc
::
address_type
;
case
T_ILLEGAL
:
// fall through
default:
ShouldNotReachHere
();
return
LIR_OprDesc
::
unknown_type
;
}
...
...
@@ -468,6 +470,7 @@ inline BasicType as_BasicType(LIR_OprDesc::OprType t) {
case
LIR_OprDesc
::
float_type
:
return
T_FLOAT
;
case
LIR_OprDesc
::
double_type
:
return
T_DOUBLE
;
case
LIR_OprDesc
::
object_type
:
return
T_OBJECT
;
case
LIR_OprDesc
::
address_type
:
return
T_ADDRESS
;
case
LIR_OprDesc
::
unknown_type
:
// fall through
default:
ShouldNotReachHere
();
return
T_ILLEGAL
;
}
...
...
@@ -550,8 +553,24 @@ class LIR_OprFact: public AllStatic {
static
LIR_Opr
illegalOpr
;
static
LIR_Opr
single_cpu
(
int
reg
)
{
return
(
LIR_Opr
)(
intptr_t
)((
reg
<<
LIR_OprDesc
::
reg1_shift
)
|
LIR_OprDesc
::
int_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
);
}
static
LIR_Opr
single_cpu_oop
(
int
reg
)
{
return
(
LIR_Opr
)(
intptr_t
)((
reg
<<
LIR_OprDesc
::
reg1_shift
)
|
LIR_OprDesc
::
object_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
);
}
static
LIR_Opr
single_cpu
(
int
reg
)
{
return
(
LIR_Opr
)(
intptr_t
)((
reg
<<
LIR_OprDesc
::
reg1_shift
)
|
LIR_OprDesc
::
int_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
);
}
static
LIR_Opr
single_cpu_oop
(
int
reg
)
{
return
(
LIR_Opr
)(
intptr_t
)((
reg
<<
LIR_OprDesc
::
reg1_shift
)
|
LIR_OprDesc
::
object_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
);
}
static
LIR_Opr
single_cpu_address
(
int
reg
)
{
return
(
LIR_Opr
)(
intptr_t
)((
reg
<<
LIR_OprDesc
::
reg1_shift
)
|
LIR_OprDesc
::
address_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
);
}
static
LIR_Opr
double_cpu
(
int
reg1
,
int
reg2
)
{
LP64_ONLY
(
assert
(
reg1
==
reg2
,
"must be identical"
));
return
(
LIR_Opr
)(
intptr_t
)((
reg1
<<
LIR_OprDesc
::
reg1_shift
)
|
...
...
@@ -633,6 +652,14 @@ class LIR_OprFact: public AllStatic {
LIR_OprDesc
::
virtual_mask
);
break
;
case
T_ADDRESS
:
res
=
(
LIR_Opr
)(
intptr_t
)((
index
<<
LIR_OprDesc
::
data_shift
)
|
LIR_OprDesc
::
address_type
|
LIR_OprDesc
::
cpu_register
|
LIR_OprDesc
::
single_size
|
LIR_OprDesc
::
virtual_mask
);
break
;
case
T_LONG
:
res
=
(
LIR_Opr
)(
intptr_t
)((
index
<<
LIR_OprDesc
::
data_shift
)
|
LIR_OprDesc
::
long_type
|
...
...
@@ -721,6 +748,13 @@ class LIR_OprFact: public AllStatic {
LIR_OprDesc
::
single_size
);
break
;
case
T_ADDRESS
:
res
=
(
LIR_Opr
)(
intptr_t
)((
index
<<
LIR_OprDesc
::
data_shift
)
|
LIR_OprDesc
::
address_type
|
LIR_OprDesc
::
stack_value
|
LIR_OprDesc
::
single_size
);
break
;
case
T_LONG
:
res
=
(
LIR_Opr
)(
intptr_t
)((
index
<<
LIR_OprDesc
::
data_shift
)
|
LIR_OprDesc
::
long_type
|
...
...
src/share/vm/c1/c1_LIRGenerator.cpp
浏览文件 @
cfb3122a
...
...
@@ -936,7 +936,6 @@ LIR_Opr LIRGenerator::new_register(BasicType type) {
}
}
_virtual_register_number
+=
1
;
if
(
type
==
T_ADDRESS
)
type
=
T_INT
;
return
LIR_OprFact
::
virtual_register
(
vreg
,
type
);
}
...
...
@@ -2829,4 +2828,3 @@ LIR_Opr LIRGenerator::call_runtime(BasicTypeArray* signature, LIRItemList* args,
}
return
result
;
}
src/share/vm/c1/c1_LinearScan.cpp
浏览文件 @
cfb3122a
...
...
@@ -2018,6 +2018,12 @@ LIR_Opr LinearScan::calc_operand_for_interval(const Interval* interval) {
return
LIR_OprFact
::
single_cpu_oop
(
assigned_reg
);
}
case
T_ADDRESS
:
{
assert
(
assigned_reg
>=
pd_first_cpu_reg
&&
assigned_reg
<=
pd_last_cpu_reg
,
"no cpu register"
);
assert
(
interval
->
assigned_regHi
()
==
any_reg
,
"must not have hi register"
);
return
LIR_OprFact
::
single_cpu_address
(
assigned_reg
);
}
#ifdef __SOFTFP__
case
T_FLOAT
:
// fall through
#endif // __SOFTFP__
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录