i write this post based on my curious because of why java application could be run in multi OS and platform. after many search, i found that it’s because java has java virtual machine to run it’s code. java compile the code and create binary file called class, so java virtual machine run that class file.
because i’m still dummie for javas, i want to create post based on jvm documentation that you can download from it’s official website. for beginning this post, i want to create list of jvm machine to make remembered what kind of thing inside it.
this is it :
The Structure of the Java Virtual Machine 5
2.1 The class File Format
2.2 Data Types
2.3 Primitive Types and Values
- 2.3.1 Integral Types and Values
- 2.3.2 Floating-Point Types, Value Sets, and Values
- 2.3.3 The returnAddress Type and Values
- 2.3.4 The boolean Type
2.4 Reference Types and Values
2.5 Runtime Data Areas
- 2.5.1 The pc Register
- 2.5.2 Java Virtual Machine Stacks
- 2.5.3 Heap
- 2.5.4 Method Area
- 2.5.5 Runtime Constant Pool
- 2.5.6 Native Method Stacks
2.6 Frames
- 2.6.1 Local Variables
- 2.6.2 Operand Stacks
- 2.6.3 Dynamic Linking
- 2.6.4 Normal Method Invocation Completion
- 2.6.5 Abrupt Method Invocation Completion
2.7 Representation of Objects
2.8 Floating-Point Arithmetic
- 2.8.1 Java Virtual Machine Floating-Point Arithmetic and IEEEĀ 754
- 2.8.2 Floating-Point Modes
- 2.8.3 Value Set Conversion
2.9 Special Methods
2.10 Exceptions
2.11 Instruction Set Summary
- 2.11.1 Types and the Java Virtual Machine
- 2.11.2 Load and Store Instructions
- 2.11.3 Arithmetic Instructions
- 2.11.4 Type Conversion Instructions
- 2.11.5 Object Creation and Manipulation
- 2.11.6 Operand Stack Management Instructions
- 2.11.7 Control Transfer Instructions
- 2.11.8 Method Invocation and Return Instructions
- 2.11.9 Throwing Exceptions
- 2.11.10 Synchronization
2.12 Class Libraries
2.13 Public Design, Private Implementation
i emphasize you that i copy this list based on chapter 2 of jvm documentation. so, if you want to get detail from each point, you can read it by yourself.
Leave a Reply