
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is JVM, Java virtual machine?
Java uses javac (compiler) to convert the java code to byte code (.class file).
When we run this code using JVM, it internally converts the byte code to system understandable code using an interpreter.
Instead of executing a piece of code, again and again, JVM identifies them as “hot spots” and compiles them using Just in time compiler and, later reuses the same when required.
A compiler compiles (translates) the given program to executable code (whole code at a time). A JIT compiler performs a similar task but it is used by JVM internally, to translate the hotspots in the bytecode.
- Related Questions & Answers
- What is Java Virtual Machine (JVM)?
- Explain Java Virtual Machine (JVM) Architecture
- Java Virtual Machine (JVM) Stack Area
- Explain Java Virtual Machine's Internal Architecture
- How is Docker different from a Virtual Machine?
- What is Unified JVM Logging in Java 9?
- What is Virtual LAN?
- What is Virtual Memory?
- Display the amount of free memory in the Java Virtual Machine
- What is Machine Learning?
- How to change/increase the heap size of the Java Virtual Machine in Java?
- Java (JVM) memory model
- Java (JVM) Memory Types
- Verification in Java (JVM)
- How to Create/Add a New Virtual Disk for an Existing Linux Virtual Machine
Advertisements