Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
c8b053ee
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看板
提交
c8b053ee
编写于
2月 06, 2015
作者:
A
amurillo
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
af1959e1
2be12859
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
64 addition
and
43 deletion
+64
-43
make/hotspot_version
make/hotspot_version
+1
-1
make/linux/makefiles/build_vm_def.sh
make/linux/makefiles/build_vm_def.sh
+0
-16
make/linux/makefiles/vm.make
make/linux/makefiles/vm.make
+7
-1
src/cpu/sparc/vm/macroAssembler_sparc.inline.hpp
src/cpu/sparc/vm/macroAssembler_sparc.inline.hpp
+6
-1
src/share/vm/memory/tenuredGeneration.cpp
src/share/vm/memory/tenuredGeneration.cpp
+4
-2
src/share/vm/opto/escape.cpp
src/share/vm/opto/escape.cpp
+5
-0
src/share/vm/opto/output.cpp
src/share/vm/opto/output.cpp
+1
-1
src/share/vm/opto/postaloc.cpp
src/share/vm/opto/postaloc.cpp
+1
-0
src/share/vm/prims/jvmtiClassFileReconstituter.hpp
src/share/vm/prims/jvmtiClassFileReconstituter.hpp
+2
-2
src/share/vm/prims/jvmtiTagMap.cpp
src/share/vm/prims/jvmtiTagMap.cpp
+7
-1
test/runtime/6888954/vmerrors.sh
test/runtime/6888954/vmerrors.sh
+3
-2
test/test_env.sh
test/test_env.sh
+13
-8
test/testlibrary/com/oracle/java/testlibrary/Platform.java
test/testlibrary/com/oracle/java/testlibrary/Platform.java
+14
-8
未找到文件。
make/hotspot_version
浏览文件 @
c8b053ee
...
...
@@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2015
HS_MAJOR_VER=25
HS_MINOR_VER=60
HS_BUILD_NUMBER=0
2
HS_BUILD_NUMBER=0
3
JDK_MAJOR_VER=1
JDK_MINOR_VER=8
...
...
make/linux/makefiles/build_vm_def.sh
已删除
100644 → 0
浏览文件 @
af1959e1
#!/bin/sh
# If we're cross compiling use that path for nm
if
[
"
$CROSS_COMPILE_ARCH
"
!=
""
]
;
then
NM
=
$ALT_COMPILER_PATH
/nm
else
NM
=
nm
fi
$NM
--defined-only
$*
\
|
awk
'{
if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
}'
\
|
sort
-u
make/linux/makefiles/vm.make
浏览文件 @
c8b053ee
...
...
@@ -245,8 +245,14 @@ mapfile_reorder : mapfile $(REORDERFILE)
rm
-f
$@
cat
$^
>
$@
VMDEF_PAT
=
^_ZTV
VMDEF_PAT
:=
^gHotSpotVM|
$(VMDEF_PAT)
VMDEF_PAT
:=
^UseSharedSpaces
$$
|
$(VMDEF_PAT)
VMDEF_PAT
:=
^_ZN9Arguments17SharedArchivePathE
$$
|
$(VMDEF_PAT)
vm.def
:
$(Res_Files) $(Obj_Files)
sh
$(GAMMADIR)
/make/linux/makefiles/build_vm_def.sh
*
.o
>
$@
$(QUIETLY)
$(NM)
--defined-only
$(Obj_Files)
|
sort
-k3
-u
|
\
awk
'$$3 ~ /
$(VMDEF_PAT)
/ { print "\t" $$3 ";" }'
>
$@
mapfile_ext
:
rm
-f
$@
...
...
src/cpu/sparc/vm/macroAssembler_sparc.inline.hpp
浏览文件 @
c8b053ee
...
...
@@ -630,7 +630,12 @@ inline void MacroAssembler::ldf(FloatRegisterImpl::Width w, Register s1, Registe
inline
void
MacroAssembler
::
ldf
(
FloatRegisterImpl
::
Width
w
,
const
Address
&
a
,
FloatRegister
d
,
int
offset
)
{
relocate
(
a
.
rspec
(
offset
));
ldf
(
w
,
a
.
base
(),
a
.
disp
()
+
offset
,
d
);
if
(
a
.
has_index
())
{
assert
(
offset
==
0
,
""
);
ldf
(
w
,
a
.
base
(),
a
.
index
(),
d
);
}
else
{
ldf
(
w
,
a
.
base
(),
a
.
disp
()
+
offset
,
d
);
}
}
// returns if membar generates anything, obviously this code should mirror
...
...
src/share/vm/memory/tenuredGeneration.cpp
浏览文件 @
c8b053ee
/*
* Copyright (c) 2001, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 201
5
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -24,7 +24,6 @@
#include "precompiled.hpp"
#include "gc_implementation/shared/collectorCounters.hpp"
#include "gc_implementation/shared/parGCAllocBuffer.hpp"
#include "memory/allocation.inline.hpp"
#include "memory/blockOffsetTable.inline.hpp"
#include "memory/generation.inline.hpp"
...
...
@@ -34,6 +33,9 @@
#include "oops/oop.inline.hpp"
#include "runtime/java.hpp"
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
#include "gc_implementation/shared/parGCAllocBuffer.hpp"
#endif
TenuredGeneration
::
TenuredGeneration
(
ReservedSpace
rs
,
size_t
initial_byte_size
,
int
level
,
...
...
src/share/vm/opto/escape.cpp
浏览文件 @
c8b053ee
...
...
@@ -205,6 +205,11 @@ bool ConnectionGraph::compute_escape() {
_verify
=
false
;
}
#endif
// Bytecode analyzer BCEscapeAnalyzer, used for Call nodes
// processing, calls to CI to resolve symbols (types, fields, methods)
// referenced in bytecode. During symbol resolution VM may throw
// an exception which CI cleans and converts to compilation failure.
if
(
C
->
failing
())
return
false
;
// 2. Finish Graph construction by propagating references to all
// java objects through graph.
...
...
src/share/vm/opto/output.cpp
浏览文件 @
c8b053ee
...
...
@@ -2473,7 +2473,7 @@ void Scheduling::DoScheduling() {
if
(
iop
==
Op_Con
)
continue
;
// Do not schedule Top
if
(
iop
==
Op_Node
&&
// Do not schedule PhiNodes, ProjNodes
mach
->
pipeline
()
==
MachNode
::
pipeline_class
()
&&
!
n
->
is_SpillCopy
()
)
// Breakpoints, Prolog, etc
!
n
->
is_SpillCopy
()
&&
!
n
->
is_MachMerge
()
)
// Breakpoints, Prolog, etc
continue
;
break
;
// Funny loop structure to be sure...
}
...
...
src/share/vm/opto/postaloc.cpp
浏览文件 @
c8b053ee
...
...
@@ -428,6 +428,7 @@ int PhaseChaitin::possibly_merge_multidef(Node *n, uint k, Block *block, RegToDe
// Insert the merge node into the block before the first use.
uint
use_index
=
block
->
find_node
(
reg2defuse
.
at
(
reg
).
first_use
());
block
->
insert_node
(
merge
,
use_index
++
);
_cfg
.
map_node_to_block
(
merge
,
block
);
// Let the allocator know about the new node, use the same lrg
_lrg_map
.
extend
(
merge
->
_idx
,
lrg
);
...
...
src/share/vm/prims/jvmtiClassFileReconstituter.hpp
浏览文件 @
c8b053ee
...
...
@@ -68,11 +68,11 @@ class JvmtiConstantPoolReconstituter : public StackObj {
~
JvmtiConstantPoolReconstituter
()
{
if
(
_symmap
!=
NULL
)
{
os
::
free
(
_symmap
,
mtClass
)
;
delete
_symmap
;
_symmap
=
NULL
;
}
if
(
_classmap
!=
NULL
)
{
os
::
free
(
_classmap
,
mtClass
)
;
delete
_classmap
;
_classmap
=
NULL
;
}
}
...
...
src/share/vm/prims/jvmtiTagMap.cpp
浏览文件 @
c8b053ee
...
...
@@ -1045,10 +1045,16 @@ static jint invoke_string_value_callback(jvmtiStringPrimitiveValueCallback cb,
{
assert
(
str
->
klass
()
==
SystemDictionary
::
String_klass
(),
"not a string"
);
typeArrayOop
s_value
=
java_lang_String
::
value
(
str
);
// JDK-6584008: the value field may be null if a String instance is
// partially constructed.
if
(
s_value
==
NULL
)
{
return
0
;
}
// get the string value and length
// (string value may be offset from the base)
int
s_len
=
java_lang_String
::
length
(
str
);
typeArrayOop
s_value
=
java_lang_String
::
value
(
str
);
int
s_offset
=
java_lang_String
::
offset
(
str
);
jchar
*
value
;
if
(
s_len
>
0
)
{
...
...
test/runtime/6888954/vmerrors.sh
浏览文件 @
c8b053ee
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013,
2015,
Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
...
...
@@ -61,11 +61,12 @@ bad_data_ptr_re='(SIGILL|SIGSEGV|EXCEPTION_ACCESS_VIOLATION).* at pc='
# EXCEPTION_ACCESS_VIOLATION - Win-*
# SIGBUS - Solaris SPARC-64
# SIGSEGV - Linux-*, Solaris SPARC-32, Solaris X86-*
# SIGILL - Aix
#
# Note: would like to use "pc=0x00*0f," in the pattern, but Solaris SPARC-*
# gets its signal at a PC in test_error_handler().
#
bad_func_ptr_re
=
'(SIGBUS|SIGSEGV|EXCEPTION_ACCESS_VIOLATION).* at pc='
bad_func_ptr_re
=
'(SIGBUS|SIGSEGV|
SIGILL|
EXCEPTION_ACCESS_VIOLATION).* at pc='
guarantee_re
=
'guarantee[(](str|num).*failed: *'
fatal_re
=
'fatal error: *'
tail_1
=
'.*expected null'
...
...
test/test_env.sh
浏览文件 @
c8b053ee
#!/bin/sh
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013,
2015,
Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
...
...
@@ -53,7 +53,7 @@ echo "TESTCLASSES=${TESTCLASSES}"
# set platform-dependent variables
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
AIX
|
Darwin
|
Linux
|
SunOS
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
...
...
@@ -130,25 +130,30 @@ then
fi
VM_OS
=
"unknown"
grep
"
solaris
"
vm_version.out
>
${
NULL
}
grep
"
aix
"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"solaris"
VM_OS
=
"aix"
fi
grep
"bsd"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"bsd"
fi
grep
"linux"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"linux"
fi
grep
"
window
s"
vm_version.out
>
${
NULL
}
grep
"
solari
s"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"
window
s"
VM_OS
=
"
solari
s"
fi
grep
"
bsd
"
vm_version.out
>
${
NULL
}
grep
"
windows
"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"
bsd
"
VM_OS
=
"
windows
"
fi
VM_CPU
=
"unknown"
...
...
test/testlibrary/com/oracle/java/testlibrary/Platform.java
浏览文件 @
c8b053ee
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2015,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -61,20 +61,24 @@ public class Platform {
return
dataModel
.
equals
(
"64"
);
}
public
static
boolean
is
Solaris
()
{
return
isOs
(
"
sunos
"
);
public
static
boolean
is
Aix
()
{
return
isOs
(
"
aix
"
);
}
public
static
boolean
is
Windows
()
{
return
isOs
(
"
win
"
);
public
static
boolean
is
Linux
()
{
return
isOs
(
"
linux
"
);
}
public
static
boolean
isOSX
()
{
return
isOs
(
"mac"
);
}
public
static
boolean
isLinux
()
{
return
isOs
(
"linux"
);
public
static
boolean
isSolaris
()
{
return
isOs
(
"sunos"
);
}
public
static
boolean
isWindows
()
{
return
isOs
(
"win"
);
}
private
static
boolean
isOs
(
String
osname
)
{
...
...
@@ -130,7 +134,9 @@ public class Platform {
*/
public
static
boolean
shouldSAAttach
()
throws
Exception
{
if
(
isLinux
())
{
if
(
isAix
())
{
return
false
;
// SA not implemented.
}
else
if
(
isLinux
())
{
return
canPtraceAttachLinux
();
}
else
if
(
isOSX
())
{
return
canAttachOSX
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录