Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea91ff0

Browse files
Update memory-area.md
1 parent e6f9dae commit ea91ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/java/jvm/memory-area.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Java 对象的创建过程我建议最好是能默写出来,并且要掌握每
337337
对象头包括两部分信息:
338338
339339
1. 标记字段(Mark Word):用于存储对象自身的运行时数据, 如哈希码(HashCode)、GC 分代年龄、锁状态标志、线程持有的锁、偏向线程 ID、偏向时间戳等等。
340-
2. 类型指针(Klass Word):对象指向它的类元数据的指针,虚拟机通过这个指针来确定这个对象是哪个类的实例。
340+
2. 类型指针(Klass pointer):对象指向它的类元数据的指针,虚拟机通过这个指针来确定这个对象是哪个类的实例。
341341
342342
**实例数据部分是对象真正存储的有效信息**,也是在程序中所定义的各种类型的字段内容。
343343

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /