Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
49ca2fb2
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看板
提交
49ca2fb2
编写于
4月 09, 2015
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
00dc285e
2dc75ede
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
53 addition
and
27 deletion
+53
-27
.hgtags
.hgtags
+2
-0
agent/src/share/classes/com/sun/java/swing/action/ActionManager.java
...hare/classes/com/sun/java/swing/action/ActionManager.java
+6
-1
agent/src/share/classes/sun/jvm/hotspot/ui/action/HSDBActionManager.java
.../classes/sun/jvm/hotspot/ui/action/HSDBActionManager.java
+5
-3
make/hotspot_version
make/hotspot_version
+1
-1
src/cpu/zero/vm/cppInterpreter_zero.cpp
src/cpu/zero/vm/cppInterpreter_zero.cpp
+1
-1
src/cpu/zero/vm/frame_zero.inline.hpp
src/cpu/zero/vm/frame_zero.inline.hpp
+2
-0
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
+32
-20
src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
+3
-0
src/share/vm/interpreter/bytecodeInterpreter.cpp
src/share/vm/interpreter/bytecodeInterpreter.cpp
+1
-1
未找到文件。
.hgtags
浏览文件 @
49ca2fb2
...
@@ -628,3 +628,5 @@ a72a4192a36d6d84766d6135fe6515346c742007 hs25.60-b08
...
@@ -628,3 +628,5 @@ a72a4192a36d6d84766d6135fe6515346c742007 hs25.60-b08
bf68e15dc8fe73eeb1eb3c656df51fdb1f707a97 jdk8u60-b08
bf68e15dc8fe73eeb1eb3c656df51fdb1f707a97 jdk8u60-b08
d937e6a0674841d670232ecf1611f52e1ae998e7 hs25.60-b09
d937e6a0674841d670232ecf1611f52e1ae998e7 hs25.60-b09
f1058b5c6294235d8ad032dcc72c8f8bc202cb5a jdk8u60-b09
f1058b5c6294235d8ad032dcc72c8f8bc202cb5a jdk8u60-b09
57a14c3927eba6372d909ae164fa90bb9b6a6ce4 hs25.60-b10
8e4518dc2b38957072704ffe4cbf29f046dc9325 jdk8u60-b10
agent/src/share/classes/com/sun/java/swing/action/ActionManager.java
浏览文件 @
49ca2fb2
...
@@ -46,6 +46,11 @@ public abstract class ActionManager
...
@@ -46,6 +46,11 @@ public abstract class ActionManager
return
manager
;
return
manager
;
}
}
protected
static
void
setInstance
(
ActionManager
m
)
{
manager
=
m
;
}
protected
abstract
void
addActions
();
protected
abstract
void
addActions
();
protected
void
addAction
(
String
cmdname
,
Action
action
)
protected
void
addAction
(
String
cmdname
,
Action
action
)
...
@@ -90,6 +95,6 @@ public abstract class ActionManager
...
@@ -90,6 +95,6 @@ public abstract class ActionManager
private
HashMap
actions
;
private
HashMap
actions
;
private
static
ActionUtilities
utilities
=
new
ActionUtilities
();
private
static
ActionUtilities
utilities
=
new
ActionUtilities
();
pr
otected
static
ActionManager
manager
;
pr
ivate
static
ActionManager
manager
;
}
}
agent/src/share/classes/sun/jvm/hotspot/ui/action/HSDBActionManager.java
浏览文件 @
49ca2fb2
...
@@ -32,10 +32,12 @@ import com.sun.java.swing.action.ActionManager;
...
@@ -32,10 +32,12 @@ import com.sun.java.swing.action.ActionManager;
public
class
HSDBActionManager
extends
ActionManager
{
public
class
HSDBActionManager
extends
ActionManager
{
public
static
ActionManager
getInstance
()
{
public
static
ActionManager
getInstance
()
{
if
(
manager
==
null
)
{
ActionManager
m
=
ActionManager
.
getInstance
();
manager
=
new
HSDBActionManager
();
if
(
m
==
null
)
{
m
=
new
HSDBActionManager
();
ActionManager
.
setInstance
(
m
);
}
}
return
m
anager
;
return
m
;
}
}
protected
void
addActions
()
{
protected
void
addActions
()
{
...
...
make/hotspot_version
浏览文件 @
49ca2fb2
...
@@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2015
...
@@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2015
HS_MAJOR_VER=25
HS_MAJOR_VER=25
HS_MINOR_VER=60
HS_MINOR_VER=60
HS_BUILD_NUMBER=
09
HS_BUILD_NUMBER=
10
JDK_MAJOR_VER=1
JDK_MAJOR_VER=1
JDK_MINOR_VER=8
JDK_MINOR_VER=8
...
...
src/cpu/zero/vm/cppInterpreter_zero.cpp
浏览文件 @
49ca2fb2
...
@@ -730,7 +730,7 @@ InterpreterFrame *InterpreterFrame::build(Method* const method, TRAPS) {
...
@@ -730,7 +730,7 @@ InterpreterFrame *InterpreterFrame::build(Method* const method, TRAPS) {
if
(
method
->
is_static
())
if
(
method
->
is_static
())
object
=
method
->
constants
()
->
pool_holder
()
->
java_mirror
();
object
=
method
->
constants
()
->
pool_holder
()
->
java_mirror
();
else
else
object
=
(
oop
)
locals
[
0
];
object
=
(
oop
)
(
void
*
)
locals
[
0
];
monitor
->
set_obj
(
object
);
monitor
->
set_obj
(
object
);
}
}
...
...
src/cpu/zero/vm/frame_zero.inline.hpp
浏览文件 @
49ca2fb2
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
#ifndef CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#ifndef CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#define CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#define CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#include "code/codeCache.hpp"
// Constructors
// Constructors
inline
frame
::
frame
()
{
inline
frame
::
frame
()
{
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
浏览文件 @
49ca2fb2
...
@@ -6017,56 +6017,68 @@ void G1CollectedHeap::check_bitmaps(const char* caller) {
...
@@ -6017,56 +6017,68 @@ void G1CollectedHeap::check_bitmaps(const char* caller) {
guarantee
(
!
cl
.
failures
(),
"bitmap verification"
);
guarantee
(
!
cl
.
failures
(),
"bitmap verification"
);
}
}
bool
G1CollectedHeap
::
check_cset_fast_test
()
{
class
G1CheckCSetFastTableClosure
:
public
HeapRegionClosure
{
bool
failures
=
false
;
private:
for
(
uint
i
=
0
;
i
<
_hrm
.
length
();
i
+=
1
)
{
bool
_failures
;
HeapRegion
*
hr
=
_hrm
.
at
(
i
);
public:
InCSetState
cset_state
=
(
InCSetState
)
_in_cset_fast_test
.
get_by_index
((
uint
)
i
);
G1CheckCSetFastTableClosure
()
:
HeapRegionClosure
(),
_failures
(
false
)
{
}
virtual
bool
doHeapRegion
(
HeapRegion
*
hr
)
{
uint
i
=
hr
->
hrm_index
();
InCSetState
cset_state
=
(
InCSetState
)
G1CollectedHeap
::
heap
()
->
_in_cset_fast_test
.
get_by_index
(
i
);
if
(
hr
->
isHumongous
())
{
if
(
hr
->
isHumongous
())
{
if
(
hr
->
in_collection_set
())
{
if
(
hr
->
in_collection_set
())
{
gclog_or_tty
->
print_cr
(
"
\n
## humongous region %u in CSet"
,
i
);
gclog_or_tty
->
print_cr
(
"
\n
## humongous region %u in CSet"
,
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
if
(
cset_state
.
is_in_cset
())
{
if
(
cset_state
.
is_in_cset
())
{
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for humongous region %u"
,
cset_state
.
value
(),
i
);
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for humongous region %u"
,
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
if
(
hr
->
continuesHumongous
()
&&
cset_state
.
is_humongous
())
{
if
(
hr
->
continuesHumongous
()
&&
cset_state
.
is_humongous
())
{
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for continues humongous region %u"
,
cset_state
.
value
(),
i
);
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for continues humongous region %u"
,
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
}
else
{
}
else
{
if
(
cset_state
.
is_humongous
())
{
if
(
cset_state
.
is_humongous
())
{
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for non-humongous region %u"
,
cset_state
.
value
(),
i
);
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for non-humongous region %u"
,
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
if
(
hr
->
in_collection_set
()
!=
cset_state
.
is_in_cset
())
{
if
(
hr
->
in_collection_set
()
!=
cset_state
.
is_in_cset
())
{
gclog_or_tty
->
print_cr
(
"
\n
## in CSet %d / cset state %d inconsistency for region %u"
,
gclog_or_tty
->
print_cr
(
"
\n
## in CSet %d / cset state %d inconsistency for region %u"
,
hr
->
in_collection_set
(),
cset_state
.
value
(),
i
);
hr
->
in_collection_set
(),
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
if
(
cset_state
.
is_in_cset
())
{
if
(
cset_state
.
is_in_cset
())
{
if
(
hr
->
is_young
()
!=
(
cset_state
.
is_young
()))
{
if
(
hr
->
is_young
()
!=
(
cset_state
.
is_young
()))
{
gclog_or_tty
->
print_cr
(
"
\n
## is_young %d / cset state %d inconsistency for region %u"
,
gclog_or_tty
->
print_cr
(
"
\n
## is_young %d / cset state %d inconsistency for region %u"
,
hr
->
is_young
(),
cset_state
.
value
(),
i
);
hr
->
is_young
(),
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
if
(
hr
->
is_old
()
!=
(
cset_state
.
is_old
()))
{
if
(
hr
->
is_old
()
!=
(
cset_state
.
is_old
()))
{
gclog_or_tty
->
print_cr
(
"
\n
## is_old %d / cset state %d inconsistency for region %u"
,
gclog_or_tty
->
print_cr
(
"
\n
## is_old %d / cset state %d inconsistency for region %u"
,
hr
->
is_old
(),
cset_state
.
value
(),
i
);
hr
->
is_old
(),
cset_state
.
value
(),
i
);
failures
=
true
;
_
failures
=
true
;
break
;
return
true
;
}
}
}
}
}
}
return
false
;
}
}
return
!
failures
;
bool
failures
()
const
{
return
_failures
;
}
};
bool
G1CollectedHeap
::
check_cset_fast_test
()
{
G1CheckCSetFastTableClosure
cl
;
_hrm
.
iterate
(
&
cl
);
return
!
cl
.
failures
();
}
}
#endif // PRODUCT
#endif // PRODUCT
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
浏览文件 @
49ca2fb2
...
@@ -213,6 +213,9 @@ class G1CollectedHeap : public SharedHeap {
...
@@ -213,6 +213,9 @@ class G1CollectedHeap : public SharedHeap {
// Other related classes.
// Other related classes.
friend
class
G1MarkSweep
;
friend
class
G1MarkSweep
;
// Testing classes.
friend
class
G1CheckCSetFastTableClosure
;
private:
private:
// The one and only G1CollectedHeap, so static functions can find it.
// The one and only G1CollectedHeap, so static functions can find it.
static
G1CollectedHeap
*
_g1h
;
static
G1CollectedHeap
*
_g1h
;
...
...
src/share/vm/interpreter/bytecodeInterpreter.cpp
浏览文件 @
49ca2fb2
...
@@ -3432,7 +3432,7 @@ BytecodeInterpreter::print() {
...
@@ -3432,7 +3432,7 @@ BytecodeInterpreter::print() {
tty
->
print_cr
(
"osr._osr_buf: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_result
.
_osr
.
_osr_buf
);
tty
->
print_cr
(
"osr._osr_buf: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_result
.
_osr
.
_osr_buf
);
tty
->
print_cr
(
"osr._osr_entry: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_result
.
_osr
.
_osr_entry
);
tty
->
print_cr
(
"osr._osr_entry: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_result
.
_osr
.
_osr_entry
);
tty
->
print_cr
(
"prev_link: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_prev_link
);
tty
->
print_cr
(
"prev_link: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_prev_link
);
tty
->
print_cr
(
"native_mirror: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_oop_temp
);
tty
->
print_cr
(
"native_mirror: "
INTPTR_FORMAT
,
(
uintptr_t
)
p2i
(
this
->
_oop_temp
)
);
tty
->
print_cr
(
"stack_base: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_stack_base
);
tty
->
print_cr
(
"stack_base: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_stack_base
);
tty
->
print_cr
(
"stack_limit: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_stack_limit
);
tty
->
print_cr
(
"stack_limit: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_stack_limit
);
tty
->
print_cr
(
"monitor_base: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_monitor_base
);
tty
->
print_cr
(
"monitor_base: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_monitor_base
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录