Java虚拟机规范(Java SE 8版)

蒂姆·林霍尔姆(Tim Lindholm)

出版时间

2015-05-31

ISBN

9787111501596

评分

★★★★★
书籍介绍
这不是一本用来'通读'的书。多数读者把它当作工具书:第二、三章细读,其余章节按需查阅;甚至有人建议配合javap、classview等工具一起'食用',否则'读起来真的很无聊'。它真正的价值在于把'Java虚拟机就是通过字节码构建的一套体系'这件事讲得细致而彻底——从class文件格式、运行时数据区到栈帧、字节码指令集,逐层拆解编译期到运行期的全貌。正因其'公有设计、私有实现'的规范体例和近乎琐碎的严谨,它不适合寻求'浅显易懂'入门体验的读者,却适合想彻底搞懂字节码执行流程、类加载机制,或需要一本权威手册随时查阅的开发者。
AI导读
核心看点
  • 权威阐释Java SE 8虚拟机架构与工作原理
  • 详解class文件格式、字节码指令集及验证规则
  • 深入解析类型注解扩展与接口默认方法调用
读者共识
  • 内容严谨但可读性差,适合当字典查阅
  • 翻译质量总体不错,但偶有错别字需注意
  • 是理解Java字节码与虚拟机体系的必备参考
精彩摘录
  • "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 return"
  • "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, t"
  • "The Java programming language is strongly typed, which means that every variable and every expression has a type that is known at compile time. The type of the Java Programming language are divided into two categories: primitive types and reference types, there is a special null type, the type of ex"
目录
译者序
前 言
第1章 引言1
1.1 简史1
1.2 Java虚拟机2

显示全部
用户评论
主要是当成工具书来使用。不同cpu和不同操作系统导致代码不可移植,JVM封装了上述的不同,并给出了类似的抽象。cpu机器指令类似于jvm指令,jvm虚拟机栈类似于操作系统栈....jvm做了这些tedious的事情,使得我们可以用Java实现write once,run everywhere
规范之书,必须读........
Invokedynamic自始至终没明白在干嘛
看规范真的太枯燥了。请配合javap,classview,或者IDE插件一起食用。
有人愿意翻译就谢天谢地了
翻译质量上佳
下载
收藏