JVM Tutorial - Java Virtual Machine Architecture Explained for Beginners
Вставка
- Опубліковано 19 сер 2024
- Java Virtual Machine (JVM) is the core of the Java ecosystem. It makes it possible for Java-based software programs to follow the "write once, run anywhere" approach. You can write Java code on one machine, and run it on any other machine using JVM.
Whether you have used Java to develop programs or not, you must have heard about Java Virtual Machine (JVM) at some point or other.
JVM was initially designed to support only Java. However, over time, many other languages such as Scala, Kotlin, and Groovy, etc. were adopted on the Java platform. All of these languages are collectively known as JVM languages.
In this video, we will learn more about the JVM, how it works, and the various components that it is made of.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you liked this video, please hit the like button and subscribe to my channel. Don't forget to press the bell icon to receive notifications about my future videos.
If you have any queries or feedback, please mention it in the comments. You can also reach out to me on the following handles:
💥 LinkedIn - / theawesomenayak
💥 Twitter - / theawesomenayak
💥 Instagram - / theawesomenayak
Book a session with me on TopMate - topmate.click/...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Track: Lost Sky - Fearless pt.II (feat. Chris Linton) [NCS Release]
Music provided by NoCopyrightSounds.
Watch: • Lost Sky - Fearless pt...
Free Download / Stream: ncs.io/Fearless2YO
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is one of best explanations of the JVM I have watched. The slides are really clear and well thought-out as well.
Thanks Quincy 🙂
VM 1:56
Java Overview 2:46
JVM Architecture 3:53
1. Class Loader 4:28
*** Loading 4:56
*** Linking 7:24
*** Initialization 9:03
2. Runtime Data Area 9:58
*** Memory Area 10:13
*** Heap Area 11:07
*** Stack Area 11:43
*** PC Register 12:56
*** Native Method Stack 12:56
3. Execution Engine 13:39
*** Inerpreter 14:07
*** JIT Compiler 14:57
*** Garbage Collector 16:47
- Java Native Interface 18:58
---------------------------------------------------------
Summary 20:11
what an explanation from 10 year experience person. Cant believe you have only 10 experience. Fantastic effort.
I'm glad I found this video before wasting time on other superficial explanations. Thank you Siben.
It's kinda sad that you have only 3 videos. Thank you for your clear explanation!
one of the most concise explanations of the JVM available. very nicely articulated !!
I read the article. It was super awesome and easy to understand.
Thank you 🙂
Great tutorial. Clearly explains how the JVM works. Thank you for sharing.
Amazing explanation sir. I haven't watched such detailed and knowledgeable video about JVM yet. Humble request to create more videos regarding Java. It will be very helpful. Thanks.
Just what I was looking for man. Brilliantly put together. Thank you.
Glad it helped!
very nice exaplanation of JVM architecture with its working
the voice audio comes from only on the left side , while on the other side there is music. It makes it very in-convenient to watch the video
Hi Sir. This is the best source to learn about JVM. Thanks for helping all of us. Please can you do the same for Tomcat as well.
brilliant!!!
pls come up with more topics in Java. Thanks
Thank you sir very nice gide & very nice best information jvm architecture teaching video.👍
Great explanation, thank you. Keep up the good work.
Hi siben,
Great explanation. Please keep posting and sharing knowledge
Great content and very detailed.
You are my hero.
Nice work. One thing , the voice only in left-channel before 19min, and that sounds a little imperfect with headset.
Yeah that was a technical glitch :(
Excellent explanation sir👍👍
Please make more on java 🙏🙏
Like arrays, strings,oops,constructors,etc.
Thank you so much sir 🙏🙏
Thanks Aviral. I'll continue to create more such videos.
@@theawesomenayak next video
I have subscribed and liked this video.😉
You explain so easy to understand ..thank you 😊
great conceptual video.
Nice video bro..Thanks for sharing your valuable knowledge 🙂
Thanks 🙂
This is a really well-researched & well-written, informative video. The only thing that bugged me a little was the voiceover. Why is it mono? I could only hear it on the left channel and that makes it hard to concentrate. Thanks though.
Yeah that was a technical glitch :(
Thanks a lot for this explanation!
freeCodeCamp article link: www.freecodecamp.org/news/jvm-tutorial-java-virtual-machine-architecture-explained-for-beginners/
Nicely explained, Siben. Keep up the good work.
Thanks Ganesh 🙂
jit compiler has the following - 1 intermediate code generator
2. code optimizer
3. target code generator
4 . profiler
so the target code generator converts the bytecode to native code then what is 1. intermediate code generator does
We can skip to 01:45 to see the actual content.
Great explanations Sir. Thank you so much!
Thank you 🙂
Thanks!
Wow!!!
excellent video !
Glad you liked it!
Very good explanantion. Just one suggestion - The background music is disturbing, Although your voice is loud but its still not working out.
I was taken aback by the loud and that fast pace intro music bruh.... I was at the maximum volume of the headphones and my ears took some recoverable damage but bruh I request you to tone it down and keep it mellow.
Nicely explained, good work
Thank you Sai 🙂
Good work ty
good
Great explanation. One of the questions I had was regarding the Execution Engine. Since it supports both the interpreter and JIT compiler, you have mentioned that the interpreter executes the bytecode and the JIT compiler compiles the entire bytecode into machine native code. Does that mean that ,in case of JIT compiler, the OS would be responsible for executing the native code, whereas interpreter works independently of the OS and executes the code directly?
Itna andar nhi ghusne ka re baba
I also have the same question. Please share the answer if anyone knows about it.
@@imranwahid9871 This works as I have mentioned. The JIT compiler looks for the frequently executed code and converts that code into machine native code and then that code is executed by OS. In case of interpreter, it works independently of the OS, that is why Java follows "write once, run anywhere" philosophy as the bytecode is independent of the underlying OS.
jit compiler has the following - 1 intermediate code generator
2. code optimizer
3. target code generator
4 . profiler
so the target code generator converts the bytecode to native code then what is 1. intermediate code generator does
@@86Saurabh1
Siben bhai..Today i just saw your video in E-Learning Bridge UA-cam channel ...there u say u passed out ur B-Tech from BBSR, and u r from Cuttack..and in Amazon you create the Bill payment section...i am very excited and so happy .. I am from Odisha, Nayagarh...now I am a continuing my B-Tech in GIFT, BBSR..in the branch of Computer Science . I am a 3rd year student .
I want to know more about what is actually a Software Engineer work, and I am very poor in coding, i understand easily the process of coding but i am unable to think and what to write the next step in coding .Please gave me some suggestions to how i am improving my coding skills . I want to know briefly and concept of coding. I want ur guidelines please.
Hey Prayash, you should start practicing on Hackerrank. That is a easy and methodical place to learn and practice coding. For projects, there are so many resources on UA-cam you can follow, depending on whether you're interested in frontend or backend.
You should have kept Dual Audio bro ... Why did u have to do to make it only left ? Or was that by a mistake ? Plug in headphones and listen you'll know
I am using Noise Cancel headphones. High base due to that. Content so much good. Same feeling. Please remove Background music and mono audio. Thanks for the content.
good explanation, but only my left ear heard it!
Left side audio not working 😢
Thank you for the video. Is that hard to write an example on JVM,? If not, It would be great to see and follow that video. Thanks again.
Hi Serhat. What do you mean when you say example on JVM?
pleaes keep dual audio
Hi, great video but I have a question. When you introduce method area, you say that the fields name and age are stored in method area and next you said that all instance fields are store in the heap area. I'm confuse.
Hi. The variables name and age are stored in the method area. However, when you create an employee object, that object instance is stored in heap area.
@@theawesomenayak Ok so the names of variables are stored in method area and the value in the heap. Thank you
Hii , Currently i'm working on TCS Pune , they forcefully allot me on support project.
I joined TCS april 2021 nd am 2020 batch passout from IT stream.
really I'm not intrested in support ....I have good command in java then what should i do.
plz plz plz reply.
Thanks
Prepare DSA and switch
@@theawesomenayak Thank you for reply
METHOD AREA = PERMGEN??
Voice is very low
Interpreted Languages - executed directly without having to compile them
Is part is totally wrong ...
www.geeksforgeeks.org/difference-between-compiled-and-interpreted-language/
Java is Slower, BECAUSE, More Code is Running. That Code is Checking Security (Array out of Bounds, buffer Overflow etc).
That Checking, Is ALSO Happening in the HARDWARE DEBUGGER. THE CPU is SLOWER.
C# is Half the Speed of C++.