Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
6aa5de6f
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看板
提交
6aa5de6f
编写于
11月 19, 2014
作者:
M
mgronlun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank
上级
4bd1eeda
变更
13
显示空白变更内容
内联
并排
Showing
13 changed file
with
30 addition
and
46 deletion
+30
-46
src/share/vm/classfile/classLoaderData.cpp
src/share/vm/classfile/classLoaderData.cpp
+2
-3
src/share/vm/classfile/classLoaderData.hpp
src/share/vm/classfile/classLoaderData.hpp
+2
-1
src/share/vm/classfile/systemDictionary.cpp
src/share/vm/classfile/systemDictionary.cpp
+2
-3
src/share/vm/gc_implementation/shared/objectCountEventSender.cpp
...re/vm/gc_implementation/shared/objectCountEventSender.cpp
+1
-1
src/share/vm/trace/noTraceBackend.hpp
src/share/vm/trace/noTraceBackend.hpp
+1
-1
src/share/vm/trace/traceBackend.hpp
src/share/vm/trace/traceBackend.hpp
+3
-7
src/share/vm/trace/traceEvent.hpp
src/share/vm/trace/traceEvent.hpp
+2
-4
src/share/vm/trace/traceEventClasses.xsl
src/share/vm/trace/traceEventClasses.xsl
+3
-7
src/share/vm/trace/traceEventIds.xsl
src/share/vm/trace/traceEventIds.xsl
+4
-6
src/share/vm/trace/traceMacros.hpp
src/share/vm/trace/traceMacros.hpp
+3
-3
src/share/vm/trace/traceStream.hpp
src/share/vm/trace/traceStream.hpp
+2
-4
src/share/vm/trace/traceTypes.xsl
src/share/vm/trace/traceTypes.xsl
+4
-5
src/share/vm/trace/tracing.hpp
src/share/vm/trace/tracing.hpp
+1
-1
未找到文件。
src/share/vm/classfile/classLoaderData.cpp
浏览文件 @
6aa5de6f
...
...
@@ -64,9 +64,8 @@
#include "utilities/growableArray.hpp"
#include "utilities/macros.hpp"
#include "utilities/ostream.hpp"
#if INCLUDE_TRACE
#include "trace/tracing.hpp"
#include "trace/tracing.hpp"
#endif
ClassLoaderData
*
ClassLoaderData
::
_the_null_class_loader_data
=
NULL
;
...
...
@@ -984,4 +983,4 @@ void ClassLoaderDataGraph::class_unload_event(Klass* const k) {
event
.
commit
();
}
#endif
/
* INCLUDE_TRACE */
#endif /
/ INCLUDE_TRACE
src/share/vm/classfile/classLoaderData.hpp
浏览文件 @
6aa5de6f
...
...
@@ -31,8 +31,9 @@
#include "memory/metaspaceCounters.hpp"
#include "runtime/mutex.hpp"
#include "utilities/growableArray.hpp"
#include "utilities/macros.hpp"
#if INCLUDE_TRACE
#
include "utilities/ticks.hpp"
#include "utilities/ticks.hpp"
#endif
//
...
...
src/share/vm/classfile/systemDictionary.cpp
浏览文件 @
6aa5de6f
...
...
@@ -64,9 +64,8 @@
#include "services/threadService.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
#if INCLUDE_TRACE
#include "trace/tracing.hpp"
#include "trace/tracing.hpp"
#endif
Dictionary
*
SystemDictionary
::
_dictionary
=
NULL
;
...
...
@@ -2664,7 +2663,7 @@ void SystemDictionary::post_class_load_event(const Ticks& start_time,
class_loader
->
klass
()
:
(
Klass
*
)
NULL
);
event
.
commit
();
}
#endif
/
* INCLUDE_TRACE */
#endif /
/ INCLUDE_TRACE
}
#ifndef PRODUCT
...
...
src/share/vm/gc_implementation/shared/objectCountEventSender.cpp
浏览文件 @
6aa5de6f
...
...
@@ -29,8 +29,8 @@
#include "memory/heapInspection.hpp"
#include "trace/tracing.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
#if INCLUDE_SERVICES
void
ObjectCountEventSender
::
send
(
const
KlassInfoEntry
*
entry
,
GCId
gc_id
,
const
Ticks
&
timestamp
)
{
...
...
src/share/vm/trace/noTraceBackend.hpp
浏览文件 @
6aa5de6f
...
...
@@ -41,4 +41,4 @@ public:
typedef
NoTraceBackend
Tracing
;
#endif
#endif
// SHARE_VM_TRACE_NOTRACEBACKEND_HPP
src/share/vm/trace/traceBackend.hpp
浏览文件 @
6aa5de6f
...
...
@@ -25,9 +25,7 @@
#define SHARE_VM_TRACE_TRACEBACKEND_HPP
#include "utilities/macros.hpp"
#if INCLUDE_TRACE
#include "runtime/globals.hpp"
#include "runtime/os.hpp"
#include "trace/traceTime.hpp"
...
...
@@ -58,9 +56,7 @@ public:
typedef
TraceBackend
Tracing
;
#else
/* INCLUDE_TRACE */
#else // !INCLUDE_TRACE
#include "trace/noTraceBackend.hpp"
#endif
/* INCLUDE_TRACE */
#endif
/* SHARE_VM_TRACE_TRACEBACKEND_HPP */
#endif // INCLUDE_TRACE
#endif // SHARE_VM_TRACE_TRACEBACKEND_HPP
src/share/vm/trace/traceEvent.hpp
浏览文件 @
6aa5de6f
...
...
@@ -33,7 +33,6 @@ enum EventStartTime {
};
#if INCLUDE_TRACE
#include "trace/traceBackend.hpp"
#include "trace/tracing.hpp"
#include "tracefiles/traceEventIds.hpp"
...
...
@@ -154,6 +153,5 @@ class TraceEvent : public StackObj {
}
};
#endif
/* INCLUDE_TRACE */
#endif
/* SHARE_VM_TRACE_TRACEEVENT_HPP */
#endif // INCLUDE_TRACE
#endif // SHARE_VM_TRACE_TRACEEVENT_HPP
src/share/vm/trace/traceEventClasses.xsl
浏览文件 @
6aa5de6f
...
...
@@ -41,17 +41,14 @@
#include "trace/traceEvent.hpp"
#include "utilities/macros.hpp"
#include "utilities/ticks.hpp"
#if INCLUDE_TRACE
#include "trace/traceStream.hpp"
#include "utilities/ostream.hpp"
<xsl:apply-templates
select=
"trace/events/struct"
mode=
"trace"
/>
<xsl:apply-templates
select=
"trace/events/event"
mode=
"trace"
/>
#else
#else
// !INCLUDE_TRACE
class TraceEvent {
public:
...
...
@@ -65,9 +62,8 @@ public:
<xsl:apply-templates
select=
"trace/events/struct"
mode=
"empty"
/>
<xsl:apply-templates
select=
"trace/events/event"
mode=
"empty"
/>
#endif
#endif
#endif // INCLUDE_TRACE
#endif // TRACEFILES_TRACEEVENTCLASSES_HPP
</xsl:template>
<xsl:template
match=
"struct"
mode=
"trace"
>
...
...
src/share/vm/trace/traceEventIds.xsl
浏览文件 @
6aa5de6f
...
...
@@ -29,13 +29,11 @@
<xsl:template
match=
"/"
>
<xsl:call-template
name=
"file-header"
/>
#ifndef TRACEFILES_
JFR
EVENTIDS_HPP
#define TRACEFILES_
JFR
EVENTIDS_HPP
#ifndef TRACEFILES_
TRACE
EVENTIDS_HPP
#define TRACEFILES_
TRACE
EVENTIDS_HPP
#include "utilities/macros.hpp"
#if INCLUDE_TRACE
#include "trace/traceDataTypes.hpp"
/**
...
...
@@ -67,8 +65,8 @@ enum TraceStructId {
typedef enum TraceEventId TraceEventId;
typedef enum TraceStructId TraceStructId;
#endif
#endif
#endif
// INCLUDE_TRACE
#endif
// TRACEFILES_TRACEEVENTIDS_HPP
</xsl:template>
</xsl:stylesheet>
src/share/vm/trace/traceMacros.hpp
浏览文件 @
6aa5de6f
...
...
@@ -22,8 +22,8 @@
*
*/
#ifndef SHARE_VM_TRACE_TRACE
_MACRO
_HPP
#define SHARE_VM_TRACE_TRACE
_MACRO
_HPP
#ifndef SHARE_VM_TRACE_TRACE
MACROS
_HPP
#define SHARE_VM_TRACE_TRACE
MACROS
_HPP
#define EVENT_THREAD_EXIT(thread)
#define EVENT_THREAD_DESTRUCT(thread)
...
...
@@ -41,4 +41,4 @@
#define TRACE_TEMPLATES(template)
#define TRACE_INTRINSICS(do_intrinsic, do_class, do_name, do_signature, do_alias)
#endif
#endif
// SHARE_VM_TRACE_TRACEMACROS_HPP
src/share/vm/trace/traceStream.hpp
浏览文件 @
6aa5de6f
...
...
@@ -26,9 +26,7 @@
#define SHARE_VM_TRACE_TRACESTREAM_HPP
#include "utilities/macros.hpp"
#if INCLUDE_TRACE
#include "oops/klass.hpp"
#include "oops/method.hpp"
#include "oops/symbol.hpp"
...
...
@@ -117,5 +115,5 @@ class TraceStream : public StackObj {
}
};
#endif
/
* INCLUDE_TRACE */
#endif
/
* SHARE_VM_TRACE_TRACESTREAM_HPP */
#endif /
/ INCLUDE_TRACE
#endif /
/ SHARE_VM_TRACE_TRACESTREAM_HPP
src/share/vm/trace/traceTypes.xsl
浏览文件 @
6aa5de6f
...
...
@@ -29,15 +29,14 @@
<xsl:template
match=
"/"
>
<xsl:call-template
name=
"file-header"
/>
#ifndef TRACEFILES_
JFR
TYPES_HPP
#define TRACEFILES_
JFR
TYPES_HPP
#ifndef TRACEFILES_
TRACE
TYPES_HPP
#define TRACEFILES_
TRACE
TYPES_HPP
#include "oops/symbol.hpp"
#include "trace/traceDataTypes.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/ticks.hpp"
enum JVMContentType {
_not_a_content_type = (JVM_CONTENT_TYPES_START - 1),
...
...
@@ -58,7 +57,7 @@ enum JVMEventRelations {
};
/**
* Create typedefs for the
JRA
types:
* Create typedefs for the
TRACE
types:
* typedef s8 TYPE_LONG;
* typedef s4 TYPE_INTEGER;
* typedef const char * TYPE_STRING;
...
...
@@ -68,7 +67,7 @@ enum JVMEventRelations {
typedef
<xsl:value-of
select=
"@type"
/>
TYPE_
<xsl:value-of
select=
"@symbol"
/>
;
</xsl:for-each>
#endif //
JFRFILES_JFR
TYPES_HPP
#endif //
TRACEFILES_TRACE
TYPES_HPP
</xsl:template>
</xsl:stylesheet>
src/share/vm/trace/tracing.hpp
浏览文件 @
6aa5de6f
...
...
@@ -28,4 +28,4 @@
#include "tracefiles/traceEventClasses.hpp"
#include "tracefiles/traceEventIds.hpp"
#endif
#endif
// SHARE_VM_TRACE_TRACING_HPP
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录