How would you differentiate JDK, JRE, JVM, and JIT?
Posted feng9exe
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How would you differentiate JDK, JRE, JVM, and JIT?相关的知识,希望对你有一定的参考价值。
Q5. How would you differentiate JDK, JRE, JVM, and JIT?
A5. There is no better way to get the big picture than a diagram.
1) JDK: You can download a copy of the Java Development Kit (JDK) for your operating system like Unix, Windows, etc.
2) JRE: Java Runtime Environment is an implementation of the JVM. The JDK typically includes the Java Runtime Environment (JRE) which contains the virtual machine and other dependencies to run Java applications.
3) JIT: A JIT is a code generator that converts Java byte code into native machine code. Java programs invoked with a JIT generally run much faster than when the byte code is executed by the interpreter. The JIT compiler is a standard tool that is part of the JVM and invoked whenever you use the Java interpreter command. You can disable the JIT compiler using the -Djava.compiler=NONE option to the Java VM. You might want to disable the JIT compiler if you are running the Java VM in remote debug mode, or if you want to see source line numbers instead of the label (Compiled Code) in your Java stack traces.
https://www.java-success.com/why-use-java-and-java-overview-interview-questions-and-answers/
以上是关于How would you differentiate JDK, JRE, JVM, and JIT?的主要内容,如果未能解决你的问题,请参考以下文章
would you please...could you please...两句区别是什么?
Would Your Work Habits Change if You Were Paid by the Job?
Why Would you Cross the Pacific on a Wooden Raft?
[2016-4-7]OMG美语每日笔记-What would make you someone is untrustworthy?
When you gather it, things would be counted.
[2016-2-22]OMG美语每日笔记-What would you say to someone you haven't seen in 10years?at high shcool or