Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
8bb317a2
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看板
提交
8bb317a2
编写于
12月 09, 2011
作者:
J
jmasa
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
a854dfe4
822cf714
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
24 addition
and
22 deletion
+24
-22
make/bsd/makefiles/gcc.make
make/bsd/makefiles/gcc.make
+1
-2
make/bsd/makefiles/top.make
make/bsd/makefiles/top.make
+3
-5
make/linux/makefiles/gcc.make
make/linux/makefiles/gcc.make
+1
-2
make/linux/makefiles/top.make
make/linux/makefiles/top.make
+3
-5
make/solaris/makefiles/gcc.make
make/solaris/makefiles/gcc.make
+1
-2
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
...ion/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+1
-1
src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
+9
-3
src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
+5
-2
未找到文件。
make/bsd/makefiles/gcc.make
浏览文件 @
8bb317a2
...
@@ -86,7 +86,6 @@ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
...
@@ -86,7 +86,6 @@ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
# Allow the user to turn off precompiled headers from the command line.
# Allow the user to turn off precompiled headers from the command line.
ifneq
($(USE_PRECOMPILED_HEADER),0)
ifneq
($(USE_PRECOMPILED_HEADER),0)
USE_PRECOMPILED_HEADER
=
1
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
...
@@ -216,7 +215,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
...
@@ -216,7 +215,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
endif
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
if
neq
($(USE_PRECOMPILED_HEADER),1
)
if
eq
($(USE_PRECOMPILED_HEADER),0
)
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
endif
endif
...
...
make/bsd/makefiles/top.make
浏览文件 @
8bb317a2
...
@@ -47,12 +47,10 @@ VM = $(GAMMADIR)/src/share/vm
...
@@ -47,12 +47,10 @@ VM = $(GAMMADIR)/src/share/vm
Plat_File
=
$(Platform_file)
Plat_File
=
$(Platform_file)
CDG
=
cd
$(GENERATED)
;
CDG
=
cd
$(GENERATED)
;
ifdef
USE_PRECOMPILED_HEADER
ifneq
($(USE_PRECOMPILED_HEADER),0)
PrecompiledOption
=
-DUSE_PRECOMPILED_HEADER
UpdatePCH
=
$(MAKE)
-f
vm.make
$(PRECOMPILED_HEADER)
$(MFLAGS)
UpdatePCH
=
$(MAKE)
-f
vm.make
$(PRECOMPILED_HEADER)
$(MFLAGS)
else
else
UpdatePCH
=
\#
precompiled header is not used
UpdatePCH
=
\#
precompiled header is not used
PrecompiledOption
=
endif
endif
Cached_plat
=
$(GENERATED)
/platform.current
Cached_plat
=
$(GENERATED)
/platform.current
...
...
make/linux/makefiles/gcc.make
浏览文件 @
8bb317a2
...
@@ -50,7 +50,6 @@ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
...
@@ -50,7 +50,6 @@ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
# Allow the user to turn off precompiled headers from the command line.
# Allow the user to turn off precompiled headers from the command line.
ifneq
($(USE_PRECOMPILED_HEADER),0)
ifneq
($(USE_PRECOMPILED_HEADER),0)
USE_PRECOMPILED_HEADER
=
1
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
...
@@ -165,7 +164,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
...
@@ -165,7 +164,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
endif
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
if
neq
($(USE_PRECOMPILED_HEADER),1
)
if
eq
($(USE_PRECOMPILED_HEADER),0
)
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
endif
endif
...
...
make/linux/makefiles/top.make
浏览文件 @
8bb317a2
...
@@ -47,12 +47,10 @@ VM = $(GAMMADIR)/src/share/vm
...
@@ -47,12 +47,10 @@ VM = $(GAMMADIR)/src/share/vm
Plat_File
=
$(Platform_file)
Plat_File
=
$(Platform_file)
CDG
=
cd
$(GENERATED)
;
CDG
=
cd
$(GENERATED)
;
ifdef
USE_PRECOMPILED_HEADER
ifneq
($(USE_PRECOMPILED_HEADER),0)
PrecompiledOption
=
-DUSE_PRECOMPILED_HEADER
UpdatePCH
=
$(MAKE)
-f
vm.make
$(PRECOMPILED_HEADER)
$(MFLAGS)
UpdatePCH
=
$(MAKE)
-f
vm.make
$(PRECOMPILED_HEADER)
$(MFLAGS)
else
else
UpdatePCH
=
\#
precompiled header is not used
UpdatePCH
=
\#
precompiled header is not used
PrecompiledOption
=
endif
endif
Cached_plat
=
$(GENERATED)
/platform.current
Cached_plat
=
$(GENERATED)
/platform.current
...
...
make/solaris/makefiles/gcc.make
浏览文件 @
8bb317a2
...
@@ -49,7 +49,6 @@ $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
...
@@ -49,7 +49,6 @@ $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
ifneq
"$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
# Allow the user to turn off precompiled headers from the command line.
# Allow the user to turn off precompiled headers from the command line.
ifneq
($(USE_PRECOMPILED_HEADER),0)
ifneq
($(USE_PRECOMPILED_HEADER),0)
USE_PRECOMPILED_HEADER
=
1
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_DIR
=
.
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER_SRC
=
$(GAMMADIR)
/src/share/vm/precompiled/precompiled.hpp
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
PRECOMPILED_HEADER
=
$(PRECOMPILED_HEADER_DIR)
/precompiled.hpp.gch
...
@@ -142,7 +141,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
...
@@ -142,7 +141,7 @@ DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
endif
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
if
neq
($(USE_PRECOMPILED_HEADER),1
)
if
eq
($(USE_PRECOMPILED_HEADER),0
)
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
CFLAGS
+=
-DDONT_USE_PRECOMPILED_HEADER
endif
endif
...
...
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
浏览文件 @
8bb317a2
...
@@ -4052,7 +4052,7 @@ class Par_ConcMarkingClosure: public Par_KlassRememberingOopClosure {
...
@@ -4052,7 +4052,7 @@ class Par_ConcMarkingClosure: public Par_KlassRememberingOopClosure {
Par_ConcMarkingClosure
(
CMSCollector
*
collector
,
CMSConcMarkingTask
*
task
,
OopTaskQueue
*
work_queue
,
Par_ConcMarkingClosure
(
CMSCollector
*
collector
,
CMSConcMarkingTask
*
task
,
OopTaskQueue
*
work_queue
,
CMSBitMap
*
bit_map
,
CMSMarkStack
*
overflow_stack
,
CMSBitMap
*
bit_map
,
CMSMarkStack
*
overflow_stack
,
CMSMarkStack
*
revisit_stack
)
:
CMSMarkStack
*
revisit_stack
)
:
Par_KlassRememberingOopClosure
(
collector
,
NULL
,
revisit_stack
),
Par_KlassRememberingOopClosure
(
collector
,
collector
->
ref_processor
()
,
revisit_stack
),
_task
(
task
),
_task
(
task
),
_span
(
collector
->
_span
),
_span
(
collector
->
_span
),
_work_queue
(
work_queue
),
_work_queue
(
work_queue
),
...
...
src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
浏览文件 @
8bb317a2
...
@@ -1549,9 +1549,15 @@ void G1CollectorPolicy::record_collection_pause_end(int no_of_gc_threads) {
...
@@ -1549,9 +1549,15 @@ void G1CollectorPolicy::record_collection_pause_end(int no_of_gc_threads) {
_partially_young_cards_per_entry_ratio_seq
->
add
(
cards_per_entry_ratio
);
_partially_young_cards_per_entry_ratio_seq
->
add
(
cards_per_entry_ratio
);
}
}
size_t
rs_length_diff
=
_max_rs_lengths
-
_recorded_rs_lengths
;
// It turns out that, sometimes, _max_rs_lengths can get smaller
if
(
rs_length_diff
>=
0
)
// than _recorded_rs_lengths which causes rs_length_diff to get
_rs_length_diff_seq
->
add
((
double
)
rs_length_diff
);
// very large and mess up the RSet length predictions. We'll be
// defensive until we work out why this happens.
size_t
rs_length_diff
=
0
;
if
(
_max_rs_lengths
>
_recorded_rs_lengths
)
{
rs_length_diff
=
_max_rs_lengths
-
_recorded_rs_lengths
;
}
_rs_length_diff_seq
->
add
((
double
)
rs_length_diff
);
size_t
copied_bytes
=
surviving_bytes
;
size_t
copied_bytes
=
surviving_bytes
;
double
cost_per_byte_ms
=
0.0
;
double
cost_per_byte_ms
=
0.0
;
...
...
src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp
浏览文件 @
8bb317a2
...
@@ -84,8 +84,11 @@ template <class T> inline void G1ParScanClosure::do_oop_nv(T* p) {
...
@@ -84,8 +84,11 @@ template <class T> inline void G1ParScanClosure::do_oop_nv(T* p) {
// slightly paranoid test; I'm trying to catch potential
// slightly paranoid test; I'm trying to catch potential
// problems before we go into push_on_queue to know where the
// problems before we go into push_on_queue to know where the
// problem is coming from
// problem is coming from
assert
(
obj
==
oopDesc
::
load_decode_heap_oop
(
p
),
assert
((
obj
==
oopDesc
::
load_decode_heap_oop
(
p
))
||
"p should still be pointing to obj"
);
(
obj
->
is_forwarded
()
&&
obj
->
forwardee
()
==
oopDesc
::
load_decode_heap_oop
(
p
)),
"p should still be pointing to obj or to its forwardee"
);
_par_scan_state
->
push_on_queue
(
p
);
_par_scan_state
->
push_on_queue
(
p
);
}
else
{
}
else
{
_par_scan_state
->
update_rs
(
_from
,
p
,
_par_scan_state
->
queue_num
());
_par_scan_state
->
update_rs
(
_from
,
p
,
_par_scan_state
->
queue_num
());
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录