【JVM学习系列】JVM特性
来源:互联网 发布:淘宝店铺如何查排名 编辑:程序博客网 时间:2024/05/22 06:26
这里主要对JVM作为虚拟机器与真实机器在架构实现方面的差异进行一个比较,以便形成新的认知:
Stack-based virtual machine
The most popular computer architectures such as Intel x86 Architecture and ARM Architecture run based on a register. However, JVM runs based on a stack.
Symbolic reference
All types (class and interface) except for primitive data types are referred to through symbolic reference, instead of through explicit memory address-based reference.
Garbage collection
A class instance is explicitly created by the user code and automatically destroyed by garbage collection.
Guarantees platform independence by clearly defining the primitive data type: A traditional language such as C/C++ has different int type size according to the platform. The JVM clearly defines the primitive data type to maintain its compatibility and guarantee platform independence.Network byte order
The Java class file uses the network byte order. To maintain platform independence between the little endian used by Intel x86 Architecture and the big endian used by the RISC Series Architecture, a fixed byte order must be kept. Therefore, JVM uses the network byte order, which is used for network transfer. The network byte order is the big endian.
参考
- https://dzone.com/articles/understanding-jvm-internals
- 【JVM学习系列】JVM特性
- JVM学习笔记系列
- 【JVM学习系列】 JVM内部架构
- 【JVM】JVM系列
- JVM系列
- JVM 系列:
- jvm系列
- JVM系列
- JVM系列
- 【JVM学习系列】JDK、JRE和JVM的区别
- JVM学习-JVM瘦身
- JVM:JVM深入学习
- JVM学习(初识JVM)
- JVM系列4:JVM总结
- jvm系列一:jvm结构
- 细说JVM系列:JVM介绍
- JVM系列:JVM参数设置、分析
- JVM系列:jvm基本结构
- 为什么千万别用for循环迭代LinkedList
- Linux下通过脚本自动备份Oracle数据库并删除指定天数前的备份
- Spring Boot集成MyBatis——注解方式
- 使用命令行编译打包运行自己的MapReduce程序 Hadoop2.6.0
- Ubuntu 14.10下源码编译安装Nginx 1.8.0
- 【JVM学习系列】JVM特性
- C++:基本类型和变量
- 横向布局中浮动float和inline-block的使用
- 对考研的建议。
- if、else
- (二十五)进程——wait与waitpid、僵尸进程与孤儿进程
- LintCode 87-删除二叉查找树的节点
- 函数参数相关扩展
- 宏定义函数