"Working with Java Virtual Machine" 读书笔记(一)
2006-09-13 17:04
513 查看
在books24x7.com上在线看的这本书(不过不是免费的,IBM为员工买了这个网站的阅读权利),觉得有些东西有必要记下来。不知道有“一”还会不会有“二”,呵呵。
Chapter 2 Overview of JVM architecture, Section 2 Runtime Data Areas in JVM
JVM data area:
1. Method area
2. Heap
3. PC Register
4. Java Stack
5. Native Method Stack
Method area: Shared among all JVM thread
1. name
2. super class
3. class/interface
4. modifier
5. list of super interfaces
6. Other:
a. Constant pool
b. field info
c. method info
d. class var
e. ref to Classloader
f. ref to Class
Heap:
1. Handle pool: pointer to object(in object pool) & class(in method area)
2. Object pool (instances)
Such design is for the avoiding fragmentation
Stach: 2 types
1. Frame for func activation
2. Operand for instructions, arg & ret of JVM instruction
Java Stack Component
1. local var
2. execution env
3. operand stack
JDK -- JRE -- JVM -- bytecode Interpreter, GC, Class manager, ...
/ /
classlib -- byte code
/
native
Chapter 2 Overview of JVM architecture, Section 2 Runtime Data Areas in JVM
JVM data area:
1. Method area
2. Heap
3. PC Register
4. Java Stack
5. Native Method Stack
Method area: Shared among all JVM thread
1. name
2. super class
3. class/interface
4. modifier
5. list of super interfaces
6. Other:
a. Constant pool
b. field info
c. method info
d. class var
e. ref to Classloader
f. ref to Class
Heap:
1. Handle pool: pointer to object(in object pool) & class(in method area)
2. Object pool (instances)
Such design is for the avoiding fragmentation
Stach: 2 types
1. Frame for func activation
2. Operand for instructions, arg & ret of JVM instruction
Java Stack Component
1. local var
2. execution env
3. operand stack
JDK -- JRE -- JVM -- bytecode Interpreter, GC, Class manager, ...
/ /
classlib -- byte code
/
native
相关文章推荐
- "could not create the java virtual machine"启动eclipse报错
- 打开Eclipse时出现"Failed to create the Java Virtual Machine"
- 打开Eclipse时出现"Failed to create the Java Virtual Machine"怎么办?
- 打开Eclipse时出现"Failed to create the Java Virtual Machine" 的处理
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错 --
- Tuning Garbage Collection with the 1.4.2 JavaTM Virtual Machine
- Inside the Java Virtual Machine 读书笔记一
- eclipse(优化四) eclipse启动时,报"failed to create the java virtual machine"的解决方案
- eclipse 启动 出现Failed to create the Java Virtual Machine" 解决方案
- 虚拟机启动时出现"No permission to access this virtual machine. Configuration file: x:\xx\xxx.vmx."
- Eclipse "Could not create java virtual machine"的问题解决
- "could not create the java virtual machine
- "could not create the java virtual machine"启动eclipse报错
- "could not create the java virtual machine"启动eclipse报错
- Eclipse "failed to create the java virtual machine"
- "could not create the java virtual machine"启动eclipse报错
- JVM - Concept and Lifetime (From book "Inside the Java Virtual Machine")
- java: -source 1.6 中不支持 switch 中存在字符串 和 "compileDebugJavaWithJavac"的错误解决
- "could not create the java virtual machine" eclipse报错提示