JVM Tutorial - Java Virtual Machine Architecture Explained for Beginners

  Рет қаралды 47,341

Siben Nayak

Siben Nayak

3 жыл бұрын

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/xp8t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Пікірлер: 79
@quincylarsonmusic
@quincylarsonmusic 3 жыл бұрын
This is one of best explanations of the JVM I have watched. The slides are really clear and well thought-out as well.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thanks Quincy 🙂
@thevagabond85yt
@thevagabond85yt 10 ай бұрын
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
@thomasmunguya2207
@thomasmunguya2207 Жыл бұрын
Great tutorial. Clearly explains how the JVM works. Thank you for sharing.
@nsitkarana
@nsitkarana Жыл бұрын
one of the most concise explanations of the JVM available. very nicely articulated !!
@DineshKumar-zj5ei
@DineshKumar-zj5ei Жыл бұрын
what an explanation from 10 year experience person. Cant believe you have only 10 experience. Fantastic effort.
@andrewryabchenko2407
@andrewryabchenko2407 Жыл бұрын
I'm glad I found this video before wasting time on other superficial explanations. Thank you Siben.
@emanuelb1154
@emanuelb1154 Жыл бұрын
It's kinda sad that you have only 3 videos. Thank you for your clear explanation!
@itravelnotenough
@itravelnotenough 2 жыл бұрын
Just what I was looking for man. Brilliantly put together. Thank you.
@theawesomenayak
@theawesomenayak Жыл бұрын
Glad it helped!
@utkarshgupta2274
@utkarshgupta2274 2 жыл бұрын
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.
@intesto1
@intesto1 Жыл бұрын
Great explanation, thank you. Keep up the good work.
@ramakt1503
@ramakt1503 Ай бұрын
brilliant!!! pls come up with more topics in Java. Thanks
@paraslalit4881
@paraslalit4881 3 жыл бұрын
Hi siben, Great explanation. Please keep posting and sharing knowledge
@numrathakumari4582
@numrathakumari4582 2 жыл бұрын
You explain so easy to understand ..thank you 😊
@AnujKumar-wp7eg
@AnujKumar-wp7eg 3 ай бұрын
very nice exaplanation of JVM architecture with its working
@sasikumar5527
@sasikumar5527 3 жыл бұрын
I read the article. It was super awesome and easy to understand.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thank you 🙂
@satishakumar1073
@satishakumar1073 Жыл бұрын
Great content and very detailed.
@ashishtayade047
@ashishtayade047 10 ай бұрын
Thank you sir very nice gide & very nice best information jvm architecture teaching video.👍
@ranausama9474
@ranausama9474 2 жыл бұрын
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.
@stefantataru8
@stefantataru8 Жыл бұрын
Thanks a lot for this explanation!
@thevagabond85yt
@thevagabond85yt 10 ай бұрын
great conceptual video.
@ganeshrajpadhayay3714
@ganeshrajpadhayay3714 3 жыл бұрын
Nicely explained, Siben. Keep up the good work.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thanks Ganesh 🙂
@bolivarobi3499
@bolivarobi3499 3 жыл бұрын
Great explanations Sir. Thank you so much!
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thank you 🙂
@AMSHASH-xw7lt
@AMSHASH-xw7lt 2 жыл бұрын
You are my hero.
@Siddharth240rko
@Siddharth240rko 3 жыл бұрын
I have subscribed and liked this video.😉
@bavaagustin
@bavaagustin 6 ай бұрын
Thanks!
@MrVitalirapalis
@MrVitalirapalis Жыл бұрын
Wow!!!
@jaymakam9673
@jaymakam9673 Жыл бұрын
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
@raimondsbortascenoks3905
@raimondsbortascenoks3905 2 жыл бұрын
Good work ty
@mareeswaran7644
@mareeswaran7644 3 жыл бұрын
Nice video bro..Thanks for sharing your valuable knowledge 🙂
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thanks 🙂
@saiveeresh7043
@saiveeresh7043 3 жыл бұрын
Nicely explained, good work
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thank you Sai 🙂
@Siddharth240rko
@Siddharth240rko 3 жыл бұрын
Excellent explanation sir👍👍 Please make more on java 🙏🙏 Like arrays, strings,oops,constructors,etc. Thank you so much sir 🙏🙏
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Thanks Aviral. I'll continue to create more such videos.
@gauravkumar-1952
@gauravkumar-1952 3 жыл бұрын
@@theawesomenayak next video
@hanpoyang
@hanpoyang 2 жыл бұрын
Nice work. One thing , the voice only in left-channel before 19min, and that sounds a little imperfect with headset.
@theawesomenayak
@theawesomenayak Жыл бұрын
Yeah that was a technical glitch :(
@nikhilsulghur7589
@nikhilsulghur7589 2 жыл бұрын
excellent video !
@theawesomenayak
@theawesomenayak Жыл бұрын
Glad you liked it!
@siteldevcorpafrica2047
@siteldevcorpafrica2047 2 жыл бұрын
good
@babitabisht060
@babitabisht060 3 жыл бұрын
Very good explanantion. Just one suggestion - The background music is disturbing, Although your voice is loud but its still not working out.
@sanjanapanwar3844
@sanjanapanwar3844 5 ай бұрын
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
@86Saurabh1 Жыл бұрын
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?
@johnhammond3605
@johnhammond3605 Жыл бұрын
Itna andar nhi ghusne ka re baba
@imranwahid9871
@imranwahid9871 Жыл бұрын
I also have the same question. Please share the answer if anyone knows about it.
@86Saurabh1
@86Saurabh1 6 ай бұрын
@@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.
@sanjanapanwar3844
@sanjanapanwar3844 5 ай бұрын
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
@abhishekpowar2733
@abhishekpowar2733 2 жыл бұрын
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.
@theawesomenayak
@theawesomenayak Жыл бұрын
Yeah that was a technical glitch :(
@serhatuyanmis1493
@serhatuyanmis1493 3 жыл бұрын
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.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Hi Serhat. What do you mean when you say example on JVM?
@pockpicket9360
@pockpicket9360 3 жыл бұрын
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.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
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.
@pockpicket9360
@pockpicket9360 3 жыл бұрын
@@theawesomenayak Ok so the names of variables are stored in method area and the value in the heap. Thank you
@prayashsanta160
@prayashsanta160 3 жыл бұрын
Siben bhai..Today i just saw your video in E-Learning Bridge KZbin 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.
@theawesomenayak
@theawesomenayak 3 жыл бұрын
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 KZbin you can follow, depending on whether you're interested in frontend or backend.
@isakilikya7236
@isakilikya7236 2 жыл бұрын
freeCodeCamp article link: www.freecodecamp.org/news/jvm-tutorial-java-virtual-machine-architecture-explained-for-beginners/
@vasistasai4385
@vasistasai4385 3 жыл бұрын
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
@rsrini7
@rsrini7 3 жыл бұрын
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.
@pankajmishra4796
@pankajmishra4796 3 жыл бұрын
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
@theawesomenayak
@theawesomenayak 3 жыл бұрын
Prepare DSA and switch
@pankajmishra4796
@pankajmishra4796 2 жыл бұрын
@@theawesomenayak Thank you for reply
@tarunsoni6971
@tarunsoni6971 Жыл бұрын
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.
@ainbrisk545
@ainbrisk545 11 ай бұрын
good explanation, but only my left ear heard it!
@tamilkumarannamalai5545
@tamilkumarannamalai5545 11 ай бұрын
Left side audio not working 😢
@chandrashekharkotekar8453
@chandrashekharkotekar8453 Жыл бұрын
We can skip to 01:45 to see the actual content.
@vishalpatil6578
@vishalpatil6578 Жыл бұрын
pleaes keep dual audio
@kennethcarvalho3684
@kennethcarvalho3684 2 жыл бұрын
METHOD AREA = PERMGEN??
@satwikram2479
@satwikram2479 3 жыл бұрын
Voice is very low
@patrasuman
@patrasuman 3 жыл бұрын
Interpreted Languages - executed directly without having to compile them Is part is totally wrong ...
@theawesomenayak
@theawesomenayak 3 жыл бұрын
www.geeksforgeeks.org/difference-between-compiled-and-interpreted-language/
@mahkhi7154
@mahkhi7154 Жыл бұрын
C# is Half the Speed of C++.
@mahkhi7154
@mahkhi7154 Жыл бұрын
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.
JVM ( java virtual machine) architecture - tutorial
29:16
Ranjith ramachandran
Рет қаралды 512 М.
Java Bytecode Crash Course
47:42
Oracle Developers
Рет қаралды 55 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 125 МЛН
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 38 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 265 М.
JVM Architecture
27:35
Durga Software Solutions
Рет қаралды 548 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 624 М.
JDK, JRE, JVM: What Are They and What Are Their Differences?
7:57
The Learn Programming Channel
Рет қаралды 86 М.
Алексей Шипилёв - Прагматика Java Memory Model
1:55:22
JPoint, Joker и JUG ru
Рет қаралды 120 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 896 М.