Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
bef1c4ca
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看板
提交
bef1c4ca
编写于
7月 29, 2013
作者:
I
iignatyev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8021120: TieredCompilation can be enabled even if TIERED is undefined
Reviewed-by: kvn, dholmes
上级
02e779bc
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
27 addition
and
25 deletion
+27
-25
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+27
-25
未找到文件。
src/share/vm/runtime/arguments.cpp
浏览文件 @
bef1c4ca
...
@@ -60,6 +60,28 @@
...
@@ -60,6 +60,28 @@
#define DEFAULT_VENDOR_URL_BUG "http://bugreport.sun.com/bugreport/crash.jsp"
#define DEFAULT_VENDOR_URL_BUG "http://bugreport.sun.com/bugreport/crash.jsp"
#define DEFAULT_JAVA_LAUNCHER "generic"
#define DEFAULT_JAVA_LAUNCHER "generic"
// Disable options not supported in this release, with a warning if they
// were explicitly requested on the command-line
#define UNSUPPORTED_OPTION(opt, description) \
do { \
if (opt) { \
if (FLAG_IS_CMDLINE(opt)) { \
warning(description " is disabled in this release."); \
} \
FLAG_SET_DEFAULT(opt, false); \
} \
} while(0)
#define UNSUPPORTED_GC_OPTION(gc) \
do { \
if (gc) { \
if (FLAG_IS_CMDLINE(gc)) { \
warning(#gc " is not supported in this VM. Using Serial GC."); \
} \
FLAG_SET_DEFAULT(gc, false); \
} \
} while(0)
char
**
Arguments
::
_jvm_flags_array
=
NULL
;
char
**
Arguments
::
_jvm_flags_array
=
NULL
;
int
Arguments
::
_num_jvm_flags
=
0
;
int
Arguments
::
_num_jvm_flags
=
0
;
char
**
Arguments
::
_jvm_args_array
=
NULL
;
char
**
Arguments
::
_jvm_args_array
=
NULL
;
...
@@ -3124,14 +3146,17 @@ jint Arguments::finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_req
...
@@ -3124,14 +3146,17 @@ jint Arguments::finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_req
FLAG_SET_DEFAULT
(
UseLargePages
,
false
);
FLAG_SET_DEFAULT
(
UseLargePages
,
false
);
}
}
// Tiered compilation is undefined with C1.
TieredCompilation
=
false
;
#else
#else
if
(
!
FLAG_IS_DEFAULT
(
OptoLoopAlignment
)
&&
FLAG_IS_DEFAULT
(
MaxLoopPad
))
{
if
(
!
FLAG_IS_DEFAULT
(
OptoLoopAlignment
)
&&
FLAG_IS_DEFAULT
(
MaxLoopPad
))
{
FLAG_SET_DEFAULT
(
MaxLoopPad
,
OptoLoopAlignment
-
1
);
FLAG_SET_DEFAULT
(
MaxLoopPad
,
OptoLoopAlignment
-
1
);
}
}
#endif
#endif
#ifndef TIERED
// Tiered compilation is undefined.
UNSUPPORTED_OPTION
(
TieredCompilation
,
"TieredCompilation"
);
#endif
// If we are running in a headless jre, force java.awt.headless property
// If we are running in a headless jre, force java.awt.headless property
// to be true unless the property has already been set.
// to be true unless the property has already been set.
// Also allow the OS environment variable JAVA_AWT_HEADLESS to set headless state.
// Also allow the OS environment variable JAVA_AWT_HEADLESS to set headless state.
...
@@ -3274,29 +3299,6 @@ void Arguments::set_shared_spaces_flags() {
...
@@ -3274,29 +3299,6 @@ void Arguments::set_shared_spaces_flags() {
}
}
}
}
// Disable options not supported in this release, with a warning if they
// were explicitly requested on the command-line
#define UNSUPPORTED_OPTION(opt, description) \
do { \
if (opt) { \
if (FLAG_IS_CMDLINE(opt)) { \
warning(description " is disabled in this release."); \
} \
FLAG_SET_DEFAULT(opt, false); \
} \
} while(0)
#define UNSUPPORTED_GC_OPTION(gc) \
do { \
if (gc) { \
if (FLAG_IS_CMDLINE(gc)) { \
warning(#gc " is not supported in this VM. Using Serial GC."); \
} \
FLAG_SET_DEFAULT(gc, false); \
} \
} while(0)
#if !INCLUDE_ALL_GCS
#if !INCLUDE_ALL_GCS
static
void
force_serial_gc
()
{
static
void
force_serial_gc
()
{
FLAG_SET_DEFAULT
(
UseSerialGC
,
true
);
FLAG_SET_DEFAULT
(
UseSerialGC
,
true
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录