区别:JDK,JRE,JVM,JIT
来源:互联网 发布:网络课程的内容有哪些 编辑:程序博客网 时间:2024/06/15 06:56
JDK:java development kit,oracle(现在是sun)的一个产品,不仅包含了jre,还有compiler,debugger等等,相当于eclipse。
JRE:java runtime environment,就是平常电脑没有java要下载的java程序,把我搞死的那个sas就是通过这个。。。这是为了提供一个统一的平台,让所有java的program或application能运行。
上述这两个,JRE是只用来run 程序的,JDK是用来编译开发的,JDK里有JRE里没有的javac的compiler,只要下了jdk就不用下JRE了。
JVM:java virtue machine,这是jre的一个实例,就是经常说的interpretor。According to Wikipedia:
The JVM, which is the instance of the 'JRE' (Java Runtime Environment), comes into action when a Java program is executed. When execution is complete, this instance is garbage collected. JIT is the part of the JVM that is used to speed up the execution time. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation.
JIT:just in time,在上边一段有提及,说到这就得说起java program的compilation过程了,上图:
当jvm 做interpretation的时候,发现有部分code是hot spot,于是乎,just-in-time(顾名思义,及时地)发现,然后这段code继续compile到机器码,于是乎,cpu可以干活了,速度显著提高,through this way来优化。(http://nullpointer.debashish.com/primer-difference-between-javac-and-jit)
总结一下,上图(http://javapapers.com/core-java/differentiate-jvm-jre-jdk-jit/)
- 区别:JDK,JRE,JVM,JIT
- [java]JVM JRE JDK JIT之间的区别
- jvm jre jdk 区别
- JRE,JDK,JVM区别
- JDK,JRE,JVM区别
- jdk-jre-jvm区别
- JDK,JRE,JVM区别
- jdk, jre, jvm区别
- JDK&JRE&JVM区别
- jdk、jre、jvm区别
- jdk、jre、jvm区别
- jvm jdk jre区别
- JDK, JRE, JVM区别
- JDK,JRE,JVM区别
- JRE、JDK、JVM 及 JIT 之间有什么不同
- JRE、JDK、JVM 及 JIT 之间有什么不同
- JRE,JDK,JVM的区别
- JDK,JRE,JVM的区别?
- 知乎网站2010年12月开放,三个月后获得了李开复的天使投资
- shell变量数学运算
- Symmetric Tree -- LeetCode
- LeetCode(Copy List with Random Pointer) 复杂链表的深拷贝
- 【转载】23中设计模式的基本介绍
- 区别:JDK,JRE,JVM,JIT
- C Tips: 排序算法:冒泡排序(Bubble sorting)
- 发个博客为什么要这么难?发个博客为什么要这么难?发个博客为什么要这么难?
- C Tips: 排序算法:快速排序(Quick sorting)
- Moto G 的开发者模式
- android更新链接不上服务器的解决方法
- document.getElementById的理解
- SPOJ1487. Query on a tree III 树链剖分+主席树
- 2014年3月31日--4月6日(共8小时,剩4500小时)