Video není dostupné.
Omlouváme se.

JVM ( java virtual machine) architecture - tutorial

Sdílet
Vložit
  • čas přidán 4. 05. 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

Komentáře • 520

  • @devsatg
    @devsatg Před 6 lety +31

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

  • @vyshnavramesh9305
    @vyshnavramesh9305 Před 8 měsíci +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.

  • @jvsnyc
    @jvsnyc Před 3 lety +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...

  • @akshatvashishtha4626
    @akshatvashishtha4626 Před 7 lety +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..

  • @baobozo
    @baobozo Před 9 lety +19

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

  • @eswarprasad9773
    @eswarprasad9773 Před 6 lety +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.

  • @tatyanav8326
    @tatyanav8326 Před rokem

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

  • @smuralimohan1
    @smuralimohan1 Před 9 lety +30

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

  • @thomasisrael5334
    @thomasisrael5334 Před 7 lety

    Nice very good way of explaning

  • @VinothkumarJayandiran
    @VinothkumarJayandiran Před měsícem

    Thanks Ranjith for the detailed explanation. Appreciate it.

  • @parthec1
    @parthec1 Před 2 lety

    Excellent detailed video,,,

  • @rgt2573
    @rgt2573 Před 7 dny

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

  • @dmitrikonnov922
    @dmitrikonnov922 Před 2 lety +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!

  • @enjoywithvivin3379
    @enjoywithvivin3379 Před 6 lety

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

  • @jaganr5725
    @jaganr5725 Před 7 lety

    Very good explanation..expecting more videos

  • @shreyapatil4471
    @shreyapatil4471 Před 4 lety +2

    great tutorial.. explained every detail.

  • @AnjumanChawla
    @AnjumanChawla Před 7 lety

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

  • @craftworld703
    @craftworld703 Před 6 lety

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

  • @kimk.m2428
    @kimk.m2428 Před 9 lety +1

    Many Thanks from Kenya

  • @debasishpatnaik294
    @debasishpatnaik294 Před 2 lety

    Very resourceful and well explained !!!

  • @knight_rider007
    @knight_rider007 Před 6 lety

    very good explanation please post more videos on java

  • @whjeng
    @whjeng Před 8 lety

    Good and simple explanation.

  • @karthickk9096
    @karthickk9096 Před 3 lety +1

    Great

  • @rahulpatil5897
    @rahulpatil5897 Před 8 lety

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

  • @sreenivasuludoniparthi7534
    @sreenivasuludoniparthi7534 Před 4 měsíci

    It's amazing tutorial and great explanation

  • @468hitman
    @468hitman Před 3 měsíci

    nicely explained

  • @javedakhtar-om2hb
    @javedakhtar-om2hb Před 8 lety

    Lovely Presentation with key points of the JVM architecture.

  • @sham1796
    @sham1796 Před 4 lety

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

  • @AbdelmuniemAbdallah
    @AbdelmuniemAbdallah Před 9 lety +13

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

  • @Jukeboxpunk1
    @Jukeboxpunk1 Před 7 lety

    well explained with diagrams and flow of jvm

    • @Jukeboxpunk1
      @Jukeboxpunk1 Před 7 lety

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

    • @Jukeboxpunk1
      @Jukeboxpunk1 Před 7 lety

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

  • @GeoPoliticsCollection
    @GeoPoliticsCollection Před 9 lety +1

    Awesome, beautifully and crisply explained. Thanks so much.

  • @andriyyarish8628
    @andriyyarish8628 Před 6 lety

    Very valuable video, thank you

  • @abhijitsarkar482
    @abhijitsarkar482 Před 2 lety

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

  • @S__Khan__
    @S__Khan__ Před 4 měsíci

    Thanks Ranjith. Quite clear and in-depth explanation.

  • @arnabthakuria2243
    @arnabthakuria2243 Před 3 lety

    Amazing tutorial , sir . Thanks for sharing your knowledge.

  • @mail2mahendran
    @mail2mahendran Před 8 lety

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

  • @rambabukadali1817
    @rambabukadali1817 Před 2 lety

    Well explained. Great Job

  • @karthikkumar9279
    @karthikkumar9279 Před 7 lety

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

  • @DershiTsi
    @DershiTsi Před 7 lety

    Very helpful video! Thank you!

  • @andytube07
    @andytube07 Před 3 lety

    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.

  • @ramitsharma3773
    @ramitsharma3773 Před 3 lety

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

  • @hasitha7880
    @hasitha7880 Před 4 lety

    Excellent tutorial. Subscribed.

  • @RanjitRajD
    @RanjitRajD Před 9 lety +3

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

  • @Aditya-yn5lk
    @Aditya-yn5lk Před 2 lety

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

  • @byronwang5539
    @byronwang5539 Před 6 lety

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

  • @derringerbilly
    @derringerbilly Před 7 lety +1

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

  • @hp354
    @hp354 Před 9 lety +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!!!

  • @sundarakannandurairaj5987

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

  • @vamsi0406
    @vamsi0406 Před 9 lety

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

  • @appapujari
    @appapujari Před 8 lety

    Great explanation ..Thanks for sharing this video .

  • @manasranjan4
    @manasranjan4 Před 7 lety

    Really very nice ... thanks for sharing this.

  • @SMARTARIX
    @SMARTARIX Před 8 lety

    Awesome Video, thanks for sharing it.

  • @sharonbirenbaum5277
    @sharonbirenbaum5277 Před 8 lety

    Very useful.
    Thanks very much

  • @sudhakar104624
    @sudhakar104624 Před 4 lety

    Awesome explaination

  • @Mohamed-uf5jh
    @Mohamed-uf5jh Před 3 lety

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

  • @akshayyhakrishnamurthy7319
    @akshayyhakrishnamurthy7319 Před 10 měsíci

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

  • @vishalbahekar
    @vishalbahekar Před 8 lety

    Very precise presentation on JVM architecture

  • @muneendrachallagulla2019

    Great presentation thnx

  • @vijayr6540
    @vijayr6540 Před 4 lety

    Good , nicely explained

  • @manodyalakmal3020
    @manodyalakmal3020 Před 5 lety

    Well explained and Thanks a lot

  • @shashankneema4307
    @shashankneema4307 Před 8 lety

    Very good explanation of JVM architecture!!!

  • @nihanthdara
    @nihanthdara Před 8 lety

    Good Presentation for understanding the memory of JVM.

  • @kumargaurav5155
    @kumargaurav5155 Před 6 lety

    Fabulous Explanation!

  • @nektariosmusic
    @nektariosmusic Před 8 lety

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

    • @nagirner
      @nagirner Před 8 lety

      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!

  • @vivekjacas3425
    @vivekjacas3425 Před 8 lety

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

  • @hassankalaldeh8408
    @hassankalaldeh8408 Před 6 lety

    Excellent tutorial to understand JVM arch. Thanks!

  • @rameshyakkala1
    @rameshyakkala1 Před 7 lety

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

  • @samirpanchal5883
    @samirpanchal5883 Před 2 lety

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

  • @PavanKumar-yj8fu
    @PavanKumar-yj8fu Před 2 lety

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

  • @vivsameer
    @vivsameer Před 6 lety

    The best explanation of JVM I ever heard.

  • @MrRamesh940
    @MrRamesh940 Před 5 lety

    Excellent presentation. very well explained .Thank a lot.

  • @ambareeshreddy5289
    @ambareeshreddy5289 Před 7 lety

    Awesome explanation of JVM internals.

  • @Nilangadilshanwijetu
    @Nilangadilshanwijetu Před 6 lety

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

  • @ajaykumarmourya7368
    @ajaykumarmourya7368 Před 6 lety +1

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

  • @madad.moraru5166
    @madad.moraru5166 Před 4 lety

    Excellent video, very well done explanation. Thaks!

  • @rajasekhargogula7823
    @rajasekhargogula7823 Před 9 lety

    very nice and helpful

  • @isaaczhu9223
    @isaaczhu9223 Před 6 lety +1

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

  • @venkatagattupalli9896
    @venkatagattupalli9896 Před 6 lety

    clear and neat explanation.thanks

  • @mileshoo2873
    @mileshoo2873 Před 5 lety

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

  • @SilentPushover
    @SilentPushover Před 8 lety +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!!!

  • @lijoysam5516
    @lijoysam5516 Před 6 lety

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

  • @thalathotitharunprabhakar3390

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

  • @kvr6031
    @kvr6031 Před 6 lety

    Nice Explanation. Many Thanks for your effort

  • @chethans279
    @chethans279 Před 9 lety

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

  • @swapnilpuri
    @swapnilpuri Před 9 lety +1

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

  • @MLprabuddhafernando
    @MLprabuddhafernando Před 7 lety

    very nice video.. so simply understand everything

  • @lythd
    @lythd Před 5 lety +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!

  • @venkateshmodepalli8431

    Very helpful information. Thank you very much.......

  • @mayurkarote785
    @mayurkarote785 Před 3 lety

    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.

  • @dhananjaykumarsingh8057

    Nice Explanation, thank you very much

  • @harshitagrawal6299
    @harshitagrawal6299 Před 7 lety

    Awesome lecture on JVM Architecture..

  • @trinadhdn
    @trinadhdn Před 6 lety

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

  • @NikhilKumar-fj2dg
    @NikhilKumar-fj2dg Před 7 lety

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

  • @balajikalavakollu4134
    @balajikalavakollu4134 Před 9 lety +1

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

  • @AP-eh6gr
    @AP-eh6gr Před 4 lety

    Thanks a lot, this is a very helpful simplification.

  • @babelstory
    @babelstory Před 9 lety

    Very nice overview!

  • @neerajjassal8750
    @neerajjassal8750 Před 6 lety

    Pretty nice explanation ... Thanks for sharing your hardwork

  • @lmagiczlukas4891
    @lmagiczlukas4891 Před 3 lety

    Thank you for this great tutorial!

  • @shashikant77
    @shashikant77 Před 7 lety

    Simply Awesome.

  • @ankitbansal2303
    @ankitbansal2303 Před 4 lety

    Great Explanation