Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f8aa0456
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看板
提交
f8aa0456
编写于
9月 13, 2013
作者:
T
twisti
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
上级
22b16f3b
变更
9
展开全部
显示空白变更内容
内联
并排
Showing
9 changed file
with
123 addition
and
18 deletion
+123
-18
agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
...t/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
+2
-0
src/share/vm/gc_implementation/g1/ptrQueue.hpp
src/share/vm/gc_implementation/g1/ptrQueue.hpp
+1
-0
src/share/vm/gc_implementation/g1/vmStructs_g1.hpp
src/share/vm/gc_implementation/g1/vmStructs_g1.hpp
+2
-1
src/share/vm/memory/universe.cpp
src/share/vm/memory/universe.cpp
+4
-4
src/share/vm/memory/universe.hpp
src/share/vm/memory/universe.hpp
+2
-0
src/share/vm/oops/klassVtable.hpp
src/share/vm/oops/klassVtable.hpp
+2
-0
src/share/vm/oops/methodData.hpp
src/share/vm/oops/methodData.hpp
+2
-0
src/share/vm/runtime/os.hpp
src/share/vm/runtime/os.hpp
+2
-0
src/share/vm/runtime/vmStructs.cpp
src/share/vm/runtime/vmStructs.cpp
+106
-13
未找到文件。
agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
浏览文件 @
f8aa0456
...
...
@@ -1213,6 +1213,7 @@ public class CommandProcessor {
}
HotSpotTypeDataBase
db
=
(
HotSpotTypeDataBase
)
agent
.
getTypeDataBase
();
if
(
t
.
countTokens
()
==
1
)
{
String
name
=
t
.
nextToken
();
out
.
println
(
"intConstant "
+
name
+
" "
+
db
.
lookupIntConstant
(
name
));
}
else
if
(
t
.
countTokens
()
==
0
)
{
Iterator
i
=
db
.
getIntConstants
();
...
...
@@ -1235,6 +1236,7 @@ public class CommandProcessor {
}
HotSpotTypeDataBase
db
=
(
HotSpotTypeDataBase
)
agent
.
getTypeDataBase
();
if
(
t
.
countTokens
()
==
1
)
{
String
name
=
t
.
nextToken
();
out
.
println
(
"longConstant "
+
name
+
" "
+
db
.
lookupLongConstant
(
name
));
}
else
if
(
t
.
countTokens
()
==
0
)
{
Iterator
i
=
db
.
getLongConstants
();
...
...
src/share/vm/gc_implementation/g1/ptrQueue.hpp
浏览文件 @
f8aa0456
...
...
@@ -38,6 +38,7 @@
class
PtrQueueSet
;
class
PtrQueue
VALUE_OBJ_CLASS_SPEC
{
friend
class
VMStructs
;
protected:
// The ptr queue set to which this queue belongs.
...
...
src/share/vm/gc_implementation/g1/vmStructs_g1.hpp
浏览文件 @
f8aa0456
...
...
@@ -32,6 +32,7 @@
#define VM_STRUCTS_G1(nonstatic_field, static_field) \
\
static_field(HeapRegion, GrainBytes, size_t) \
static_field(HeapRegion, LogOfHRGrainBytes, int) \
\
nonstatic_field(HeapRegionSeq, _regions, HeapRegion**) \
nonstatic_field(HeapRegionSeq, _length, uint) \
...
...
src/share/vm/memory/universe.cpp
浏览文件 @
f8aa0456
...
...
@@ -602,7 +602,7 @@ oop Universe::gen_out_of_memory_error(oop default_err) {
}
}
static
intptr_t
non_oop_bits
=
0
;
intptr_t
Universe
::
_
non_oop_bits
=
0
;
void
*
Universe
::
non_oop_word
()
{
// Neither the high bits nor the low bits of this value is allowed
...
...
@@ -616,11 +616,11 @@ void* Universe::non_oop_word() {
// Using the OS-supplied non-memory-address word (usually 0 or -1)
// will take care of the high bits, however many there are.
if
(
non_oop_bits
==
0
)
{
non_oop_bits
=
(
intptr_t
)
os
::
non_memory_address_word
()
|
1
;
if
(
_
non_oop_bits
==
0
)
{
_
non_oop_bits
=
(
intptr_t
)
os
::
non_memory_address_word
()
|
1
;
}
return
(
void
*
)
non_oop_bits
;
return
(
void
*
)
_
non_oop_bits
;
}
jint
universe_init
()
{
...
...
src/share/vm/memory/universe.hpp
浏览文件 @
f8aa0456
...
...
@@ -179,6 +179,8 @@ class Universe: AllStatic {
// The particular choice of collected heap.
static
CollectedHeap
*
_collectedHeap
;
static
intptr_t
_non_oop_bits
;
// For UseCompressedOops.
static
struct
NarrowPtrStruct
_narrow_oop
;
// For UseCompressedKlassPointers.
...
...
src/share/vm/oops/klassVtable.hpp
浏览文件 @
f8aa0456
...
...
@@ -150,6 +150,8 @@ class klassVtable : public ResourceObj {
// from_compiled_code_entry_point -> nmethod entry point
// from_interpreter_entry_point -> i2cadapter
class
vtableEntry
VALUE_OBJ_CLASS_SPEC
{
friend
class
VMStructs
;
public:
// size in words
static
int
size
()
{
...
...
src/share/vm/oops/methodData.hpp
浏览文件 @
f8aa0456
...
...
@@ -72,6 +72,8 @@ class ProfileData;
//
// Overlay for generic profiling data.
class
DataLayout
VALUE_OBJ_CLASS_SPEC
{
friend
class
VMStructs
;
private:
// Every data layout begins with a header. This header
// contains a tag, which is used to indicate the size/layout
...
...
src/share/vm/runtime/os.hpp
浏览文件 @
f8aa0456
...
...
@@ -91,6 +91,8 @@ const bool ExecMem = true;
typedef
void
(
*
java_call_t
)(
JavaValue
*
value
,
methodHandle
*
method
,
JavaCallArguments
*
args
,
Thread
*
thread
);
class
os
:
AllStatic
{
friend
class
VMStructs
;
public:
enum
{
page_sizes_max
=
9
};
// Size of _page_sizes array (8 plus a sentinel)
...
...
src/share/vm/runtime/vmStructs.cpp
浏览文件 @
f8aa0456
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录