JVM ( java virtual machine) architecture - tutorial

Поделиться
HTML-код
  • Опубликовано: 28 июл 2024
  • 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

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

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

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

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

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

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

  • @vyshnavramesh9305
    @vyshnavramesh9305 7 месяцев назад +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.

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

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

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

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

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

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

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

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

  • @harishkumardayalan
    @harishkumardayalan 8 лет назад +1

    One amazing tutorial and very well explained. Thank You!

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

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

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

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

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

  • @SilentPushover
    @SilentPushover 7 лет назад +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!!!

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

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

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

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

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

  • @shajirn
    @shajirn 8 лет назад +3

    I happened to find this by chance. Awesome work, Ranjith!

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

    Excellent way to simplify such a vast topic. Very good explanation, to be understood by even a Lehman. Great Job! Thanks much!

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

    Clear explanation of each step with enough time spent through every important point!
    Very helpful , Thank you, Hope to see more videos coming through.

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

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

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

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

  • @skaterope
    @skaterope 7 лет назад +1

    Great video ,now its much easier to learn more about JVM .

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

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

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

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

  • @tonyputhenveettil5405
    @tonyputhenveettil5405 9 лет назад +2

    It's really cool... Thanks a lot for your effort! Your approach is also great.

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

    Awesome, beautifully and crisply explained. Thanks so much.

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

    Thanks a lot, it helped understanding the JVM

  • @derringerbilly
    @derringerbilly 7 лет назад +1

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

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

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

    That was good presentation. Appreciate you taking the effort to share it with us. Thanks

  • @vincentantonyraj
    @vincentantonyraj 8 лет назад +1

    Asweome learning videos Bro! Keep rocking!

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

    Great work! Thanks for doing this.

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

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

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

    Amazingly informative.....Great Explanation...Thank You.

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

    Excellent!!!! thanks much for such a careful and detailed session.

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

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

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

    Thanks so much for this video. It is a great overview of the JVM. It really helped clear up some of my basic questions.

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

    Brilliant. Thanks for the explanation :)

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

    Great video, great lesson! Thank you.

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

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

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

    Wow, Awesome man. Always you are explaining in depth concepts. First I saw the HashMap and now JVM. I am confident enough to showcase that I am having complete knowledge about this concept.

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

    Thats a beautiful one. Thanks a lot for your time and effort!

  • @MarcoMontaltoMonella
    @MarcoMontaltoMonella 8 лет назад +1

    I liked the presentation.

  • @manikandanshanmugam1780
    @manikandanshanmugam1780 9 лет назад +2

    hi super video ranjith. Clear pictorial representation with wise choice of colors, good english , concepts are well defined and revised well ... expecting some more videos on different basic concepts of java ... great work keep it up ...

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

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

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

    Thanks a lot for such a crystal clear explanation of JVM and it's execution

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

    Excellent tutorial to understand JVM arch. Thanks!

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

    Cool presentation very well explained!!! Thanks :)

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

    Thanks Ranjith, for taking the time to explain an overview of JVM. Made a lot of concepts clear. Please keep posting such videos :)

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

    excellent presentation and explanation. thank you very much for the lesson.

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

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

    Very Nice video! Explained everything, what I was looking for. Great!

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

    Amazing tutorial , sir . Thanks for sharing your knowledge.

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

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

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

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

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

    Great presentation! Nicely done!

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

    great tutorial.. explained every detail.

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

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

  • @NishantGoyal07
    @NishantGoyal07 8 лет назад +1

    Thanks for the great explanation man..!! Great job..

  • @Gajendra.Sukalkar
    @Gajendra.Sukalkar 5 лет назад

    Simple and clean, thanks for creating this video :)

  • @eswarprasad9773
    @eswarprasad9773 5 лет назад +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.

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

    Awesome Video, thanks for sharing it.

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

    Thanks A lot Ranjith for Simple and Clear explanation! Keep up your good work.

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

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

  • @bhargavay5
    @bhargavay5 8 лет назад +1

    Excellent video ranjith!! Very crisp and clear presentation

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

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

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

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

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

    Lovely Presentation with key points of the JVM architecture.

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

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

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

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

    superb. cleared a lot many concepts

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

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

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

    Pretty nice explanation ... Thanks for sharing your hardwork

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

    Thanks for the tutorial. You explained very well

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

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

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

    Excellent video, Thanks!

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

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

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

    Thank you for uploading videos. very well explained.

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

    Great presentation and content. Thanks!

  • @raedsalih6401
    @raedsalih6401 8 лет назад +2

    Very nice, thank you

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

    Nice Explanation. Many Thanks for your effort

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

    High Quality, well done

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

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

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

    Excellent tutorial. Subscribed.

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

    thank you so much for the wonderful explanation .. I know how much hard work goes into preparing suchtutorials . thank you. once again

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

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

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

    Just what i was looking for to prepare for my interview!

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

    excellent explanation in superb descriptive way (y)

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

    Very informative , was looking for something like this since long. Thanks a lot :)

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

    Thanks a lot. Very informative. One of the best videos on JVM.

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

    This is really a nice video with contents explained very clearly. Good work and keep it up !!

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

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

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

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

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

    Well Explained in simple way :-)

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

    Awesome video... felt so good after watching.. great stuff put together.. please come up with more such videos... on various Java topics.. subscribed to your channel

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

    You're awesomely good at this. Thank you!

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

    awesome RANJITH.. Keep posting videos... very useful..appreciate your efforts..