![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
研读java虚拟机规范
LJHSkyWalker
热爱各种技术
星战迷!
展开
-
JDK1.8 The Java® Virtual Machine Specification《2.The Structure of the Java Virtual Mach》(5)
2.6. Frames 2.6 栈帧 A frame is used to store data and partial results, as well as to perform dynamic linking, return values for methods, and dispatch exceptions. A new frame is created eac...翻译 2018-08-09 23:56:00 · 329 阅读 · 0 评论 -
JDK1.8 The Java® Virtual Machine Specification《2.The Structure of the Java Virtual Mach》(1)
初衷,一方面锻炼自己英文阅读能力,主要方面是看看真正官方的话语怎么描述JVM的,希望从中有更深的认识。 没有闲白儿,书归正传。 展示一下第二章目录: 2.java虚拟机结构 这篇文章叙述了一个抽象的机器的工作原理,它并没有描述任何关于java虚拟机的特殊实现,如果要正常的使用java虚拟机,只需要能正确的读取class文件并且正确的执行class文件中的明确规定的操作命令即...翻译 2018-08-06 22:34:30 · 383 阅读 · 1 评论 -
JDK1.8 The Java® Virtual Machine Specification《2.The Structure of the Java Virtual Mach》(2)
2.3.1 (积分)指数表达类型值 整型类型在虚拟机中的值表现为 byte -128到127 -2^7 to 2^7 - 1 short -32768到32767 -2^15 to 2^15 - 1 int -2147483648到2147483647 -2^31 to 2^31 - 1 long 从-922337203...翻译 2018-08-07 22:57:45 · 264 阅读 · 1 评论 -
JDK1.8 The Java® Virtual Machine Specification《2.The Structure of the Java Virtual Mach》(3)
2.3.3 返回地址类型和值 返回地址类型被java虚拟机的jsr ret 和 jsr_w指令使用。返回地址的值是指针,他们指向了java虚拟机指令集的操作码。与数字基本类型不同的是,返回地址类型并不对应于任何java编程语言中的类型,并且他不能在运行的时候被程序修改。 2.3.4 布尔类型 虽然java虚拟机定义了布尔类型,但是java虚拟机对它提供了很小的支持。jav...翻译 2018-08-07 23:44:15 · 278 阅读 · 0 评论 -
JDK1.8 The Java® Virtual Machine Specification《Chapter 5. Loading, Linking, and Initializing》(1)
Chapter 5. Loading, Linking, and Initializing 章节5 虚拟机的加载,连接和初始化 The Java Virtual Machine dynamically loads, links and initializes classes and interfaces. Loading is the process of finding the binary...翻译 2018-08-12 21:54:55 · 226 阅读 · 2 评论 -
JDK1.8 The Java® Virtual Machine Specification《2.The Structure of the Java Virtual Mach》(4)
2.5 Run-Time Data Areas 2.5 运行时方法区 The Java Virtual Machine defines various run-time data areas that are used during execution of a program. Some of these data areas are created on Java Virtu...翻译 2018-08-08 23:28:02 · 268 阅读 · 0 评论 -
JDK1.8 The Java® Virtual Machine Specification《Chapter 5. Loading, Linking, and Initializing》(2)
5.2. Java Virtual Machine Startup 5.2 java虚拟机启动 The Java Virtual Machine starts up by creating an initial class, which is specified in an implementation-dependent manner, using the bootstrap class l...翻译 2018-08-16 23:24:43 · 183 阅读 · 0 评论