Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is it possible to unit test an mvc application without running the controllers in an asp.net process?

1182


What are the main features of asp.net mvc 4 used by asp.net web api?

1134


What is the role of the jit compiler in .net framework?

1161


what is minimum requirement for entity framework applications to run?

1195


Is the following route definition a valid route definition? {controller}{action}/{id}

1291


What is .net architecture?

1063


Explain tempdata in asp.net mvc?

1164


What are the 2 ways of adding constraints to a route?

1050


Is dapper faster than entity framework?

1028


Why should we go for entity framework?

1062


How to Create an Intranet Site Using ASP.NET MVC?

1150


What is conceptual model? : Entity framework

985


What is difference between razor and web form engine?

1203


What are the main components of .net framework?

1092


What is definingquery in entity framework? : Entity framework

1045