When talking JVM, it may refer any of these:
1. the abstract specification
2. a concrete implementation
3. a runtime instance
The life-cycle of instance of JVM
Only one mission in the life of a instance of JVM: run one Java application.
Inside one instance of JVM, threads come in tow flavor: daemon and non-daemon. Daemon thread is ordinarily a threads used by the virtual machine iteself, such as garbage collection. The thread start by main() is not a daemon thread.
When all non-daemon threads terminate, the jvm terminates.
The Architecture of the Java Virtual Machine
[img]http://dl.iteye.com/upload/attachment/238634/5d00b434-2997-3f47-aa4b-6605acc78fd4.png[/img]
[img]http://dl.iteye.com/upload/attachment/238659/639b1320-c6b0-31d1-83b1-31f958b908cf.png[/img]
the pc register of thread 3 is undefined because it is running a native method
Data Types
[img]http://dl.iteye.com/upload/attachment/238662/d9c24736-0be8-3bbf-912b-47916f2be9b0.png[/img]
This chart depicts the data type of jvm, not java language
All the primitive types of the Java Language are primitive types of the JVM except boolean.
the returnValue is used to implement finally clause
[img]http://dl.iteye.com/upload/attachment/238666/8296a079-8ceb-3ae1-94f6-698ddcc0936a.png[/img]
1. the abstract specification
2. a concrete implementation
3. a runtime instance
The life-cycle of instance of JVM
Only one mission in the life of a instance of JVM: run one Java application.
Inside one instance of JVM, threads come in tow flavor: daemon and non-daemon. Daemon thread is ordinarily a threads used by the virtual machine iteself, such as garbage collection. The thread start by main() is not a daemon thread.
When all non-daemon threads terminate, the jvm terminates.
The Architecture of the Java Virtual Machine
[img]http://dl.iteye.com/upload/attachment/238634/5d00b434-2997-3f47-aa4b-6605acc78fd4.png[/img]
[img]http://dl.iteye.com/upload/attachment/238659/639b1320-c6b0-31d1-83b1-31f958b908cf.png[/img]
the pc register of thread 3 is undefined because it is running a native method
Data Types
[img]http://dl.iteye.com/upload/attachment/238662/d9c24736-0be8-3bbf-912b-47916f2be9b0.png[/img]
This chart depicts the data type of jvm, not java language
All the primitive types of the Java Language are primitive types of the JVM except boolean.
the returnValue is used to implement finally clause
[img]http://dl.iteye.com/upload/attachment/238666/8296a079-8ceb-3ae1-94f6-698ddcc0936a.png[/img]