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


Why doesn't the .NET runtime offer deterministic destruction



Why doesn't the .NET runtime offer deterministic destruction..

Answer / kirti

Because of the garbage collection algorithm. The .NET garbage collector works by periodically running through a list of all the objects that are currently being referenced by an application. All the objects that it doesn't find during this search are ready to be destroyed and the memory reclaimed. The implication of this algorithm is that the runtime doesn't get notified immediately when the final reference on an object goes away - it only finds out during the next sweep of the heap.

Futhermore, this type of algorithm works best by performing the garbage collection sweep as rarely as possible. Normally heap exhaustion is the trigger for a collection sweep.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What is the difference between using system.net and system.net.sockets?

1 Answers  


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

0 Answers  


What type of filter does outputcacheattribute class represents?

0 Answers  


What you mean by routing in asp.net mvc?

0 Answers  


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

0 Answers  


Does the .NET Framework have in-built support for serialization?

2 Answers  


What is the 'page life cycle' of an ASP.NET MVC?

0 Answers   NA,


what is ssdl?

0 Answers   Microsoft,


what are the aggregate functions in ASP.NET?

1 Answers   CTS, IBM, Zylog,


Why is XmlSerializer so slow

1 Answers  


how to create session in .net

3 Answers  


Can you explain renderbody and renderpage in asp.net mvc?

0 Answers  


Categories