Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
3d006345
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看板
提交
3d006345
编写于
3月 29, 2016
作者:
R
robm
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
32ae2015
fb80a342
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
31 addition
and
10 deletion
+31
-10
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/prims/jvmtiExport.cpp
src/share/vm/prims/jvmtiExport.cpp
+3
-1
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
test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java
...intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java
+6
-6
test/compiler/intrinsics/squaretolen/TestSquareToLen.java
test/compiler/intrinsics/squaretolen/TestSquareToLen.java
+1
-0
未找到文件。
src/cpu/sparc/vm/vm_version_sparc.cpp
浏览文件 @
3d006345
...
...
@@ -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
浏览文件 @
3d006345
...
...
@@ -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/prims/jvmtiExport.cpp
浏览文件 @
3d006345
...
...
@@ -995,7 +995,9 @@ void JvmtiExport::post_class_unload(Klass* klass) {
// Before we call the JVMTI agent, we have to set the state in the
// thread for which we are proxying.
JavaThreadState
prev_state
=
real_thread
->
thread_state
();
assert
(
prev_state
==
_thread_blocked
,
"JavaThread should be at safepoint"
);
assert
(((
Thread
*
)
real_thread
)
->
is_ConcurrentGC_thread
()
||
(
real_thread
->
is_Java_thread
()
&&
prev_state
==
_thread_blocked
),
"should be ConcurrentGCThread or JavaThread at safepoint"
);
real_thread
->
set_thread_state
(
_thread_in_native
);
jvmtiExtensionEvent
callback
=
env
->
ext_callbacks
()
->
ClassUnload
;
...
...
src/share/vm/runtime/os.cpp
浏览文件 @
3d006345
...
...
@@ -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
浏览文件 @
3d006345
...
...
@@ -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
...
...
test/compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java
浏览文件 @
3d006345
...
...
@@ -39,12 +39,12 @@ import java.util.Random;
* @library /testlibrary
* @requires (os.simpleArch == "x64") & (os.family != "windows")
* @summary Verify that the Montgomery multiply intrinsic works and correctly checks its arguments.
* @run main/othervm -XX:+
UseMontgomerySquareIntrinsic -XX:+UseMontgomeryMultiply
Intrinsic
* MontgomeryMultiplyTest
* @run main/othervm -XX:+
UseMontgomerySquareIntrinsic -XX:-UseMontgomeryMultiply
Intrinsic
* MontgomeryMultiplyTest
* @run main/othervm -XX:
-UseMontgomerySquareIntrinsic -XX:+UseMontgomeryMultiply
Intrinsic
* MontgomeryMultiplyTest
* @run main/othervm -XX:+
IgnoreUnrecognizedVMOptions -XX:+UseMontgomerySquare
Intrinsic
*
-XX:+UseMontgomeryMultiplyIntrinsic
MontgomeryMultiplyTest
* @run main/othervm -XX:+
IgnoreUnrecognizedVMOptions -XX:+UseMontgomerySquare
Intrinsic
*
-XX:-UseMontgomeryMultiplyIntrinsic
MontgomeryMultiplyTest
* @run main/othervm -XX:
+IgnoreUnrecognizedVMOptions -XX:-UseMontgomerySquare
Intrinsic
*
-XX:+UseMontgomeryMultiplyIntrinsic
MontgomeryMultiplyTest
*/
public
class
MontgomeryMultiplyTest
{
...
...
test/compiler/intrinsics/squaretolen/TestSquareToLen.java
浏览文件 @
3d006345
...
...
@@ -28,6 +28,7 @@
* @summary Add C2 x86 intrinsic for BigInteger::squareToLen() method
*
* @run main/othervm/timeout=600 -XX:-TieredCompilation -Xbatch
* -XX:+IgnoreUnrecognizedVMOptions
* -XX:+UseSquareToLenIntrinsic
* -XX:CompileCommand=exclude,TestSquareToLen::main
* -XX:CompileCommand=option,TestSquareToLen::base_multiply,ccstr,DisableIntrinsic,_squareToLen
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录