没有合适的资源?快使用搜索试试~ 我知道了~
Programming for the Java Virtual Machine.pdf
5星 · 超过95%的资源 需积分: 10 121 下载量 194 浏览量
2011-04-02
00:02:43
上传
评论
收藏 6.07MB PDF 举报
温馨提示
试读
517页
想深入了解一个JVM,甚至时要编写一个JVM,相信都可以从这本书中得到一点启示。
资源推荐
资源详情
资源评论
file:///D|/Convert/tmp/0201309726_main.html
Ru-Brd
•
Table of Contents
•
Examples
Programming for the Java™ Virtual Machine
By Joshua Engel
Publisher : Addison Wesley
Pub Date : June 22, 1999
ISBN : 0-201-30972-6
Pages : 512
The core of Java technology, the Java virtual machine is an abstract computing machine that enables the Java
platform to host applications on any computer or operating system without rewriting or recompiling. Anyone
interested in designing a language or writing a compiler for the Java virtual machine must have an in-depth
understanding of its binary class format and instruction set. If you are programming with the Java programming
language, knowledge of the Java virtual machine will give you valuable insight into the Java platform's security
capabilities and cross-platform portability. It will increase your understanding of the Java programming language,
enabling you to improve the security and performance of your programs.
The author employs a tutorial approach that provides a detailed look into the central workings of the technology
and teaches the reader how to write real programs for the Java virtual machine. He describes methods for
becoming a better programmer through an advanced understanding of the Java virtual machine and Java
technology. Programming for the Java Virtual Machine offers comprehensive coverage of all the major elements of
the Java virtual machine--classes and objects, control instructions, debugging, class loaders, compiling the Java
programming language, performance issues, security, and threads and synchronization. The book provides an
introduction to the Java Virtual Machine Specification (JVMS), with a collection of topics that help programmers
understand the Java virtual machine and the JVMS better. In addition, the book features implementations of
Prolog and Scheme, a language that runs on top of the Java virtual machine, generating Java virtual machine
code as it runs and using a Java virtual machine class loader to load the generated code into the system.
You will find detailed information on such topics as:
file:///D|/Convert/tmp/0201309726_main.html (1 of 2) [10/20/2003 12:23:59 AM]
file:///D|/Convert/tmp/0201309726_main.html
● The Java virtual machine verification algorithm
● How Java virtual machine security works, and what it can and can't do
● Using class loaders to incorporate code and dynamically generated code from the Internet, the Java
Foundation Classes, database queries, and other languages
● The mechanics of compiling the Java programming language for the Java virtual machine
● Implementing other languages using the Java virtual machine, including Scheme, Prolog, Sather, Eiffel,
and regular expressions
Ru-Brd
file:///D|/Convert/tmp/0201309726_main.html (2 of 2) [10/20/2003 12:23:59 AM]
file:///D|/Convert/tmp/0201309726_toc.html
Ru-Brd
•
Table of Contents
•
Examples
Programming for the Java™ Virtual Machine
By Joshua Engel
Publisher : Addison Wesley
Pub Date : June 22, 1999
ISBN : 0-201-30972-6
Pages : 512
Copyright
Preface
Prerequisites
Books
Acknowledgments
Chapter 1. Introduction to the Java Virtual Machine
Section 1.1. Java Virtual Machine and Java
Section 1.2. What Is the Java Virtual Machine?
Section 1.3. Java Platform
Section 1.4. Organization of the Java Virtual Machine
Section 1.5. Garbage Collection
Section 1.6. JVM Implementations
Section 1.7. Versions of the Virtual Machine
Section 1.8. Future of the Java Virtual Machine
Chapter 2. Oolong
Section 2.1. Hello, World
file:///D|/Convert/tmp/0201309726_toc.html (1 of 5) [10/20/2003 12:24:06 AM]
file:///D|/Convert/tmp/0201309726_toc.html
Section 2.2. Structure of an Oolong Program
Section 2.3. Defining the Class
Section 2.4. Superclasses
Section 2.5. Declaring Fields
Section 2.6. Declaring Methods
Section 2.7. Interfaces
Chapter 3. Writing Methods
Section 3.1. Some Definitions
Section 3.2. Types
Section 3.3. Mnemonic Naming Conventions
Section 3.4. Testing Code Examples
Section 3.5. Returns
Section 3.6. Constants
Section 3.7. Local Variables
Section 3.8. Math
Section 3.9. Type Conversions
Section 3.10. Stack Manipulations
Section 3.11. Arrays of Numbers
Section 3.12. Just Biding Your Time
Chapter 4. Classes and Objects
Section 4.1. What Is an Object?
Section 4.2. Creating Objects
Section 4.3. Constructors
Section 4.4. Using Fields
Section 4.5. Invoking Methods on Objects
Section 4.6. Casting
Section 4.7. Casting, Fields, Methods, and Java
Section 4.8. Returning Objects
Section 4.9. Interfaces
Section 4.10. Static Fields and Methods
Section 4.11. Class Initialization
Section 4.12. Arrays
Chapter 5. Control Instructions
Section 5.1. Comparing Integers
Section 5.2. Comparing References
Section 5.3. Other Comparisons
Section 5.4. Switches
Section 5.5. Subroutines
Section 5.6. Exceptions
file:///D|/Convert/tmp/0201309726_toc.html (2 of 5) [10/20/2003 12:24:06 AM]
file:///D|/Convert/tmp/0201309726_toc.html
Section 5.7. A Gentler Way of Checking Type
Chapter 6. Verification Process
Section 6.1. How the Verification Algorithm Works
Section 6.2. Is It a Structurally Valid class File?
Section 6.3. Are All Constant References Correct?
Section 6.4. Are All the Instructions Valid?
Section 6.5. Will Each Instruction Always Find a Correctly Formed Stack and Local Variable Array?
Section 6.6. Do External References Check Out?
Section 6.7. Java Language and Verification Algorithm
Section 6.8. Other Safety Requirements
Section 6.9. Checking Verification
Chapter 7. Debugging
Section 7.1. Debugging Directives in Oolong
Section 7.2. Debugging Oolong Programs
Section 7.3. Runtime Tracing
Chapter 8. Class Loaders
Section 8.1. How Classes Are Loaded
Section 8.2. Loading Classes without a Class Loader
Section 8.3. Making Your Own Class Loader
Section 8.4. Working with Class Objects
Section 8.5. Reflection
Chapter 9. Inside a Java class File
Section 9.1. class File Header
Section 9.2. Constant Pool
Section 9.3. Class Information
Section 9.4. Fields and Methods
Section 9.5. Class Attributes
Section 9.6. Other Attributes
Chapter 10. Compiling Java
Section 10.1. Expressions and Statements
Section 10.2. Expression Types
Section 10.3. Compiling Statements and Expressions
Section 10.4. Local Variable Declarations
Section 10.5. Fields and Variables
Section 10.6. Creating New Objects
Section 10.7. Class Name Abbreviations
Section 10.8. Arithmetic Expressions
file:///D|/Convert/tmp/0201309726_toc.html (3 of 5) [10/20/2003 12:24:06 AM]
剩余516页未读,继续阅读
资源评论
- 小唐岳阳2015-12-11挺好的 顺便来练习英文
- haha-mark2015-06-20绝对好书,可惜就是中文
- 蛋丁叮叮当2012-07-30清楚明白,不错的教材,要是有中文版就更好了
- guantz1232016-11-16好书,可惜就是英文的
knowledgehacker
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功