Core Java With OCJP/SCJP:JVM Architecture Part- 2|| Linking ||verfi|| prepare||resolve

  Рет қаралды 76,409

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 44
@himanshugs6366
@himanshugs6366 Жыл бұрын
Thank you Durga sir, its obvious need not to say how awesome your teaching method is,you are no less than god, no one puts i so much efforts to make students understand.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Himanshu. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@shubhamagarwal1434
@shubhamagarwal1434 7 ай бұрын
There are only 2 GOD's Of Java In India & Maybe Whole World. One is Ramesh Sr From LARA Tech Banglore & Other Is DURGA Sr From DurgaSoftwareSolution Hydrabad. Thanks For The Multiverse GOD Sri Hari Vishnu - He Inspired One Of The GOD To Give Free Education On KZbin.....Feeling Blessesd.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@ankitchauhan7104
@ankitchauhan7104 3 жыл бұрын
Linking - 1:41 i) Verify - 3:15 ii) Prepare - 9:52 iii) Resolve - 13:34 Initialization : 24:11 Types of Class Loaders : 33:50
@thorunitha7755
@thorunitha7755 4 жыл бұрын
Linking: 1) VERIFY 2)PREPARE 3)RESOLVE 1)Java is secured language. It can run in any system. No warning. Bytecode verifier: Check the .class file binary representation of a class whether is correct or not. Check whether it is generated by valid compiler and structurely correct or not . If it is generated by humans to create error it will be identified by the bytecode complier of type java.lang.verifyerror 2) Prepare: Allocate memory for Class level static variable and Default value will be assigned Static bloc will be executed Initialization original value will be assigned 3) Resolve: Symbolic names will be replaced with memory reference in method area Class Test{ P S V M(String args()) { String s=new String(“Notes”); Student s = new Student(); } } The class loaded by the class loader .. all the class files Test.Class,Object.class,String.Class, Student.class stored in common pool of test class . During resolve, all the symbolic names will be changes to original memory reference in Method Area.   INITIALIZATION: original value will be assigned all static variable initialized and static block will be executed from parent to child. CLASS LOADER SUBSYSTEM: LOADING -> LINKING -> INITIALIZATION Exception if anyone fails: java.lang.linkageerror TYPES OF CLASS LOADER: 1) BOOTSTRAP | Premordial class loader 2) Extension 3) Application or System class loader 1) BOOTSTRAP | Premordial class loader rt.jar ( all core java API classes) JDK/JRE/LIB/RT.JAR It is available in every JVM It is implemented in native language like c or c++ not java 2) Extension class loader: Child class of bootstrap load class from extension class path JDK|JRE|LIB|EXT sun.misc.launcher$Extension.class 3) Application class loader:or system class loader: is the child of extension class loader JDK|JRE|LIB|EXT load class from application class path internally uses environment variable class path sun.misc.launcher$appclassloader.class
@rahul-vz6zd
@rahul-vz6zd 4 жыл бұрын
Thanks @Thorunitha sathyanarayanan
@haykmkrtchyan7093
@haykmkrtchyan7093 3 жыл бұрын
There are some changes starting from Java 9: - rt.jar and some other jars were removed. Now in the lib you can find only modules. - The Bootstrap classloader is sill in JVM, but represented by null in the classloader API. - The Extension classloader renamed to Platform classloader.
@ranveervaghela7030
@ranveervaghela7030 2 ай бұрын
Completed watching on Oct 27, 2024 at 12.51 AM :(
@Gracedickenson
@Gracedickenson 7 жыл бұрын
Durga Sir, really you are awesomw trainer.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Dickenson. Thank you very much for your feedback
@priyag5812
@priyag5812 8 жыл бұрын
very nice video, good depth you have covered sir, thank you....
@naveennaveenraj821
@naveennaveenraj821 2 жыл бұрын
nice
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Naveen. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@rohitdixit1628
@rohitdixit1628 7 жыл бұрын
very gud explation in depth thank u sr
@chinmayamohapatra4627
@chinmayamohapatra4627 7 жыл бұрын
Sir I really like your each session , thanks for sharing such depth knowledge in java
@shivamkumar-qs7er
@shivamkumar-qs7er 5 жыл бұрын
You deserve a BHARAT RATAN....!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Shivam. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@karnansooriyakumar8002
@karnansooriyakumar8002 3 жыл бұрын
Thank you sir awesome lecture
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Sooriya. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@AadityaKavthekar
@AadityaKavthekar 4 жыл бұрын
Thank you so much, Durga Sir :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Aaditya. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@javateam9818
@javateam9818 3 жыл бұрын
This is superb
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@Techguy-G20
@Techguy-G20 5 ай бұрын
Hello sir. i just looking for the JVM ClassLoader Internal FLow of execution to follow its principle bu unable to find more depth on the Classloader Related Stuff Principle Of Visiblity anfd Principle Of Uniqueness. it required more depth understanding of classLoader subsystem. if we have to designed our classLoader Subsystem .How to dot it.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 ай бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@asheshb
@asheshb 7 жыл бұрын
Very well explained, thanks for the video. I have a question. at 11:00 you say static block execution will happen in "preparation" and then at 25:00 you say static block execution will not happen in "preparation" but in "initialization". can you please clarify?
@shankars4281
@shankars4281 4 жыл бұрын
Same question!
@jvsnyc
@jvsnyc 4 жыл бұрын
@@shankars4281 What Sandeep said. allocation and clearing out to default value happens at Prepare time. setting the static values to their proper values and execution of all static initializers happens a bit later at Initialization time. You usually don't see anything happening this early, of course.
@KUMAR-nb7su
@KUMAR-nb7su 7 жыл бұрын
durga sir please share your one to one video session on advance java
@abhishekbharatparab1803
@abhishekbharatparab1803 7 жыл бұрын
In simple program like to display hello world program, programmer doesn't use static variable so in that case, will preparation phase of linking & initialization phase get invoked or will skip by JVM?
@KUMAR-nb7su
@KUMAR-nb7su 7 жыл бұрын
durga sir you are amazing teaching ,
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Pravat. Thank you very much for your feedback
@reconnoiterandreckon
@reconnoiterandreckon 7 жыл бұрын
Sir, As you said static block will get executed while preparation and initialization. I got confused,is this really gets executed in both phases? Could you please confirm?
@EngineerVaibhav
@EngineerVaibhav 10 ай бұрын
197 video completed🎉❤
@abhishekbharatparab1803
@abhishekbharatparab1803 7 жыл бұрын
Sir, please tell me, whether bytecode or binary code(Machine Language) gets loaded into method area of JVM.
@AMSHASH-xw7lt
@AMSHASH-xw7lt 3 жыл бұрын
You are amazing. However; I want to get clarification on something. So if you have a an object of type Student, my understanding is you that an object is created in a heap using the java "new" key word. Like, Student obj = new Student ( ). But I'm a kind of lost when you say, "class class object" is creaked in a heap. What is class class object ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Shash. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@karnansooriyakumar8002
@karnansooriyakumar8002 3 жыл бұрын
Before creating the student object , JVM automatically create an object "java.lang.class" class type object which contains the student class information for need of programmer.
@KUMAR-nb7su
@KUMAR-nb7su 7 жыл бұрын
sir bootstrap class loader doesn't implement in java ,it is implements in c/c++ language .This class not necessary in java but why this class are loading in jvm ???please explane sir ...
@manideepkumar959
@manideepkumar959 5 жыл бұрын
Byte code verification must be d first step, why this is happening after loading the class into method area & after creating an obj of loaded class??
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Manideep. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@nasarilanka2836
@nasarilanka2836 8 жыл бұрын
All other tokens other than keywords and variable referances are symoblic names during resolution phase?
@md1415
@md1415 7 жыл бұрын
change ur class name as Java GOD -Durga
Core Java With OCJP/SCJP:JVM Architecture  Part- 3|| how class loader works
47:40
Durga Software Solutions
Рет қаралды 59 М.
Core Java With OCJP/SCJP:ENUM  Part- 1|| Introduction
1:01:28
Durga Software Solutions
Рет қаралды 54 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
Core Java With OCJP/SCJP:JVM Architecture  Part- 4|| nead of customized classloader
1:03:31
Core Java With OCJP/SCJP:JVM Architecture  Part- 6|| stack memory
1:06:42
Durga Software Solutions
Рет қаралды 64 М.
Core Java With OCJP/SCJP:Devlopment  Part- 3||Jar vs war vs var||JDK vs JRE VS JVM
1:45:08
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,5 МЛН
This is the Only Right Way to Write React clean-code - SOLID
18:23
Java Strings are Immutable - Here's What That Actually Means
7:06
Coding with John
Рет қаралды 627 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 910 М.
Intro to Object Oriented Programming - Crash Course
30:18
freeCodeCamp.org
Рет қаралды 992 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 336 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 632 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН