The nucleus of the Java(TM) 2 platform, the Java(TM) virtual machine is the technology that enables the Java 2 platform to host applications on any computer or operating system without rewriting or recompiling. The Java virtual machine is also responsible for the compactness of applications targeting the Java 2 platform, and is the basis for its security capabilities. This book...
The nucleus of the Java(TM) 2 platform, the Java(TM) virtual machine is the technology that enables the Java 2 platform to host applications on any computer or operating system without rewriting or recompiling. The Java virtual machine is also responsible for the compactness of applications targeting the Java 2 platform, and is the basis for its security capabilities. This book was written by those directly responsible for the design and implementation of the Java virtual machine, and is the complete and definitive specification for the technology. It is an essential reference for writers of compilers for the Java programming language and implementors of the Java virtual machine. This second edition specifies the newest version of the Java virtual machine and provides a fascinating view into the inner workings of the Java 2 platform. In this book you will find comprehensive coverage of the class file format, the hardware, operating system, and implementation-independent binary format for compiled code. The authors fully describe the instruction set of the Java virtual machine. You will find an entire chapter of examples that demonstrate how to compile code written in the Java programming language into the instruction set of the Java virtual machine. In addition, the book presents a discussion on the vital topic of Java virtual machine threads and their interaction with memory. All in all, this comprehensive, detailed, and methodical presentation provides the information necessary to implement your own fully compatible Java virtual machine. 0201432943B04062001
An identifier is a unlimited-length sequence of Unicode letters and digits, the first of which must be a letter.
The method Character.isJavaIdentifierStart returns true when passed a Unicode character that is considered to be a letter in a identifier. The method Character.isJavaIdentifierPart returns true when passed a Unicode character that is considered to be a a letter or a digit in an indentifier.
An identifier must not be the same as a boolean literal, the null literal, or a keyword in the Java programming language. (查看原文)
A literal is the source code representation of a value a primitive type, the String type, or the null type. String literals and, more generally, strings that are the value of constant expressions are "interned" so as to unique instances, using the method String.intern.
The null type has one value, the null reference, denoted by the literal null. The boolean type has two values, denoted by the literals true and false. (查看原文)
The Java® Virtual Machine Specification Java SE 8 Edition Tim Lindholm Frank Yellin Gilad Bracha Alex Buckley 2015-02-13 Online version: http://docs.oracle.com/javase/specs/jvms/se8/html/
(展开)
0 有用 RednaxelaFX 2009-11-01 15:31:02
其实我读的是在线版。没啥好说的,要了解JVM肯定得读spec。
0 有用 Tomato 2012-05-30 11:54:37
Java SE 7 中文版 http://www.icyfenix.com/jvms_javase7_cn/
0 有用 bluedavy 2009-03-28 23:04:16
Java程序员必读书籍了,没什么可多说的。
0 有用 羊小白 2011-09-19 06:30:51
看的吐血
0 有用 kevin 2009-01-09 22:19:19
The specification of JVM