Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
eaea6ac5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
eaea6ac5
编写于
7月 19, 2013
作者:
M
mgronlun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8020547: Event based tracing needs a UNICODE string type
Reviewed-by: egahlin, rbackman, dcubed, brutisso, acorn
上级
59ba465d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
40 deletion
+6
-40
src/share/vm/trace/traceDataTypes.hpp
src/share/vm/trace/traceDataTypes.hpp
+2
-0
src/share/vm/trace/tracetypes.xml
src/share/vm/trace/tracetypes.xml
+4
-16
src/share/vm/trace/xinclude.mod
src/share/vm/trace/xinclude.mod
+0
-24
未找到文件。
src/share/vm/trace/traceDataTypes.hpp
浏览文件 @
eaea6ac5
...
@@ -63,5 +63,7 @@ typedef u8 stacktraceid;
...
@@ -63,5 +63,7 @@ typedef u8 stacktraceid;
typedef
u8
methodid
;
typedef
u8
methodid
;
typedef
u8
fieldid
;
typedef
u8
fieldid
;
class
TraceUnicodeString
;
#endif // SHARE_VM_TRACE_TRACEDATATYPES_HPP
#endif // SHARE_VM_TRACE_TRACEDATATYPES_HPP
src/share/vm/trace/tracetypes.xml
浏览文件 @
eaea6ac5
...
@@ -55,18 +55,6 @@ Before we can use it we need also define a primary field data type:
...
@@ -55,18 +55,6 @@ Before we can use it we need also define a primary field data type:
type="u8" sizeop="sizeof(u1)"/>
type="u8" sizeop="sizeof(u1)"/>
Now we can use the content + data type in declaring event fields.
Now we can use the content + data type in declaring event fields.
Remember however, that for us to be able to resolve the value later we must also add
creating the constant pool data in VM_JFRCheckpoint::write_checkpoint
...
//CGMODE
w->be_uint(CONTENT_TYPE_GCMODE);
w->be_uint(MM_GC_MODE_UNINITIALIZED);
for (i = 0; i < MM_GC_MODE_UNINITIALIZED; i++) {
w->uchar(i);
w->write_utf8(gcModeGetName(i));
}
-->
-->
<types>
<types>
...
@@ -81,10 +69,6 @@ creating the constant pool data in VM_JFRCheckpoint::write_checkpoint
...
@@ -81,10 +69,6 @@ creating the constant pool data in VM_JFRCheckpoint::write_checkpoint
<value
type=
"OSTHREAD"
field=
"thread"
label=
"VM Thread"
/>
<value
type=
"OSTHREAD"
field=
"thread"
label=
"VM Thread"
/>
</content_type>
</content_type>
<!-- The first argument ("JavaThread") is misleading, it's really a
java.lang.Thread id (long), but Mission Control depends on the name
being "JavaThread" so it shouldn't be changed.
-->
<content_type
id=
"JavaThread"
hr_name=
"Java thread"
<content_type
id=
"JavaThread"
hr_name=
"Java thread"
type=
"U8"
builtin_type=
"JAVALANGTHREAD"
>
type=
"U8"
builtin_type=
"JAVALANGTHREAD"
>
<value
type=
"OSTHREAD"
field=
"thread"
label=
"OS Thread ID"
/>
<value
type=
"OSTHREAD"
field=
"thread"
label=
"OS Thread ID"
/>
...
@@ -285,6 +269,10 @@ creating the constant pool data in VM_JFRCheckpoint::write_checkpoint
...
@@ -285,6 +269,10 @@ creating the constant pool data in VM_JFRCheckpoint::write_checkpoint
<primary_type
symbol=
"UTF8"
datatype=
"UTF8"
contenttype=
"NONE"
<primary_type
symbol=
"UTF8"
datatype=
"UTF8"
contenttype=
"NONE"
type=
"const char *"
sizeop=
"sizeof_utf(%)"
/>
type=
"const char *"
sizeop=
"sizeof_utf(%)"
/>
<!-- UTF-16 encoded (Unicode) string, max length maxjuint -->
<primary_type
symbol=
"STRING"
datatype=
"STRING"
contenttype=
"NONE"
type=
"TraceUnicodeString*"
sizeop=
"sizeof_unicode(%)"
/>
<!-- Symbol* constant. Note that this may currently ONLY be used by
<!-- Symbol* constant. Note that this may currently ONLY be used by
classes, methods fields. This restriction might be lifted. -->
classes, methods fields. This restriction might be lifted. -->
<primary_type
symbol=
"SYMBOL"
datatype=
"U8"
contenttype=
"SYMBOL"
<primary_type
symbol=
"SYMBOL"
datatype=
"U8"
contenttype=
"SYMBOL"
...
...
src/share/vm/trace/xinclude.mod
浏览文件 @
eaea6ac5
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2012, 2013, 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
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
<!--
<!--
Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录