Note of learning Inside the Java Virtual Machine Chapter Five
2014-01-14 10:42
555 查看
What's the Method Area in a Java Virtual Machine Implementation?
The method area is a logical area of memory which stores information about loaded types.
(source: Inside a Java Virtual Machine instance, information about loaded types is stored in a logical area of memory called method area. P 124 )
But whereas non-final class variables are stored as part of the data forthe type
that declares them, final class variables are stored as part of the datafor any type
that uses them.
The data for objects is stored in the heap.(Proof: The data that must be kept on the heap for each array is array's length.P 144)
Objects data is kept on the heap and methods data is store in the Java Stack.
The method area is a logical area of memory which stores information about loaded types.
(source: Inside a Java Virtual Machine instance, information about loaded types is stored in a logical area of memory called method area. P 124 )
But whereas non-final class variables are stored as part of the data forthe type
that declares them, final class variables are stored as part of the datafor any type
that uses them.
The data for objects is stored in the heap.(Proof: The data that must be kept on the heap for each array is array's length.P 144)
Objects data is kept on the heap and methods data is store in the Java Stack.
相关文章推荐
- Unable to create an instance of the Java Virtual Machine Located at path:
- sqldeveloper启动时报 Unable to create an instance of the Java Virtual Machine
- run jdeveloper, unable to create an instance of the Java Virtual Machine Located at path:
- Oracle SQL Developer - Unable to create an instance of the Java Virtual Machine
- 关于 JDeveloper 出现 unable to create an instance of the java virtual machine 错误的解决办法
- JVM Specification 9th Edition (3) Chapter 2. The Structure of the Java Virtual Machine
- sqldeveloper 启动时报 Unable to create an instance of the Java Virtual Machine Located at path: ...
- Inside the Java Virtual Machine
- Oracle sql developer Unable to create an instance of the Java Virtual Machine
- The Architecture of the Java Virtual Machine(2)
- Jdeveloper Unable to create an instance of the Java Virtual Machine
- 如何处理Jdeveloper 启动时出现的错误-Unable to create an instance of the Java Virtual Machine
- 关于ADF JDeveloper 11g 的 Unable to create an instance of the Java Virtual Machine
- 关于ADF JDeveloper 11g 的 Unable to create an instance of the Java Virtual Machine
- Inside the Java Virtual Machine 读书笔记一
- JVM - Concept and Lifetime (From book "Inside the Java Virtual Machine")
- oracle jdeveloper 11g 安装到quickstart选择启动 异常:Unable to create an instance of the Java Virtual Machine
- Oracle SQL Developer - Unable to create an instance of the Java Virtual Machine
- Unable to create an instance of the Java Virtual Machine
- sqldeveloper启动时报 Unable to create an instance of the Java Virtual Machine Located at path: ../../jdk/jre/bin/client/jvm.dll 错误