Inside the Java Virtual Machine,insidevirtual
分享于 点击 27609 次 点评:94
Inside the Java Virtual Machine,insidevirtual
Inside the Java Virtual Machine
Acknowledgments
Introduction
Part One: Java's Architecture
1 Introduction to Java's Architecture
Architectural Tradeoffs
Future Trends
On the CD-ROM
The Resources Page
2 Platform independence
Seven Steps to Platform Independence
The Politics of Platform Independence
The Resources Page
3 Security
Safety Features Built Into the Java Virtual Machine
The Security Manager and the Java API
The Security API
Security Beyond the Architecture
The Resources Page
4 Network-mobility
A New Software Paradigm
Java's Architectural Support for Network-Mobility
The Applet: An Example of Network-Mobile Java
The Resources Page
Part Two: Java Internals
5 The Java Virtual Machine
The Method Area
The Heap
The Program Counter
The Java Stack
The Stack Frame
Native Method Stacks
Execution Engine
Native Method Interface
The Real Machine
Eternal Math: A Simulation
On the CD-ROM
The Resources Page
6 The Java Class File
The Constant Pool
Fields
Methods
Attributes
Getting Loaded: A Simulation
On the CD-ROM
The Resources Page
7 The Lifetime of a Class
The Lifetime of an Object
Unloading and Finalization of Classes
On the CD-ROM
The Resources Page
8 The Linking Model
Resolution of CONSTANT_Fieldref_info Entries
Resolution of CONSTANT_Methodref_info Entries
Resolution of CONSTANT_InterfaceMethodref_info Entries
Resolution of CONSTANT_String_info Entries
Resolution of Other Types of Entries
Compile-Time Resolution of Constants
Direct References
_quick Instructions
Example: The Linking of the Salutation Application
Example: The Dynamic Extension of the Greet Application
Example: Unloading Unreachable Greeters
On the CD-ROM
The Resources Page
9 Garbage Collection
On the CD-ROM
The Resources Page
10 Stack and Local Variable Operations
11 Type Conversion
12 Integer Arithmetic
13 Logic
14 Floating Point Arithmetic
15 Objects and Arrays
16 Control Flow
17 Exceptions
18 Finally Clauses
19 Method Invocation and Return
Other Forms of Method Invocation
The invokespecial instruction
The invokeinterface Instruction
Invocation Instructions and Speed
Examples of Method Invocation
Returning from Methods
On the CD-ROM
The Resources Page
20 Thread Synchronization
Coordination Support in Class Object
On the CD-ROM
The Resources Page
Appendix A. Instructions by Opcode Mnemonic
Appendix B. Opcode Mnemonic by Functional Group
Appendix C. Opcode Mnemonic by Opcode
Appendix D. Slices of Pi: A Simulation of the Java Virtual Machine
Index
About the Author
相关文章
- 暂无相关文章
用户点评