Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
349d9164
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看板
提交
349d9164
编写于
7月 06, 2011
作者:
J
jcoomes
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7061192: option handling adjustments for oracle and embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
上级
8f9f786a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
32 addition
and
6 deletion
+32
-6
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+24
-0
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+8
-6
未找到文件。
src/share/vm/runtime/arguments.cpp
浏览文件 @
349d9164
...
...
@@ -251,6 +251,11 @@ static ObsoleteFlag obsolete_jvm_flags[] = {
{
"UseParallelOldGCDensePrefix"
,
JDK_Version
::
jdk_update
(
6
,
27
),
JDK_Version
::
jdk
(
8
)
},
{
"AllowTransitionalJSR292"
,
JDK_Version
::
jdk
(
7
),
JDK_Version
::
jdk
(
8
)
},
{
"UseCompressedStrings"
,
JDK_Version
::
jdk
(
7
),
JDK_Version
::
jdk
(
8
)
},
#ifdef PRODUCT
{
"DesiredMethodLimit"
,
JDK_Version
::
jdk_update
(
7
,
2
),
JDK_Version
::
jdk
(
8
)
},
#endif // PRODUCT
{
NULL
,
JDK_Version
(
0
),
JDK_Version
(
0
)
}
};
...
...
@@ -2912,6 +2917,18 @@ 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)
// Parse entry point called from JNI_CreateJavaVM
jint
Arguments
::
parse
(
const
JavaVMInitArgs
*
args
)
{
...
...
@@ -3009,6 +3026,13 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
return
result
;
}
#ifdef JAVASE_EMBEDDED
#ifdef PPC
UNSUPPORTED_OPTION
(
EnableInvokeDynamic
,
"Invoke dynamic"
);
#endif
UNSUPPORTED_OPTION
(
UseG1GC
,
"G1 GC"
);
#endif
#ifndef PRODUCT
if
(
TraceBytecodesAt
!=
0
)
{
TraceBytecodes
=
true
;
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
349d9164
...
...
@@ -343,6 +343,12 @@ class CommandLineFlags {
#define falseInTiered true
#endif
#ifdef JAVASE_EMBEDDED
#define falseInEmbedded false
#else
#define falseInEmbedded true
#endif
// develop flags are settable / visible only during development and are constant in the PRODUCT version
// product flags are always settable / visible
// notproduct flags are settable / visible only during development and are not declared in the PRODUCT version
...
...
@@ -3611,13 +3617,9 @@ class CommandLineFlags {
\
/* flags for performance data collection */
\
\
NOT_EMBEDDED(product(bool, UsePerfData, true, \
"Flag to disable jvmstat instrumentation for performance testing" \
"and problem isolation purposes.")) \
\
EMBEDDED_ONLY(product(bool, UsePerfData, false, \
product(bool, UsePerfData, falseInEmbedded, \
"Flag to disable jvmstat instrumentation for performance testing" \
"and problem isolation purposes.")
)
\
"and problem isolation purposes.")
\
\
product(bool, PerfDataSaveToFile, false, \
"Save PerfData memory to hsperfdata_<pid> file on exit") \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录