【知识库】--JVM 原理指导(java8 )(208)
来源:互联网 发布:linux开启防火墙命令 编辑:程序博客网 时间:2024/06/06 02:01
1 .class 文件 jvm整体示意
2 .class -->到内存
3 加载class过程
link---prepare:静态域默认值设置,继承约束检查,接口实现约束检查
Preparation involves creating the static fields for a class or interface and initializing such fields to their defaultvalues.
This does not require the execution of any Java Virtual Machine code; explicit initializers for static fields are executed as part of initialization , not preparation.
link---resolve: 主要动态引用的确定
The Java Virtual Machine instructions anewarray, checkcast, getfield, getstatic, instanceof, invokedynamic, invokeinterface, invokespecial, invokestatic, invokevirtual, ldc, ldc_w,multianewarray, new, putfield, and putstatic make symbolic references to the run-time constant pool. Execution of any of these instructions requires resolution of its symbolic reference.
Resolution is the process of dynamically determining concrete values from symbolic references in the run-time constant pool.
a specific invokedynamic instruction is a call site object bound to that specific invokedynamic instruction
4 内存模型-方法区和堆
5 内存模型--pc计数器 栈 本地方法区
6 执行器--解释器 ,Just IN Time 编译器 ,hotspot profiler ,GC
- 【知识库】--JVM 原理指导(java8 )(208)
- 【知识库】--FutureTask 异步原理(242)
- 知识库--jvm-Parallel+Compacting+Collector(并行压缩回收)
- 知识库--Akka 事务配置-using jvm(134)
- Java8 jvm参数简介
- jvm原理(一)
- JVM原理(1)
- JAVA8 JVM的变化: 元空间(Metaspace)
- Java基础学习总结(119)——Java8 JVM与Java7 JVM比较
- Java8 Spliterator 接口 原理
- java8 lambda表达式原理
- Java8 HashMap原理
- java8 lambda表达式原理
- Java8 Lambda原理
- 编译原理学习指导
- jvm原理(转载收藏)
- JVM原理浅谈(2)
- 知识库--Lifecycle (44)
- jsp简洁左侧面板
- 0519 G2n#W2A-C Ignatius and the Princess IV
- 双向链表的插入与删除节点
- tomcat设置直接通过域名访问项目(不需要接 /项目名)
- js 数组
- 【知识库】--JVM 原理指导(java8 )(208)
- asla架构和alsa-lib音频库的移植
- POJ 3616 Milking Time——区间DP
- 刨根究底字符编码之零——前言
- STL中stack(栈)的用法
- 51nod 1135 原根 (数论)
- STAR法则
- debian8.8访问win7共享文件夹
- alsa用户空间编程