目录
一、Run-time data areas
指令集分类
PC 程序计数器
JVM Stack
Method Area文章来源:https://www.toymoban.com/news/detail-601048.html
invoke指令文章来源地址https://www.toymoban.com/news/detail-601048.html
一、Run-time data areas
PC
▪ Each Java Virtual Machine thread has its own pc (program counter)
register.
▪ At any point, each Java Virtual Machine thread is executing the code
of a single method, namely the current method for that thread.
▪ If that method is not native , the pc register contains the address of
the Java Virtual Machine instruction currently being executed.
JVM Stacks
▪ Each Java Virtual Machine thread has a private Java Virtual
Machine stack, created at the same time as the thread.
▪ A Java Virtual Machine stack stores frames
Heap
▪ The Java Virtual Machine has a heap that is shared among
all Java Virtual Machine threads.
▪ The heap is the run-time data area from which memory for
all class instances and arrays is allocated.
Method Area
▪ The Java Virtual Machine has a method area that is shared
among all Java Virtual Machine threads.
▪ It stores per-class structures
Run-Time Constant Pool
▪ A run-time constant pool is a per-class or per-in
到了这里,关于JVM Optimization Learning(二)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!