Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
7c13b7e8
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看板
提交
7c13b7e8
编写于
8月 25, 2011
作者:
K
kvn
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
574389b2
4663c7a5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
41 addition
and
2 deletion
+41
-2
src/cpu/x86/vm/assembler_x86.cpp
src/cpu/x86/vm/assembler_x86.cpp
+1
-1
test/compiler/5091921/Test7005594.sh
test/compiler/5091921/Test7005594.sh
+40
-1
未找到文件。
src/cpu/x86/vm/assembler_x86.cpp
浏览文件 @
7c13b7e8
...
...
@@ -2307,7 +2307,7 @@ void Assembler::prefetch_prefix(Address src) {
}
void
Assembler
::
prefetchnta
(
Address
src
)
{
NOT_LP64
(
assert
(
VM_Version
::
supports_sse
2
(),
"must support"
));
NOT_LP64
(
assert
(
VM_Version
::
supports_sse
(),
"must support"
));
InstructionMark
im
(
this
);
prefetch_prefix
(
src
);
emit_byte
(
0x18
);
...
...
test/compiler/5091921/Test7005594.sh
浏览文件 @
7c13b7e8
...
...
@@ -43,6 +43,45 @@ fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
# Amount of physical memory in megabytes
MEM
=
0
if
[
-f
"/proc/meminfo"
]
;
then
# Linux, Windows/Cygwin
MEM
=
`
cat
/proc/meminfo |grep ^MemTotal: |
awk
'{print $2}'
`
MEM
=
"
$((
$MEM
/
1024
))
"
elif
[
-x
"/usr/sbin/prtconf"
]
;
then
# Solaris
MEM
=
`
/usr/sbin/prtconf |
grep
"^Memory size"
|
awk
'{print $3}'
`
elif
[
-x
"/usr/sbin/system_profiler"
]
;
then
# MacOS
MEMo
=
`
/usr/sbin/system_profiler SPHardwareDataType |
grep
Memory:
`
MEM
=
`
echo
"
$MEMo
"
|
awk
'{print $2}'
`
MEMu
=
`
echo
"
$MEMo
"
|
awk
'{print $3}'
`
case
$MEMu
in
GB
)
MEM
=
"
$((
$MEM
*
1024
))
"
;;
MB
)
;;
*
)
echo
"Unknown memory unit in system_profile output:
$MEMu
"
;;
esac
elif
[
-n
"
$ROOTDIR
"
-a
-x
"
$ROOTDIR
/mksnt/sysinf"
]
;
then
# Windows/MKS
MEM
=
`
"
$ROOTDIR
/mksnt/sysinf"
memory
-v
|
grep
"Total Physical Memory: "
|
sed
's/Total Physical Memory: *//g'
`
MEM
=
"
$((
$machine_memory
/
1024
))
"
else
echo
"Unable to determine amount of physical memory on the machine"
fi
if
[
$MEM
-lt
2000
]
;
then
echo
"Test skipped due to low (or unknown) memory on the system:
$MEM
Mb"
exit
0
fi
echo
"MEMORY=
$MEM
Mb"
set
-x
cp
${
TESTSRC
}
/Test7005594.java
.
...
...
@@ -50,7 +89,7 @@ cp ${TESTSRC}/Test7005594.sh .
${
TESTJAVA
}
/bin/javac
-d
.
Test7005594.java
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xms1600m
-Xcomp
-XX
:CompileOnly
=
Test7005594.test Test7005594
>
test.out 2>&1
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xms1600m
-X
X
:+IgnoreUnrecognizedVMOptions
-XX
:-ZapUnusedHeapArea
-X
comp
-XX
:CompileOnly
=
Test7005594.test Test7005594
>
test.out 2>&1
result
=
$?
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录