当前位置:网站首页>JVM Basics - > What are the thread shared areas in the JVM

JVM Basics - > What are the thread shared areas in the JVM

2022-06-12 22:09:00 Ouhuang xiaodezi

JVM Which are thread shares in the

Heap area and ⽅ Law District Is Shared by all threads , Stack 、 Local ⽅ Dharma stack 、 Program counter Is unique to each thread

  • Pile up : Needless to say , Place the object
  • Method area : The class definition Member variables, constants, static variables, methods It's all here
  • Stack : Only when the program is running , Will push the runtime method onto the stack , There are local variables and so on
  • Native Method Stack : Operating system approach
  • Program counter : Mark where the code went

 Insert picture description here

give the thumbs-up , handsome young man !!!

原网站

版权声明
本文为[Ouhuang xiaodezi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202281151361871.html