Alice52 / java-ocean

java-tutorial .We intend to explain Java knowledge in this repository.
MIT License
0 stars 0 forks source link

[common] Object #220

Open Alice52 opened 3 years ago

Alice52 commented 3 years ago

issue list

Object

  1. 对象的创建过程
  2. 对象的内存布局
  3. 对象头的内容
  4. 类型指针指向什么地方
  5. 对象定位
  6. 对象分配过程
  7. Object o = new Object() 占多大内存 && 数组呢
  8. 为什么 hotspot不使用c++对象来代表java对象
  9. Class对象是在堆还是在方法区

Array

  1. array-layout

reference

  1. https://www.bilibili.com/video/BV1tC4y1p7zr
Alice52 commented 3 years ago

https://github.com/Alice52/java-ocean/issues/219#issuecomment-880298308