Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

10 - Java对象的内存布局 #4

Open
TFdream opened this issue Apr 7, 2021 · 0 comments
Open

10 - Java对象的内存布局 #4

TFdream opened this issue Apr 7, 2021 · 0 comments

Comments

@TFdream
Copy link
Owner

TFdream commented Apr 7, 2021

在 Java 虚拟机中,每个 Java 对象都有一个对象头(object header),这个由标记字段和类型指针所构成。其中,标记字段用以存储 Java 虚拟机有关该对象的运行数据,如哈希码、GC 信息以及锁信息,而类型指针则指向该对象的类。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant