UrbanPro
true
default_background

Take BTech Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Explain The Working Of JVM

Rahul Kasgar
09/04/2018 0 0

1. when we execute the java file, JVM is loaded into memory.
2. In JVM, first class loader starts which loads the class into memory, i.e. it divides the code intoRuntime Memory Area.
3. Runtime memory consists of:-

  • a) Heap- All the objects in the program are stored in a heap.
  • b) Stack- all the local and ref variables are in the stack.
  • c) Method area- it is a permanent area. It consists of static variables, class definitions and fxns.
  • d) Native code area- the code which is not a part of Java but is a part of the platform, ie., the operating system that's called native code
  • e) Program counter register- holds the address of next instruction going to be executed.

4. After the class loader, execution engine (JIT) runs which translate bytecode to machine-operable code.

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Java Interview Questions
What is a virtual function in C++? Simply put, the virtual keyword enables a function to be 'virtual' which then gives possibility for that function to be overridden (redefined) in one or more descendant...

Fractional Knapsack
Algorithm - Fractional Knapsack import java.util.Scanner; public class Knapsack01 { public static void main(String args) { Scanner scan = new Scanner(System.in); int...

Digital Multimeter
• DMM is a measuring instrument • An ammeter measures current • A voltmeter measures the potential difference (voltage) between two points • An ohmmeter measures resistance •...

Application Of VLSI
Electronic systems now perform a wide variety of tasks in daily life. Electronic systems in some cases have replaced mechanisms that operated mechanically, hydraulically, or by other means; electronics...

Twinkle G.

2 0
0

What is flat slab concept?
Flat slab is a reinforced concrete slab supported directly by concrete columns without the use of beams. Flat slab is defined as one sided or two-sided support system with sheer load of the slab being...
X

Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more