ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

JVM ( java virtual machine) architecture - tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 2015
  • In this video I tried to explore one of the popular core Java interview topics - Java virtual machine architecture - this provides you a fairly detailed walk through, also touches up on topics such as permgen and metaspace( jdk8) - I am going to post more topics like these, hit subscribe if you like what you see.
    #java #javatutorial #javainstitute #javainstitute #javaprogramming #easy #macbookair #javaforbeginners #interview #interviews #javascript #architecture #beginners #fypシ #fypシ゚viral #fyp #trending #tutorial #uk #india #interviewquestions #indian #usa #artificialintelligence #mustwatch

ความคิดเห็น • 520

  • @vyshnavramesh9305
    @vyshnavramesh9305 8 หลายเดือนก่อน +5

    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 ปีที่แล้ว +31

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

    • @shabinjose
      @shabinjose 2 ปีที่แล้ว

      Same here👍

  • @jvsnyc
    @jvsnyc 3 ปีที่แล้ว +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...

  • @tatyanav8326
    @tatyanav8326 ปีที่แล้ว

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

  • @baobozo
    @baobozo 9 ปีที่แล้ว +19

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

  • @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..

  • @dmitrikonnov922
    @dmitrikonnov922 2 ปีที่แล้ว +1

    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!

  • @rgt2573
    @rgt2573 9 วันที่ผ่านมา

    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.. 🙏

  • @smuralimohan1
    @smuralimohan1 9 ปีที่แล้ว +30

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

  • @VinothkumarJayandiran
    @VinothkumarJayandiran 2 หลายเดือนก่อน

    Thanks Ranjith for the detailed explanation. Appreciate it.

  • @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.

  • @eswarprasad9773
    @eswarprasad9773 6 ปีที่แล้ว +30

    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.

  • @AbdelmuniemAbdallah
    @AbdelmuniemAbdallah 9 ปีที่แล้ว +13

    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.

  • @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!!!

  • @enjoywithvivin3379
    @enjoywithvivin3379 6 ปีที่แล้ว

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

  • @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.

  • @abhijitsarkar482
    @abhijitsarkar482 2 ปีที่แล้ว

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

  • @byronwang5539
    @byronwang5539 6 ปีที่แล้ว

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

  • @DershiTsi
    @DershiTsi 7 ปีที่แล้ว

    Very helpful video! Thank you!

  • @javedakhtar-om2hb
    @javedakhtar-om2hb 8 ปีที่แล้ว

    Lovely Presentation with key points of the JVM architecture.

  • @akshayyhakrishnamurthy7319
    @akshayyhakrishnamurthy7319 10 หลายเดือนก่อน

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

  • @GeoPoliticsCollection
    @GeoPoliticsCollection 9 ปีที่แล้ว +1

    Awesome, beautifully and crisply explained. Thanks so much.

  • @craftworld703
    @craftworld703 6 ปีที่แล้ว

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

  • @shreyapatil4471
    @shreyapatil4471 4 ปีที่แล้ว +2

    great tutorial.. explained every detail.

  • @ajaykumarmourya7368
    @ajaykumarmourya7368 6 ปีที่แล้ว +1

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

  • @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!

  • @thomasisrael5334
    @thomasisrael5334 7 ปีที่แล้ว

    Nice very good way of explaning

  • @S__Khan__
    @S__Khan__ 4 หลายเดือนก่อน

    Thanks Ranjith. Quite clear and in-depth explanation.

  • @arnabthakuria2243
    @arnabthakuria2243 3 ปีที่แล้ว

    Amazing tutorial , sir . Thanks for sharing your knowledge.

  • @rahulpatil5897
    @rahulpatil5897 8 ปีที่แล้ว

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

  • @UntamedRogueMavrick
    @UntamedRogueMavrick 2 ปีที่แล้ว +1

    Thanks a lot, bro, for keeping very much area for the ppt, and a small window for yourself. If Modi would be presenting the same, it would be vice versa..

  • @jaganr5725
    @jaganr5725 7 ปีที่แล้ว

    Very good explanation..expecting more videos

  • @sundarakannandurairaj5987
    @sundarakannandurairaj5987 3 ปีที่แล้ว

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

  • @samirpanchal5883
    @samirpanchal5883 2 ปีที่แล้ว

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

  • @vivsameer
    @vivsameer 6 ปีที่แล้ว

    The best explanation of JVM I ever heard.

  • @Aditya-yn5lk
    @Aditya-yn5lk 2 ปีที่แล้ว

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

  • @karthikkumar9279
    @karthikkumar9279 7 ปีที่แล้ว

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

  • @derringerbilly
    @derringerbilly 7 ปีที่แล้ว +1

    Very good explanation! I liked all of the simple visuals. Thank you.

  • @chethans279
    @chethans279 9 ปีที่แล้ว

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

  • @mayurkarote785
    @mayurkarote785 3 ปีที่แล้ว

    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.

  • @PavanKumar-yj8fu
    @PavanKumar-yj8fu 2 ปีที่แล้ว

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

  • @ramitsharma3773
    @ramitsharma3773 3 ปีที่แล้ว

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

  • @debasishpatnaik294
    @debasishpatnaik294 2 ปีที่แล้ว

    Very resourceful and well explained !!!

  • @SMARTARIX
    @SMARTARIX 8 ปีที่แล้ว

    Awesome Video, thanks for sharing it.

  • @parthec1
    @parthec1 2 ปีที่แล้ว

    Excellent detailed video,,,

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 3 ปีที่แล้ว

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

  • @andriyyarish8628
    @andriyyarish8628 6 ปีที่แล้ว

    Very valuable video, thank you

  • @sham1796
    @sham1796 4 ปีที่แล้ว

    Sir very good explanation of JVM functionality, please post more videos for enhancing my knowledge

  • @vivekjacas3425
    @vivekjacas3425 8 ปีที่แล้ว

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

  • @kimk.m2428
    @kimk.m2428 9 ปีที่แล้ว +1

    Many Thanks from Kenya

  • @mail2mahendran
    @mail2mahendran 8 ปีที่แล้ว

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

  • @sreenivasuludoniparthi7534
    @sreenivasuludoniparthi7534 4 หลายเดือนก่อน

    It's amazing tutorial and great explanation

  • @swapnilpuri
    @swapnilpuri 9 ปีที่แล้ว +1

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

  • @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!!!

  • @isaaczhu9223
    @isaaczhu9223 6 ปีที่แล้ว +1

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

  • @thalathotitharunprabhakar3390
    @thalathotitharunprabhakar3390 3 ปีที่แล้ว

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

  • @balajikalavakollu4134
    @balajikalavakollu4134 9 ปีที่แล้ว +1

    Very simple, nice and easily understandable... thanks for sharing.

  • @mileshoo2873
    @mileshoo2873 5 ปีที่แล้ว

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

  • @nihanthdara
    @nihanthdara 8 ปีที่แล้ว

    Good Presentation for understanding the memory of JVM.

  • @appapujari
    @appapujari 8 ปีที่แล้ว

    Great explanation ..Thanks for sharing this video .

  • @hassankalaldeh8408
    @hassankalaldeh8408 6 ปีที่แล้ว

    Excellent tutorial to understand JVM arch. Thanks!

  • @sharonbirenbaum5277
    @sharonbirenbaum5277 8 ปีที่แล้ว

    Very useful.
    Thanks very much

  • @AP-eh6gr
    @AP-eh6gr 4 ปีที่แล้ว

    Thanks a lot, this is a very helpful simplification.

  • @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

  • @AdigoThierry
    @AdigoThierry 6 ปีที่แล้ว

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

  • @yungesqargo1493
    @yungesqargo1493 5 ปีที่แล้ว

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

  • @jlestua
    @jlestua 8 ปีที่แล้ว +1

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

  • @rameshyakkala1
    @rameshyakkala1 7 ปีที่แล้ว

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

  • @Nilangadilshanwijetu
    @Nilangadilshanwijetu 6 ปีที่แล้ว

    Well explained. Thank you very much sir!!!!!!!!!!

  • @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!

  • @hasitha7880
    @hasitha7880 4 ปีที่แล้ว

    Excellent tutorial. Subscribed.

  • @AnjumanChawla
    @AnjumanChawla 7 ปีที่แล้ว

    Very good videos..please provide more video on general topic

  • @ravishankar1972
    @ravishankar1972 7 ปีที่แล้ว

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

  • @vamsi0406
    @vamsi0406 9 ปีที่แล้ว

    excellent video...thank u very much...

  • @naveenraovideo
    @naveenraovideo 6 ปีที่แล้ว +1

    Awesome video Ranjit. Increased my clarity on JVM architecture . Many thanks! ☺️ 👍💐

  • @lijoysam5516
    @lijoysam5516 6 ปีที่แล้ว

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

  • @shashankneema4307
    @shashankneema4307 8 ปีที่แล้ว

    Very good explanation of JVM architecture!!!

  • @marconicolodi7937
    @marconicolodi7937 4 ปีที่แล้ว +1

    this video is amazing, thank you so much!

  • @Jukeboxpunk1
    @Jukeboxpunk1 7 ปีที่แล้ว

    well explained with diagrams and flow of jvm

    • @Jukeboxpunk1
      @Jukeboxpunk1 7 ปีที่แล้ว

      Just one question anonymous class .where is it resolved where is the memory allocated

    • @Jukeboxpunk1
      @Jukeboxpunk1 7 ปีที่แล้ว

      finalize() how is this catered in gc thread and is it OS DEPENDENT

  • @knight_rider007
    @knight_rider007 6 ปีที่แล้ว

    very good explanation please post more videos on java

  • @ambareeshreddy5289
    @ambareeshreddy5289 7 ปีที่แล้ว

    Awesome explanation of JVM internals.

  • @dhananjaykumarsingh8057
    @dhananjaykumarsingh8057 8 ปีที่แล้ว

    Nice Explanation, thank you very much

  • @amarapanigrahi
    @amarapanigrahi 3 ปีที่แล้ว

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

  • @madad.moraru5166
    @madad.moraru5166 4 ปีที่แล้ว

    Excellent video, very well done explanation. Thaks!

  • @lmagiczlukas4891
    @lmagiczlukas4891 3 ปีที่แล้ว

    Thank you for this great tutorial!

  • @468hitman
    @468hitman 3 หลายเดือนก่อน

    nicely explained

  • @manasranjan4
    @manasranjan4 7 ปีที่แล้ว

    Really very nice ... thanks for sharing this.

  • @whjeng
    @whjeng 8 ปีที่แล้ว

    Good and simple explanation.

  • @rambabukadali1817
    @rambabukadali1817 2 ปีที่แล้ว

    Well explained. Great Job

  • @kvr6031
    @kvr6031 6 ปีที่แล้ว

    Nice Explanation. Many Thanks for your effort

  • @ganesh2182
    @ganesh2182 8 ปีที่แล้ว +4

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

  • @NikhilKumar-fj2dg
    @NikhilKumar-fj2dg 7 ปีที่แล้ว

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

  • @neerajjassal8750
    @neerajjassal8750 6 ปีที่แล้ว

    Pretty nice explanation ... Thanks for sharing your hardwork

  • @AbhishekKumar-oy2hw
    @AbhishekKumar-oy2hw 6 ปีที่แล้ว

    Thank You very much..Very Clear Explaination..

  • @sundararajaneaswara6132
    @sundararajaneaswara6132 3 ปีที่แล้ว

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

  • @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!

  • @MrRamesh940
    @MrRamesh940 5 ปีที่แล้ว

    Excellent presentation. very well explained .Thank a lot.

  • @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.

  • @guntassingh1
    @guntassingh1 5 ปีที่แล้ว

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

  • @MLprabuddhafernando
    @MLprabuddhafernando 7 ปีที่แล้ว

    very nice video.. so simply understand everything