Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
da4ddc24
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看板
提交
da4ddc24
编写于
2月 21, 2013
作者:
V
vladidan
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
96bc443a
ec612444
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
40 addition
and
34 deletion
+40
-34
make/excludeSrc.make
make/excludeSrc.make
+3
-3
src/share/vm/c1/c1_LIR.cpp
src/share/vm/c1/c1_LIR.cpp
+1
-1
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+36
-28
src/share/vm/utilities/yieldingWorkgroup.cpp
src/share/vm/utilities/yieldingWorkgroup.cpp
+0
-2
未找到文件。
make/excludeSrc.make
浏览文件 @
da4ddc24
...
...
@@ -78,7 +78,7 @@ ifeq ($(INCLUDE_ALL_GCS), false)
Src_Files_EXCLUDE
+=
\
cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp
\
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp c
msPermGen.cpp c
ompactibleFreeListSpace.cpp
\
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp
\
concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp
\
freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp
\
concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp
\
...
...
@@ -91,11 +91,11 @@ ifeq ($(INCLUDE_ALL_GCS), false)
gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp
\
pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp
\
psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp
\
psP
ermGen.cpp psP
romotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp
\
psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp
\
psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp
\
parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp
\
spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp
\
immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yield
Working
Group.cpp g1Log.cpp
immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yield
ingWork
Group.cpp g1Log.cpp
endif
ifeq
($(INCLUDE_NMT), false)
...
...
src/share/vm/c1/c1_LIR.cpp
浏览文件 @
da4ddc24
...
...
@@ -814,7 +814,7 @@ void LIR_OpVisitState::visit(LIR_Op* op) {
// only visit register parameters
int
n
=
opJavaCall
->
_arguments
->
length
();
for
(
int
i
=
0
;
i
<
n
;
i
++
)
{
for
(
int
i
=
opJavaCall
->
_receiver
->
is_valid
()
?
1
:
0
;
i
<
n
;
i
++
)
{
if
(
!
opJavaCall
->
_arguments
->
at
(
i
)
->
is_pointer
())
{
do_input
(
*
opJavaCall
->
_arguments
->
adr_at
(
i
));
}
...
...
src/share/vm/runtime/arguments.cpp
浏览文件 @
da4ddc24
...
...
@@ -1738,16 +1738,6 @@ bool Arguments::verify_percentage(uintx value, const char* name) {
return
false
;
}
static
void
force_serial_gc
()
{
FLAG_SET_DEFAULT
(
UseSerialGC
,
true
);
FLAG_SET_DEFAULT
(
UseParNewGC
,
false
);
FLAG_SET_DEFAULT
(
UseConcMarkSweepGC
,
false
);
FLAG_SET_DEFAULT
(
CMSIncrementalMode
,
false
);
// special CMS suboption
FLAG_SET_DEFAULT
(
UseParallelGC
,
false
);
FLAG_SET_DEFAULT
(
UseParallelOldGC
,
false
);
FLAG_SET_DEFAULT
(
UseG1GC
,
false
);
}
static
bool
verify_serial_gc_flags
()
{
return
(
UseSerialGC
&&
!
(
UseParNewGC
||
(
UseConcMarkSweepGC
||
CMSIncrementalMode
)
||
UseG1GC
||
...
...
@@ -2498,7 +2488,12 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args,
}
// Out of the box management support
if
(
match_option
(
option
,
"-Dcom.sun.management"
,
&
tail
))
{
#if INCLUDE_MANAGEMENT
FLAG_SET_CMDLINE
(
bool
,
ManagementServer
,
true
);
#else
vm_exit_during_initialization
(
"-Dcom.sun.management is not supported in this VM."
,
NULL
);
#endif
}
// -Xint
}
else
if
(
match_option
(
option
,
"-Xint"
,
&
tail
))
{
...
...
@@ -2844,6 +2839,11 @@ SOLARIS_ONLY(
// away and will cause VM initialization failures!
warning
(
"-XX:+UseVMInterruptibleIO is obsolete and will be removed in a future release."
);
FLAG_SET_CMDLINE
(
bool
,
UseVMInterruptibleIO
,
true
);
#if !INCLUDE_MANAGEMENT
}
else
if
(
match_option
(
option
,
"-XX:+ManagementServer"
,
&
tail
))
{
vm_exit_during_initialization
(
"ManagementServer is not supported in this VM."
,
NULL
);
#endif // INCLUDE_MANAGEMENT
}
else
if
(
match_option
(
option
,
"-XX:"
,
&
tail
))
{
// -XX:xxxx
// Skip -XX:Flags= since that case has already been handled
if
(
strncmp
(
tail
,
"Flags="
,
strlen
(
"Flags="
))
!=
0
)
{
...
...
@@ -3072,6 +3072,27 @@ do { \
} \
} while(0)
#define UNSUPPORTED_GC_OPTION(gc) \
do { \
if (gc) { \
if (FLAG_IS_CMDLINE(gc)) { \
warning(#gc " is not supported in this VM. Using Serial GC."); \
} \
FLAG_SET_DEFAULT(gc, false); \
} \
} while(0)
static
void
force_serial_gc
()
{
FLAG_SET_DEFAULT
(
UseSerialGC
,
true
);
FLAG_SET_DEFAULT
(
CMSIncrementalMode
,
false
);
// special CMS suboption
UNSUPPORTED_GC_OPTION
(
UseG1GC
);
UNSUPPORTED_GC_OPTION
(
UseParallelGC
);
UNSUPPORTED_GC_OPTION
(
UseParallelOldGC
);
UNSUPPORTED_GC_OPTION
(
UseConcMarkSweepGC
);
UNSUPPORTED_GC_OPTION
(
UseParNewGC
);
}
// Parse entry point called from JNI_CreateJavaVM
jint
Arguments
::
parse
(
const
JavaVMInitArgs
*
args
)
{
...
...
@@ -3187,28 +3208,15 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
hotspotrc
,
hotspotrc
);
}
#if (defined JAVASE_EMBEDDED || defined ARM)
UNSUPPORTED_OPTION
(
UseG1GC
,
"G1 GC"
);
#endif
#ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD.
UNSUPPORTED_OPTION
(
UseLargePages
,
"-XX:+UseLargePages"
);
#endif
#if !INCLUDE_ALL_GCS
if
(
UseParallelGC
)
{
warning
(
"Parallel GC is not supported in this VM. Using Serial GC."
);
}
if
(
UseParallelOldGC
)
{
warning
(
"Parallel Old GC is not supported in this VM. Using Serial GC."
);
}
if
(
UseConcMarkSweepGC
)
{
warning
(
"Concurrent Mark Sweep GC is not supported in this VM. Using Serial GC."
);
}
if
(
UseParNewGC
)
{
warning
(
"Par New GC is not supported in this VM. Using Serial GC."
);
}
#endif // INCLUDE_ALL_GCS
#if INCLUDE_ALL_GCS
#if (defined JAVASE_EMBEDDED || defined ARM)
UNSUPPORTED_OPTION
(
UseG1GC
,
"G1 GC"
);
#endif
#endif
#ifndef PRODUCT
if
(
TraceBytecodesAt
!=
0
)
{
...
...
src/share/vm/utilities/yieldingWorkgroup.cpp
浏览文件 @
da4ddc24
...
...
@@ -24,9 +24,7 @@
#include "precompiled.hpp"
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
#include "utilities/yieldingWorkgroup.hpp"
#endif // INCLUDE_ALL_GCS
// Forward declaration of classes declared here.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录