Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
3f11548d
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看板
提交
3f11548d
编写于
6月 11, 2013
作者:
K
kvn
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
3237ac4a
2deecb31
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
13 addition
and
6 deletion
+13
-6
src/share/vm/opto/c2_globals.hpp
src/share/vm/opto/c2_globals.hpp
+3
-3
src/share/vm/opto/chaitin.cpp
src/share/vm/opto/chaitin.cpp
+4
-1
src/share/vm/opto/coalesce.cpp
src/share/vm/opto/coalesce.cpp
+3
-1
src/share/vm/opto/matcher.cpp
src/share/vm/opto/matcher.cpp
+3
-1
未找到文件。
src/share/vm/opto/c2_globals.hpp
浏览文件 @
3f11548d
/*
* Copyright (c) 2000, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -406,10 +406,10 @@
develop(intx, WarmCallMaxSize, 999999, \
"size of the largest inlinable method") \
\
product(intx, MaxNodeLimit,
65
000, \
product(intx, MaxNodeLimit,
80
000, \
"Maximum number of nodes") \
\
product(intx, NodeLimitFudgeFactor,
1
000, \
product(intx, NodeLimitFudgeFactor,
2
000, \
"Fudge Factor for certain optimizations") \
\
product(bool, UseJumpTables, true, \
...
...
src/share/vm/opto/chaitin.cpp
浏览文件 @
3f11548d
/*
* Copyright (c) 2000, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -435,6 +435,9 @@ void PhaseChaitin::Register_Allocate() {
// Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do
// not match the Phi itself, insert a copy.
coalesce
.
insert_copies
(
_matcher
);
if
(
C
->
failing
())
{
return
;
}
}
// After aggressive coalesce, attempt a first cut at coloring.
...
...
src/share/vm/opto/coalesce.cpp
浏览文件 @
3f11548d
/*
* Copyright (c) 1997, 201
0
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -240,6 +240,8 @@ void PhaseAggressiveCoalesce::insert_copies( Matcher &matcher ) {
_unique
=
C
->
unique
();
for
(
uint
i
=
0
;
i
<
_phc
.
_cfg
.
_num_blocks
;
i
++
)
{
C
->
check_node_count
(
NodeLimitFudgeFactor
,
"out of nodes in coalesce"
);
if
(
C
->
failing
())
return
;
Block
*
b
=
_phc
.
_cfg
.
_blocks
[
i
];
uint
cnt
=
b
->
num_preds
();
// Number of inputs to the Phi
...
...
src/share/vm/opto/matcher.cpp
浏览文件 @
3f11548d
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
3
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -985,6 +985,8 @@ Node *Matcher::xform( Node *n, int max_stack ) {
mstack
.
push
(
n
,
Visit
,
NULL
,
-
1
);
// set NULL as parent to indicate root
while
(
mstack
.
is_nonempty
())
{
C
->
check_node_count
(
NodeLimitFudgeFactor
,
"too many nodes matching instructions"
);
if
(
C
->
failing
())
return
NULL
;
n
=
mstack
.
node
();
// Leave node on stack
Node_State
nstate
=
mstack
.
state
();
if
(
nstate
==
Visit
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录