Brief Introduction to SDK – JRE – JVM – JIT

Brief Introduction to SDK – JRE – JVM – JIT

SDK

This is complete collection of Java stuff, as it has compiler which convert source code (*.java) to Java bytecode (*.class), jar acrhive to package class library to jar file, VisualVM to let user visualize the performance and memory capability… and many more.

JRE
JRE consists of the Java Virtual Machine (JVM), Java platform core classes, and supporting Java platform libraries. JRE is the runtime portion of Java software, which is all you need to run you Java application for eg: applet in web browser.

JVM
When you run your Java application as “java …” this is where JDK spawn a new instance of JVM, which equivalent to operating system process.

JIT
JIT use to compile bytecode into machine specific native code, to optimize the targeted CPU and operating System. JIT is part of Java Virtual Machine.

http://dicksonkho.com/software-road/brief-introduction-to-sdk-jre-jvm-jit/

JDK8 Foundations

Code Compilation and JIT

https://dzone.com/refcardz/java-performance-optimization?chapter=2

猜你喜欢

转载自www.cnblogs.com/feng9exe/p/11051099.html