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

Profile Photo Rahul Kasgar
09/04/2018 0 View Comments0

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 Loading Spinner
Default Profile Photo

Please Enter a comment

Submit

Other Lessons for You

Sources of Energy: Quick notes-Science, Class 10, CBSE. (Also a major topic in Energy Engineering)
Conventional Sources of Energy: Fossil fuels: Most Common, Non-Renewable, Causes pollution. Thermal power plants: Fuel burnt-Heating water to steam-drive turbines-produce electricity. Hydro Power...
Profile Photo

what is longitudinal stress regarding thin cylinders?
Longitudinal Stress: Consider now again the Hoop stresses figure and the vessel could be considered to have closed ends and contains a fluid under a gauge pressure p. Then the walls of the cylinder will...
Profile Photo

DSA for Placements: Two Sum – From Brute Force to Optimized Solutions
DSA for Placements: Two Sum – From Brute Force to Optimised Solutions 1. Introduction Solving a programming problem is not just about writing code. In technical interviews, recruiters want to understand...
Profile Photo

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

Standard Algorithms
Standard algorithms serve as good solutions to standard problems. These algorithms, many of which are intertwined with data structures, provide excellent examples for the analysis of program efficiency....
Profile Photo
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