Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
6f270ba2
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看板
提交
6f270ba2
编写于
3月 28, 2013
作者:
M
minqi
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
4e3f34a0
a331be27
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
1 deletion
+11
-1
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+7
-0
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+3
-0
src/share/vm/runtime/os.hpp
src/share/vm/runtime/os.hpp
+1
-1
未找到文件。
src/share/vm/runtime/arguments.cpp
浏览文件 @
6f270ba2
...
...
@@ -3325,6 +3325,13 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
}
check_deprecated_gcs
();
check_deprecated_gc_flags
();
if
(
AssumeMP
&&
!
UseSerialGC
)
{
if
(
FLAG_IS_DEFAULT
(
ParallelGCThreads
)
&&
ParallelGCThreads
==
1
)
{
warning
(
"If the number of processors is expected to increase from one, then"
" you should configure the number of parallel GC threads appropriately"
" using -XX:ParallelGCThreads=N"
);
}
}
#else // INCLUDE_ALL_GCS
assert
(
verify_serial_gc_flags
(),
"SerialGC unset"
);
#endif // INCLUDE_ALL_GCS
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
6f270ba2
...
...
@@ -457,6 +457,9 @@ class CommandLineFlags {
lp64_product(intx, ObjectAlignmentInBytes, 8, \
"Default object alignment in bytes, 8 is minimum") \
\
product(bool, AssumeMP, false, \
"Instruct the VM to assume multiple processors are available") \
\
/* UseMembar is theoretically a temp flag used for memory barrier \
* removal testing. It was supposed to be removed before FCS but has \
* been re-added (see 6401008) */
\
...
...
src/share/vm/runtime/os.hpp
浏览文件 @
6f270ba2
...
...
@@ -180,7 +180,7 @@ class os: AllStatic {
// Interface for detecting multiprocessor system
static
inline
bool
is_MP
()
{
assert
(
_processor_count
>
0
,
"invalid processor count"
);
return
_processor_count
>
1
;
return
_processor_count
>
1
||
AssumeMP
;
}
static
julong
available_memory
();
static
julong
physical_memory
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录