Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
8df4c2b0
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看板
提交
8df4c2b0
编写于
4月 03, 2015
作者:
A
amurillo
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
7459f9bf
5e168d74
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
51 addition
and
27 deletion
+51
-27
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
未找到文件。
agent/src/share/classes/com/sun/java/swing/action/ActionManager.java
浏览文件 @
8df4c2b0
...
...
@@ -46,6 +46,11 @@ public abstract class ActionManager
return
manager
;
}
protected
static
void
setInstance
(
ActionManager
m
)
{
manager
=
m
;
}
protected
abstract
void
addActions
();
protected
void
addAction
(
String
cmdname
,
Action
action
)
...
...
@@ -90,6 +95,6 @@ public abstract class ActionManager
private
HashMap
actions
;
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
浏览文件 @
8df4c2b0
...
...
@@ -32,10 +32,12 @@ import com.sun.java.swing.action.ActionManager;
public
class
HSDBActionManager
extends
ActionManager
{
public
static
ActionManager
getInstance
()
{
if
(
manager
==
null
)
{
manager
=
new
HSDBActionManager
();
ActionManager
m
=
ActionManager
.
getInstance
();
if
(
m
==
null
)
{
m
=
new
HSDBActionManager
();
ActionManager
.
setInstance
(
m
);
}
return
m
anager
;
return
m
;
}
protected
void
addActions
()
{
...
...
make/hotspot_version
浏览文件 @
8df4c2b0
...
...
@@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2015
HS_MAJOR_VER=25
HS_MINOR_VER=60
HS_BUILD_NUMBER=
09
HS_BUILD_NUMBER=
10
JDK_MAJOR_VER=1
JDK_MINOR_VER=8
...
...
src/cpu/zero/vm/cppInterpreter_zero.cpp
浏览文件 @
8df4c2b0
...
...
@@ -730,7 +730,7 @@ InterpreterFrame *InterpreterFrame::build(Method* const method, TRAPS) {
if
(
method
->
is_static
())
object
=
method
->
constants
()
->
pool_holder
()
->
java_mirror
();
else
object
=
(
oop
)
locals
[
0
];
object
=
(
oop
)
(
void
*
)
locals
[
0
];
monitor
->
set_obj
(
object
);
}
...
...
src/cpu/zero/vm/frame_zero.inline.hpp
浏览文件 @
8df4c2b0
...
...
@@ -26,6 +26,8 @@
#ifndef CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#define CPU_ZERO_VM_FRAME_ZERO_INLINE_HPP
#include "code/codeCache.hpp"
// Constructors
inline
frame
::
frame
()
{
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
浏览文件 @
8df4c2b0
...
...
@@ -6017,56 +6017,68 @@ void G1CollectedHeap::check_bitmaps(const char* caller) {
guarantee
(
!
cl
.
failures
(),
"bitmap verification"
);
}
bool
G1CollectedHeap
::
check_cset_fast_test
()
{
bool
failures
=
false
;
for
(
uint
i
=
0
;
i
<
_hrm
.
length
();
i
+=
1
)
{
HeapRegion
*
hr
=
_hrm
.
at
(
i
);
InCSetState
cset_state
=
(
InCSetState
)
_in_cset_fast_test
.
get_by_index
((
uint
)
i
);
class
G1CheckCSetFastTableClosure
:
public
HeapRegionClosure
{
private:
bool
_failures
;
public:
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
->
in_collection_set
())
{
gclog_or_tty
->
print_cr
(
"
\n
## humongous region %u in CSet"
,
i
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
if
(
cset_state
.
is_in_cset
())
{
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for humongous region %u"
,
cset_state
.
value
(),
i
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
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
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
}
else
{
if
(
cset_state
.
is_humongous
())
{
gclog_or_tty
->
print_cr
(
"
\n
## inconsistent cset state %d for non-humongous region %u"
,
cset_state
.
value
(),
i
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
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"
,
hr
->
in_collection_set
(),
cset_state
.
value
(),
i
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
if
(
cset_state
.
is_in_cset
())
{
if
(
hr
->
is_young
()
!=
(
cset_state
.
is_young
()))
{
gclog_or_tty
->
print_cr
(
"
\n
## is_young %d / cset state %d inconsistency for region %u"
,
hr
->
is_young
(),
cset_state
.
value
(),
i
);
failures
=
true
;
break
;
_
failures
=
true
;
return
true
;
}
if
(
hr
->
is_old
()
!=
(
cset_state
.
is_old
()))
{
gclog_or_tty
->
print_cr
(
"
\n
## is_old %d / cset state %d inconsistency for region %u"
,
hr
->
is_old
(),
cset_state
.
value
(),
i
);
failures
=
true
;
break
;
_
failures
=
true
;
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
...
...
src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
浏览文件 @
8df4c2b0
...
...
@@ -213,6 +213,9 @@ class G1CollectedHeap : public SharedHeap {
// Other related classes.
friend
class
G1MarkSweep
;
// Testing classes.
friend
class
G1CheckCSetFastTableClosure
;
private:
// The one and only G1CollectedHeap, so static functions can find it.
static
G1CollectedHeap
*
_g1h
;
...
...
src/share/vm/interpreter/bytecodeInterpreter.cpp
浏览文件 @
8df4c2b0
...
...
@@ -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_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
(
"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_limit: "
INTPTR_FORMAT
,
(
uintptr_t
)
this
->
_stack_limit
);
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录