Tell me about the internal working of Garbage collector?
Answer Posted / kanth
The main objective of GC is Memory Management....
Gc wil take initiative when ever the application meemory is
low...we hav Finalize() method which runs implicitly...and
Dispose() method which we hav to kal Explicity....
Gc identifies the unused objects with reference counting
concept.
Finalize() method runs implicitly and free the resources if
the object havin no references...in the case of Dispose()
method it wont mind if the reference r ther.....
Gc maintain 4 Generation...start with 0 ..ends with 3
if GC released the resources using
Finalize method() still u can get the object..coz dis
method havin backup...it stores in generation0-3
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is meant by domain model?
What is Area in ASP.Net MVC?
What are the possible razor view extensions?
What is the use of the default route?
What is the role of the jit compiler in .net framework?
what is use of entity container?
Explain two instances where routing is not implemented or required?
How do I use partial view?
What is the advantage of using asp.net routing?
What is the use .Glimpse in ASP.Net MVC
Explain the new features 3.5 framework against with the tool?
What is the 'page life cycle' of an ASP.NET MVC?
What is attribute routing in mvc?
Explain something about model, view and controllers in asp.net mvc?
Can you set the unlimited length for "maxjsonlength" property in config?