JVM规范--高手总结

JVM 深度历险

JVM详解

本文详细讲解了JVM(Java Virtual Machine)的方方面面,首先由java的特性来描绘JVM的大致应用,再细细阐述了JVM的原理及内存管理机制和调优.最后讲述了与JVM密切相关的Java GC机制.

本文内容大多来自网络,但内容十分丰富,是学习JVM的好资料.

后面会再针对JVM的两大职责class loader和 execution engine进行讲解

若有疑问<ymkyve501@http://www.wendangwang.com>

目录

Java相关............................................................................................................................. 2

1.1Java定义.............................................................................................................. 2

1.2Java的开发流程 .................................................................................................. 2

1.3Java运行的原理 .................................................................................................. 3

1.4半编译半解释 ...................................................................................................... 4

1.5平台无关性.......................................................................................................... 5

JVM内存模型 ................................................................................................................... 5

2.1 JVM规范 .............................................................................................................. 6

2.2 Sun JVM............................................................................................................... 9

2.3 SUN JVM内存管理(优化) ................................................................................ 11

2.4 SUN JVM调优 .................................................................................................... 14

2.5.JVM简单理解 .................................................................................................... 17

2.5.1 Java栈 ................................................................................................... 17

2.5.2 堆 ............................................................................................................ 17

2.5.3 堆栈分离的好处 .................................................................................... 19

2.5.4 堆(heap)和栈(stack) ......................................................................... 19

JAVA垃圾收集器 ............................................................................................................. 20

3.1 垃圾收集简史 .................................................................................................... 20

3.2 常见的垃圾收集策略 ........................................................................................ 20

3.2.1 Reference Counting(引用计数) ....................................................... 21

3.2.2 跟踪收集器 ............................................................................................ 21

3.3 JVM的垃圾收集策略 ......................................................................................... 25

3.3.1 Serial Collector .................................................................................... 25

3.3.2 Parallel Collector ..................................................................................... 26

3.3.3 Concurrent Collector ................................................................................ 26

Java虚拟机(JVM)参数配置说明 ................................................................................ 27

JVM规范 高手总结相关文档

最新文档

返回顶部