JVM ( java virtual machine) architecture - tutorial

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 524

  • @vyshnavramesh9305
    @vyshnavramesh9305 Год назад +8

    0:49 Edit .java -> compile .java -> run .class
    3:33 JVM breakdown
    4:14 Class loader: load (bootstrap (rt.jar), extension (jre/lib/ext), application (classes we write))
    6:59 Class loader: link (verify bytecode, prepare memory allocation for static variables, resolve nested references of a class)
    10:02 Class loader: initialize (of static variables, static blocks)
    11:09 ClassNotFoundException and ClassDefNotFoundException
    12:38 Runtime Data area
    13:01 Method Area / Permgen space / Metaspace (class data like static variables)
    16:16 Heap (object data)
    17:41 Program Counter Register: pointer to next instruction to be executed per thread
    18:35 Java Stacks: stack frame of currently running method per thread
    20:16 Native method stack: for running non-java methods called from java methods running in Java Stack (per thread)
    24:09 Execution engine: GHIJ (Garbage Collector, Hotspot Profiler, Interpreter, JOT Compiler)
    24:26 Interprets and executes the bytecode/instruction
    25:52 JIT Compiler: Bytecodes that are repeated, called hotspots, are saved from re-interpretation. On the fly compiles them and make them ready for execution
    26:27: Hotspot Profiler: graphically analyses the all the bytecodes and helps JIT compiler
    27:36 Recap
    26:57 Garbage Collector: cleans up unused classes, objects and memory areas.

  • @devsatg
    @devsatg 6 лет назад +33

    Man, I have already watched this video like 5 times and I keep coming back to refresh. Kudos

  • @samirpanchal5883
    @samirpanchal5883 2 года назад

    your channel helped me understood some important concepts of java, Thanks for your support and keep educating people around.

  • @dmitrikonnov922
    @dmitrikonnov922 2 года назад +2

    Matter of fact, to know how jvm works is terrifically important, this topic hasn't been covered enough though unlike all other fancy stuff. Thumbs up!

  • @tatyanav8326
    @tatyanav8326 Год назад

    despite slightly outdated it's one of the best videos I've went through, perfect to start with

  • @akshatvashishtha4626
    @akshatvashishtha4626 7 лет назад +9

    Hi Ranjith this the most absolute extent about internal working of JVM.. Your work is reverence.. Such a deep & cultured explanation on JVM.. Generally, I never write on anything but your video convinced me to share my thoughts.. Great work, it's too helpful..

  • @nektariosmusic
    @nektariosmusic 8 лет назад

    You are the best Java tutor I have come across in my 18 years of Java experience! Thank you!

    • @nagirner
      @nagirner 8 лет назад

      Completely agree with Nektarios (my long time colleague). One of the best presentation in Java basics. No water, up to the point, informative, accurate and very good presentation pictures. Will recommend to all my friends/colleagues working with Java. Thank you!

  • @baobozo
    @baobozo 9 лет назад +19

    Great tutorial man~ Best thing I've ever found to have JVM explained so clearly in such a simple way.

  • @smuralimohan1
    @smuralimohan1 9 лет назад +30

    Excellent video... never seen a better one on JVM. Thanks a lot!

  • @vivsameer
    @vivsameer 7 лет назад

    The best explanation of JVM I ever heard.

  • @mayurkarote785
    @mayurkarote785 4 года назад

    This is probably one of best way to explain. Thanks Ranjit.
    Along with the explanation, Ranjit has covered many troubleshooting areas that is a practically relating us to understand better. This is the Best part of video.

  • @byronwang5539
    @byronwang5539 6 лет назад

    Easy to understand. This is what I am looking for. thanks to Ranjith for your sharing

  • @jvsnyc
    @jvsnyc 4 года назад +14

    This is still great after 5+ years. The Bootstrap loading is somewhat different in the most recent versions of Java, they broke up rt.jar into modules which aren't covered here because they didn't exist back in Java 8...

  • @rahulpatil5897
    @rahulpatil5897 9 лет назад

    very good explained sir all dout clear no 1 video thanks so much

  • @akshayyhakrishnamurthy7319
    @akshayyhakrishnamurthy7319 Год назад

    One of the best videos with clear explanation. Helps me understand the basics. Thank you for making this video. Its really helpful! Good work...

  • @enjoywithvivin3379
    @enjoywithvivin3379 6 лет назад

    Excellent and very helpful to explore lot about JVM. Thanks.

  • @eswarprasad9773
    @eswarprasad9773 6 лет назад +29

    Thanks for this video,
    I cleared 3 rounds of interview and got rejected in the final round because I couldnt explain memory management in jvm
    yes companies in india do ask about jvm.this video will help me for my next interview.

  • @javedakhtar-om2hb
    @javedakhtar-om2hb 9 лет назад

    Lovely Presentation with key points of the JVM architecture.

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 3 года назад

    Excellent , every java programmer must watch ! Thanks Sir!!!!

  • @AbdelmuniemAbdallah
    @AbdelmuniemAbdallah 9 лет назад +14

    Well Explained in a simple way, I have understood now how JVM is working.
    Thanks a lot.

    • @ranjithramachandran5928
      @ranjithramachandran5928  9 лет назад +1

      Abdelmuniem Abdallah - Thanks, feel free to ping me if you have any questions.

  • @AdigoThierry
    @AdigoThierry 7 лет назад

    the best video and best explanation on JVM i've watched so far... you are a great teacher dude... thanks

  • @amarapanigrahi
    @amarapanigrahi 3 года назад

    Phenomenal explanation !! Investing 30 min in this video, will keep this knowledge for ages in my head. Thank you.

  • @hp354
    @hp354 9 лет назад +5

    Sir, Thank you for sharing your deep insight on this subject. After several years of struggling through understanding JVM concepts, this video today has finally helped me!!!

  • @abhijitsarkar482
    @abhijitsarkar482 2 года назад

    Excellent video on the internal structure and workings of jvm.
    Thanks a lot

  • @ajaykumarmourya7368
    @ajaykumarmourya7368 6 лет назад +1

    Brilliant... 1st place where I found the understanding of JVM !! Very good Bro.

  • @vivekjacas3425
    @vivekjacas3425 8 лет назад

    I like the way u teach. Clean and Simple.
    Best way to learn
    Thank you

  • @harshitagrawal6299
    @harshitagrawal6299 8 лет назад

    Awesome lecture on JVM Architecture..

  • @arnabthakuria2243
    @arnabthakuria2243 4 года назад

    Amazing tutorial , sir . Thanks for sharing your knowledge.

  • @nawnitsen7771
    @nawnitsen7771 5 лет назад

    couldn't ask for ymore simpler way.. you are a life savor.. thanks man!!

  • @shreyapatil4471
    @shreyapatil4471 4 года назад +2

    great tutorial.. explained every detail.

  • @PavanKumar-yj8fu
    @PavanKumar-yj8fu 3 года назад

    It was a great lecture on JVM, thank you very much for the video.

  • @mileshoo2873
    @mileshoo2873 6 лет назад

    VERY VERY VERY useful tutorial, THANKS A LOT...

  • @shashankneema4307
    @shashankneema4307 8 лет назад

    Very good explanation of JVM architecture!!!

  • @yungesqargo1493
    @yungesqargo1493 5 лет назад

    The detail in explanation was no-less than perfect ... Reference invoking with class and study materials -Thanks

  • @pk61435
    @pk61435 7 лет назад

    This is the best explanation I've seen on this topic so far! Huge thanks to you!

  • @chethans279
    @chethans279 9 лет назад

    It helped me to understand a pretty well about the JVM Architecture .its simple,clean and crispy explanation . Thanks you.

  • @rgt2573
    @rgt2573 4 месяца назад

    truly an amazing lecture about internals of JVM in just less than 30 minutes!
    Hats off to you Ranjith Sir.
    Your videos are so detailed and to the point.
    Loads of love and respect from BLR❤
    Keep uploading more videos on Java, Spring, Sboot.. 🙏

  • @vishalbahekar
    @vishalbahekar 9 лет назад

    Very precise presentation on JVM architecture

  • @sreenivasuludoniparthi7534
    @sreenivasuludoniparthi7534 9 месяцев назад

    It's amazing tutorial and great explanation

  • @thalathotitharunprabhakar3390
    @thalathotitharunprabhakar3390 3 года назад

    Thank you for the detailed explanation of the JVM. It helped me a lot to understand JVM.

  • @deepakarora987
    @deepakarora987 7 лет назад

    Best JVM explanation i came across

  • @VinothkumarJayandiran
    @VinothkumarJayandiran 6 месяцев назад

    Thanks Ranjith for the detailed explanation. Appreciate it.

  • @prasad_recharla
    @prasad_recharla 6 лет назад

    Very good explanation.. Your video is best among all available JVM videos..

  • @vaibhavkgote
    @vaibhavkgote 4 года назад

    Best JVM Video so far !! Thank you, Boss !!

  • @SMARTARIX
    @SMARTARIX 8 лет назад

    Awesome Video, thanks for sharing it.

  • @hassankalaldeh8408
    @hassankalaldeh8408 6 лет назад

    Excellent tutorial to understand JVM arch. Thanks!

  • @ambareeshreddy5289
    @ambareeshreddy5289 8 лет назад

    Awesome explanation of JVM internals.

  • @Aditya-yn5lk
    @Aditya-yn5lk 3 года назад

    Great explaination of JVM architecture. Diagram also looks familiar to me from "Inside java virtual machine." I was in need of this video.

  • @madad.moraru5166
    @madad.moraru5166 5 лет назад

    Excellent video, very well done explanation. Thaks!

  • @murthyinutube
    @murthyinutube 9 лет назад

    I have never seen such a fantastic presentation about JVM. Wow. Excellent tutorial. So, commented, liked and subscribed ;)

    • @ranjithramachandran5928
      @ranjithramachandran5928  9 лет назад +1

      +Murthy Kedarisetty Thanks for your kind words., please explore the channel and subscribe if you like the content.

  • @karthikkumar9279
    @karthikkumar9279 8 лет назад

    very well explained and easy to follow your teaching. Keep posting other topics and it will be great use

  • @utkarshkdave
    @utkarshkdave 5 лет назад +1

    Wonderful. What a explaination. All and all, perfect. That helped me a lot understanding the actual JVM, one of the areas on which i have been working since several years now

  • @andytube07
    @andytube07 3 года назад

    Thanks a lot Mr. Ramachandran...for sharing your knowledge. Why I see only 5 years old videos. But create and sharing such more informative videos.

  • @lifeisfun9
    @lifeisfun9 Год назад

    Thankyou for such excellent video. Its the best.

  • @mlevidigeri
    @mlevidigeri 2 года назад

    Very informative video.. good work

  • @RGWorld148
    @RGWorld148 8 лет назад

    Very useful ... watched multiple times to explain like you .. inspired me..

  • @rameshyakkala1
    @rameshyakkala1 7 лет назад

    awesome...its nice video to understand the internals of java class loading

  • @rohitkr.maurya6917
    @rohitkr.maurya6917 5 лет назад

    Thanks Ranjith for putting your effort to create such a knowledgeable lecture...

  • @ramitsharma3773
    @ramitsharma3773 3 года назад

    Best video on JVM. I am subscribing you right away :)

  • @nihanthdara
    @nihanthdara 9 лет назад

    Good Presentation for understanding the memory of JVM.

  • @kvr6031
    @kvr6031 6 лет назад

    Nice Explanation. Many Thanks for your effort

  • @debasishpatnaik294
    @debasishpatnaik294 2 года назад

    Very resourceful and well explained !!!

  • @ravishankar1972
    @ravishankar1972 8 лет назад

    That is lot of info. for a beginner like me. Thank you very much. Your audio quality and quality of presentation is very nice.

  • @GeoPoliticsCollection
    @GeoPoliticsCollection 9 лет назад +1

    Awesome, beautifully and crisply explained. Thanks so much.

  • @mail2mahendran
    @mail2mahendran 9 лет назад

    Awesome presentation with all the images. Thanks and awaiting more of your videos.

  • @MrRamesh940
    @MrRamesh940 5 лет назад

    Excellent presentation. very well explained .Thank a lot.

  • @isaaczhu9223
    @isaaczhu9223 6 лет назад +1

    An excellent, detailed, on-point overview of the JVM. Great work!

  • @majidzolfaghari630
    @majidzolfaghari630 7 лет назад +2

    Thanks Ranjith! This is one of the best presentations (in any area) that I have seen! You avoid mistakes that many technicians do when they present. Masterful!

  • @manasranjan4
    @manasranjan4 7 лет назад

    Really very nice ... thanks for sharing this.

  • @hasitha7880
    @hasitha7880 4 года назад

    Excellent tutorial. Subscribed.

  • @raviraj5941
    @raviraj5941 8 лет назад

    Best explanation of JVM I got till now. Awesome work. :)

  • @RanjitRajD
    @RanjitRajD 9 лет назад +3

    Simple words explained very complicated architecture.
    Thanks for your good effort. Keep going. We are now big fan of your videos.

  • @trinadhdn
    @trinadhdn 6 лет назад

    Great explanation..please come with more interesting topics like this ......

  • @guntassingh1
    @guntassingh1 5 лет назад

    Excellent tutorial .... haven't come across something so comprehensive on JVM so far

  • @appapujari
    @appapujari 9 лет назад

    Great explanation ..Thanks for sharing this video .

  • @ngosys
    @ngosys 2 года назад

    Thanks!

  • @NikhilKumar-fj2dg
    @NikhilKumar-fj2dg 7 лет назад

    Fabulous explanation sir it's very helpful too Thank you for making this excellent video

  • @sudhirsadanala9342
    @sudhirsadanala9342 6 лет назад

    Thanks a lot Ranjith, understood the JVM architecture and its working. Its 3 years old but simply cool, I like the diagrammatic explanation :)

  • @TheFlyguy31
    @TheFlyguy31 6 лет назад

    I enjoy your tutorials because you always go into depth and everything you say makes sense. Hence why i have subscribed.

  • @andriyyarish8628
    @andriyyarish8628 6 лет назад

    Very valuable video, thank you

  • @S__Khan__
    @S__Khan__ 8 месяцев назад

    Thanks Ranjith. Quite clear and in-depth explanation.

  • @lythd
    @lythd 5 лет назад +2

    Wow this is perfect, thank you so much for this I am definitely subscribing, such quality. I can't wait to binge watch all your videos!

  • @dhananjaykumarsingh8057
    @dhananjaykumarsingh8057 8 лет назад

    Nice Explanation, thank you very much

  • @jlestua
    @jlestua 9 лет назад +1

    thank you very much for your great explanation it has been very useful to understand how JVM works. congratulations for your video.

  • @jaganr5725
    @jaganr5725 8 лет назад

    Very good explanation..expecting more videos

  • @craftworld703
    @craftworld703 6 лет назад

    nice video ..i got an information what i want by this video ..thank you..

  • @shrikantjesu3665
    @shrikantjesu3665 7 лет назад

    Thank you for excellent explanation. You articulated lecture about JVM in proper format and lucidly which helps us to understand what exactly JVM does under the hood. Loved your session.

  • @finiejiju8029
    @finiejiju8029 5 лет назад

    Perfect. Excellent.One of my very successful searches till date. Thank you very much.

  • @SilentPushover
    @SilentPushover 8 лет назад +11

    Perfect! I regret having a look at this video after going through some interviews...nevertheless glad to have such a detailed yet well summarized information explained so smoothly :) looking forward to watch many of your videos and learn..Thank you!!!

  • @thomasisrael5334
    @thomasisrael5334 8 лет назад

    Nice very good way of explaning

  • @kuldeepmishra6742
    @kuldeepmishra6742 7 лет назад

    Very good explanation of JVM.

  • @lijoysam5516
    @lijoysam5516 7 лет назад

    You got a very good teaching and presentation skills. Thumbs up to the awesome video !

  • @ganesh2182
    @ganesh2182 9 лет назад +4

    Excellent presention Mr. Ramachandran.. Exactly what i was looking for.
    Thanks again n again.!

  • @swapnilpuri
    @swapnilpuri 9 лет назад +1

    Very well explained. Thanks for creating and sharing the Video.

  • @rambabukadali1817
    @rambabukadali1817 3 года назад

    Well explained. Great Job

  • @sujeetsindhu7441
    @sujeetsindhu7441 9 лет назад

    This is very good presentation for getting the basic information of JVM architecture.... Nicely explained!! well done Bro !!

  • @sundarakannandurairaj5987
    @sundarakannandurairaj5987 3 года назад

    excellent video, very well explained.. thanks a lot, you saved me lots of time..

  • @sundararajaneaswara6132
    @sundararajaneaswara6132 3 года назад

    Awesome my dear friend. Explained with proper diagrams in a very easy way. God Bless You!

  • @VinayakPanchal007
    @VinayakPanchal007 3 года назад

    I'm so impressed. An in-depth and crisp architectural overview. Keep doin' the great work!

  • @298sohail
    @298sohail 8 лет назад

    excellent explanation in superb descriptive way (y)