Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
d055bc5f
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d055bc5f
编写于
3月 15, 2016
作者:
P
poonam
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8133023: ParallelGCThreads is not calculated correctly
Reviewed-by: kbarrett, tschatzl
上级
44b8bb89
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
21 addition
and
3 deletion
+21
-3
src/cpu/sparc/vm/vm_version_sparc.cpp
src/cpu/sparc/vm/vm_version_sparc.cpp
+4
-3
src/cpu/sparc/vm/vm_version_sparc.hpp
src/cpu/sparc/vm/vm_version_sparc.hpp
+2
-0
src/share/vm/runtime/os.cpp
src/share/vm/runtime/os.cpp
+4
-0
src/share/vm/runtime/vm_version.hpp
src/share/vm/runtime/vm_version.hpp
+11
-0
未找到文件。
src/cpu/sparc/vm/vm_version_sparc.cpp
浏览文件 @
d055bc5f
...
...
@@ -40,7 +40,10 @@ const char* VM_Version::_features_str = "";
unsigned
int
VM_Version
::
_L2_data_cache_line_size
=
0
;
void
VM_Version
::
initialize
()
{
_features
=
determine_features
();
assert
(
_features
!=
VM_Version
::
unknown_m
,
"System pre-initialization is not complete."
);
guarantee
(
VM_Version
::
has_v9
(),
"only SPARC v9 is supported"
);
PrefetchCopyIntervalInBytes
=
prefetch_copy_interval_in_bytes
();
PrefetchScanIntervalInBytes
=
prefetch_scan_interval_in_bytes
();
PrefetchFieldsAhead
=
prefetch_fields_ahead
();
...
...
@@ -76,8 +79,6 @@ void VM_Version::initialize() {
FLAG_SET_DEFAULT
(
AllocatePrefetchStyle
,
1
);
}
guarantee
(
VM_Version
::
has_v9
(),
"only SPARC v9 is supported"
);
assert
(
ArraycopySrcPrefetchDistance
<
4096
,
"invalid value"
);
if
(
ArraycopySrcPrefetchDistance
>=
4096
)
ArraycopySrcPrefetchDistance
=
4064
;
...
...
src/cpu/sparc/vm/vm_version_sparc.hpp
浏览文件 @
d055bc5f
...
...
@@ -124,6 +124,8 @@ public:
// Initialization
static
void
initialize
();
static
void
init_before_ergo
()
{
_features
=
determine_features
();
}
// Instruction support
static
bool
has_v8
()
{
return
(
_features
&
v8_instructions_m
)
!=
0
;
}
static
bool
has_v9
()
{
return
(
_features
&
v9_instructions_m
)
!=
0
;
}
...
...
src/share/vm/runtime/os.cpp
浏览文件 @
d055bc5f
...
...
@@ -325,6 +325,10 @@ void os::init_before_ergo() {
// We need to initialize large page support here because ergonomics takes some
// decisions depending on large page support and the calculated large page size.
large_page_init
();
// VM version initialization identifies some characteristics of the
// the platform that are used during ergonomic decisions.
VM_Version
::
init_before_ergo
();
}
void
os
::
signal_init
()
{
...
...
src/share/vm/runtime/vm_version.hpp
浏览文件 @
d055bc5f
...
...
@@ -54,6 +54,12 @@ class Abstract_VM_Version: AllStatic {
unsigned
int
dem
,
unsigned
int
switch_pt
);
public:
// Called as part of the runtime services initialization which is
// called from the management module initialization (via init_globals())
// after argument parsing and attaching of the main thread has
// occurred. Examines a variety of the hardware capabilities of
// the platform to determine which features can be used to execute the
// program.
static
void
initialize
();
// This allows for early initialization of VM_Version information
...
...
@@ -63,6 +69,11 @@ class Abstract_VM_Version: AllStatic {
// need to specialize this define VM_Version::early_initialize().
static
void
early_initialize
()
{
}
// Called to initialize VM variables needing initialization
// after command line parsing. Platforms that need to specialize
// this should define VM_Version::init_before_ergo().
static
void
init_before_ergo
()
{}
// Name
static
const
char
*
vm_name
();
// Vendor
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录