没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
The Java Virtual Machine Specification Java SE 7 Edition 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
资源推荐
资源详情
资源评论
The Java
®
Virtual
Machine Specification
Java SE 7 Edition
Tim Lindholm
Frank Yellin
Gilad Bracha
Alex Buckley
2013-02-28
Specification: JSR-000924 Java
®
Virtual Machine Specification ("Specification")
Version: 7
Status: Final Release
Release: July 2011
Copyright © 1997, 2013, Oracle America, Inc. and/or its affiliates. All rights reserved.
500 Oracle Parkway, Redwood City, California 94065, U.S.A.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may
be trademarks of their respective owners.
The Specification provided herein is provided to you only under the Limited License Grant
included herein as Appendix A. Please see Appendix A, Limited License Grant.
iii
Table of Contents
Preface to the Java SE 7 Edition xi
Preface to the Second Edition xiii
Preface to the First Edition xv
1
Introduction 1
1.1 A Bit of History 1
1.2 The Java Virtual Machine 2
1.3 Summary of Chapters 3
1.4 Notation 4
2
The Structure of the Java Virtual Machine 5
2.1 The class File Format 5
2.2 Data Types 6
2.3 Primitive Types and Values 6
2.3.1 Integral Types and Values 7
2.3.2 Floating-Point Types, Value Sets, and Values 8
2.3.3 The returnAddress Type and Values 10
2.3.4 The boolean Type 10
2.4 Reference Types and Values 11
2.5 Run-Time Data Areas 11
2.5.1 The pc Register 12
2.5.2 Java Virtual Machine Stacks 12
2.5.3 Heap 13
2.5.4 Method Area 13
2.5.5 Run-Time Constant Pool 14
2.5.6 Native Method Stacks 14
2.6 Frames 15
2.6.1 Local Variables 16
2.6.2 Operand Stacks 17
2.6.3 Dynamic Linking 18
2.6.4 Normal Method Invocation Completion 18
2.6.5 Abrupt Method Invocation Completion 18
2.7 Representation of Objects 19
2.8 Floating-Point Arithmetic 19
2.8.1 Java Virtual Machine Floating-Point Arithmetic and IEEE
754 19
2.8.2 Floating-Point Modes 20
The Java
®
Virtual Machine Specification
iv
2.8.3 Value Set Conversion 20
2.9 Special Methods 21
2.10 Exceptions 23
2.11 Instruction Set Summary 25
2.11.1 Types and the Java Virtual Machine 26
2.11.2 Load and Store Instructions 29
2.11.3 Arithmetic Instructions 30
2.11.4 Type Conversion Instructions 32
2.11.5 Object Creation and Manipulation 34
2.11.6 Operand Stack Management Instructions 34
2.11.7 Control Transfer Instructions 34
2.11.8 Method Invocation and Return Instructions 35
2.11.9 Throwing Exceptions 36
2.11.10 Synchronization 36
2.12 Class Libraries 37
2.13 Public Design, Private Implementation 37
3
Compiling for the Java Virtual Machine 39
3.1 Format of Examples 39
3.2 Use of Constants, Local Variables, and Control Constructs 40
3.3 Arithmetic 45
3.4 Accessing the Run-Time Constant Pool 46
3.5 More Control Examples 47
3.6 Receiving Arguments 49
3.7 Invoking Methods 50
3.8 Working with Class Instances 53
3.9 Arrays 55
3.10 Compiling Switches 57
3.11 Operations on the Operand Stack 58
3.12 Throwing and Handling Exceptions 59
3.13 Compiling finally 63
3.14 Synchronization 66
3.15 Annotations 67
4
The class File Format 69
4.1 The ClassFile Structure 70
4.2 The Internal Form of Names 75
4.2.1 Binary Class and Interface Names 75
4.2.2 Unqualified Names 75
4.3 Descriptors and Signatures 75
4.3.1 Grammar Notation 76
4.3.2 Field Descriptors 76
4.3.3 Method Descriptors 78
4.3.4 Signatures 79
4.4 The Constant Pool 82
4.4.1 The CONSTANT_Class_info Structure 83
剩余606页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 762
- 资源: 6231
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功