Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
55f59a65
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看板
提交
55f59a65
编写于
9月 18, 2013
作者:
B
bdelsart
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
c4ea8057
1becb696
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
30 addition
and
22 deletion
+30
-22
make/excludeSrc.make
make/excludeSrc.make
+1
-1
src/os/windows/vm/os_windows.cpp
src/os/windows/vm/os_windows.cpp
+1
-1
src/share/vm/gc_implementation/shared/allocationStats.hpp
src/share/vm/gc_implementation/shared/allocationStats.hpp
+2
-4
src/share/vm/gc_implementation/shared/hSpaceCounters.hpp
src/share/vm/gc_implementation/shared/hSpaceCounters.hpp
+1
-3
src/share/vm/memory/binaryTreeDictionary.cpp
src/share/vm/memory/binaryTreeDictionary.cpp
+2
-2
src/share/vm/prims/jvmti.xml
src/share/vm/prims/jvmti.xml
+4
-2
src/share/vm/runtime/arguments.hpp
src/share/vm/runtime/arguments.hpp
+1
-1
src/share/vm/runtime/os.cpp
src/share/vm/runtime/os.cpp
+3
-2
src/share/vm/runtime/thread.cpp
src/share/vm/runtime/thread.cpp
+1
-1
src/share/vm/utilities/yieldingWorkgroup.hpp
src/share/vm/utilities/yieldingWorkgroup.hpp
+1
-4
test/TEST.groups
test/TEST.groups
+13
-1
未找到文件。
make/excludeSrc.make
浏览文件 @
55f59a65
...
...
@@ -99,7 +99,7 @@ ifeq ($(INCLUDE_ALL_GCS), false)
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 yieldingWorkGroup.cpp
mutableNUMASpace.cpp immutableSpace.cpp yieldingWorkGroup.cpp
hSpaceCounters.cpp
endif
ifeq
($(INCLUDE_NMT), false)
...
...
src/os/windows/vm/os_windows.cpp
浏览文件 @
55f59a65
...
...
@@ -5429,7 +5429,7 @@ char* os::build_agent_function_name(const char *sym_name, const char *lib_name,
if
((
start
=
strrchr
(
lib_name
,
*
os
::
file_separator
()))
!=
NULL
)
{
lib_name
=
++
start
;
}
else
{
// Need to check for
C:
// Need to check for
drive prefix
if
((
start
=
strchr
(
lib_name
,
':'
))
!=
NULL
)
{
lib_name
=
++
start
;
}
...
...
src/share/vm/gc_implementation/shared/allocationStats.hpp
浏览文件 @
55f59a65
/*
* Copyright (c) 2001, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 201
3
, 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
...
...
@@ -26,11 +26,9 @@
#define SHARE_VM_GC_IMPLEMENTATION_SHARED_ALLOCATIONSTATS_HPP
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
#include "gc_implementation/shared/gcUtil.hpp"
#include "memory/allocation.hpp"
#include "utilities/globalDefinitions.hpp"
#
endif // INCLUDE_ALL_GCS
#
include "gc_implementation/shared/gcUtil.hpp"
class
AllocationStats
VALUE_OBJ_CLASS_SPEC
{
// A duration threshold (in ms) used to filter
...
...
src/share/vm/gc_implementation/shared/hSpaceCounters.hpp
浏览文件 @
55f59a65
/*
* Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 201
3
, 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
...
...
@@ -26,11 +26,9 @@
#define SHARE_VM_GC_IMPLEMENTATION_SHARED_HSPACECOUNTERS_HPP
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
#include "gc_implementation/shared/generationCounters.hpp"
#include "memory/generation.hpp"
#include "runtime/perfData.hpp"
#endif // INCLUDE_ALL_GCS
// A HSpaceCounter is a holder class for performance counters
// that track a collections (logical spaces) in a heap;
...
...
src/share/vm/memory/binaryTreeDictionary.cpp
浏览文件 @
55f59a65
/*
* Copyright (c) 2001, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 201
3
, 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
...
...
@@ -33,10 +33,10 @@
#include "runtime/globals.hpp"
#include "utilities/ostream.hpp"
#include "utilities/macros.hpp"
#include "gc_implementation/shared/spaceDecorator.hpp"
#if INCLUDE_ALL_GCS
#include "gc_implementation/concurrentMarkSweep/adaptiveFreeList.hpp"
#include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
#include "gc_implementation/shared/spaceDecorator.hpp"
#include "gc_implementation/concurrentMarkSweep/freeChunk.hpp"
#endif // INCLUDE_ALL_GCS
...
...
src/share/vm/prims/jvmti.xml
浏览文件 @
55f59a65
...
...
@@ -458,8 +458,10 @@
the same name from being loaded dynamically.
<p/>
The VM will invoke the Agent_OnUnload_L function of the agent, if such
a function is exported, at the same point during startup as it would
have called the dynamic entry point Agent_OnUnLoad.
a function is exported, at the same point during VM execution as it would
have called the dynamic entry point Agent_OnUnLoad. A statically loaded
agent cannot be unloaded. The Agent_OnUnload_L function will still be
called to do any other agent shutdown related tasks.
If a
<i>
statically linked
</i>
agent L exports a function called
Agent_OnUnLoad_L and a function called Agent_OnUnLoad, the Agent_OnUnLoad
function will be ignored.
...
...
src/share/vm/runtime/arguments.hpp
浏览文件 @
55f59a65
...
...
@@ -144,7 +144,7 @@ public:
void
set_os_lib
(
void
*
os_lib
)
{
_os_lib
=
os_lib
;
}
AgentLibrary
*
next
()
const
{
return
_next
;
}
bool
is_static_lib
()
const
{
return
_is_static_lib
;
}
void
set_static_lib
(
bool
static_lib
)
{
_is_static_lib
=
static_lib
;
}
void
set_static_lib
(
bool
is_static_lib
)
{
_is_static_lib
=
is_
static_lib
;
}
bool
valid
()
{
return
(
_state
==
agent_valid
);
}
void
set_valid
()
{
_state
=
agent_valid
;
}
void
set_invalid
()
{
_state
=
agent_invalid
;
}
...
...
src/share/vm/runtime/os.cpp
浏览文件 @
55f59a65
...
...
@@ -454,6 +454,7 @@ void* os::native_java_library() {
*/
void
*
os
::
find_agent_function
(
AgentLibrary
*
agent_lib
,
bool
check_lib
,
const
char
*
syms
[],
size_t
syms_len
)
{
assert
(
agent_lib
!=
NULL
,
"sanity check"
);
const
char
*
lib_name
;
void
*
handle
=
agent_lib
->
os_lib
();
void
*
entryName
=
NULL
;
...
...
@@ -484,6 +485,7 @@ bool os::find_builtin_agent(AgentLibrary *agent_lib, const char *syms[],
void
*
proc_handle
;
void
*
save_handle
;
assert
(
agent_lib
!=
NULL
,
"sanity check"
);
if
(
agent_lib
->
name
()
==
NULL
)
{
return
false
;
}
...
...
@@ -493,14 +495,13 @@ bool os::find_builtin_agent(AgentLibrary *agent_lib, const char *syms[],
// We want to look in this process' symbol table.
agent_lib
->
set_os_lib
(
proc_handle
);
ret
=
find_agent_function
(
agent_lib
,
true
,
syms
,
syms_len
);
agent_lib
->
set_os_lib
(
save_handle
);
if
(
ret
!=
NULL
)
{
// Found an entry point like Agent_OnLoad_lib_name so we have a static agent
agent_lib
->
set_os_lib
(
proc_handle
);
agent_lib
->
set_valid
();
agent_lib
->
set_static_lib
(
true
);
return
true
;
}
agent_lib
->
set_os_lib
(
save_handle
);
return
false
;
}
...
...
src/share/vm/runtime/thread.cpp
浏览文件 @
55f59a65
...
...
@@ -3716,7 +3716,7 @@ static OnLoadEntry_t lookup_on_load(AgentLibrary* agent, const char *on_load_sym
const
char
*
name
=
agent
->
name
();
const
char
*
msg
=
"Could not find agent library "
;
// First check to see if agent is statcally linked into executable
// First check to see if agent is stat
i
cally linked into executable
if
(
os
::
find_builtin_agent
(
agent
,
on_load_symbols
,
num_symbol_entries
))
{
library
=
agent
->
os_lib
();
}
else
if
(
agent
->
is_absolute_path
())
{
...
...
src/share/vm/utilities/yieldingWorkgroup.hpp
浏览文件 @
55f59a65
/*
* Copyright (c) 2005, 201
0
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
3
, 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
...
...
@@ -26,10 +26,7 @@
#define SHARE_VM_UTILITIES_YIELDINGWORKGROUP_HPP
#include "utilities/macros.hpp"
#if INCLUDE_ALL_GCS
#include "utilities/workgroup.hpp"
#endif // INCLUDE_ALL_GCS
// Forward declarations
class
YieldingFlexibleWorkGang
;
...
...
test/TEST.groups
浏览文件 @
55f59a65
...
...
@@ -84,6 +84,7 @@ needs_jdk = \
runtime/NMT/ThreadedVirtualAllocTestType.java \
runtime/NMT/VirtualAllocTestType.java \
runtime/RedefineObject/TestRedefineObject.java \
runtime/XCheckJniJsig/XCheckJSig.java \
serviceability/attach/AttachWithStalePidFile.java
# JRE adds further tests to compact3
...
...
@@ -159,7 +160,18 @@ needs_full_vm_compact1 = \
gc/g1/TestRegionAlignment.java \
gc/g1/TestShrinkToOneRegion.java \
gc/metaspace/G1AddMetaspaceDependency.java \
runtime/6929067/Test6929067.sh
gc/startup_warnings/TestCMS.java \
gc/startup_warnings/TestCMSIncrementalMode.java \
gc/startup_warnings/TestCMSNoIncrementalMode.java \
gc/startup_warnings/TestDefaultMaxRAMFraction.java \
gc/startup_warnings/TestDefNewCMS.java \
gc/startup_warnings/TestIncGC.java \
gc/startup_warnings/TestParallelGC.java \
gc/startup_warnings/TestParallelScavengeSerialOld.java \
gc/startup_warnings/TestParNewCMS.java \
gc/startup_warnings/TestParNewSerialOld.java \
runtime/6929067/Test6929067.sh \
runtime/SharedArchiveFile/SharedArchiveFile.java
# Minimal VM on Compact 2 adds in some compact2 tests
#
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录