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


When Garbage Collector will run and how its identifing
whether the Object is used or Not.?

Answers were Sorted based on User's Feedback



When Garbage Collector will run and how its identifing whether the Object is used or Not.?..

Answer / sivaprasad

I think Garbage Collector is a normal priority thread
running in the application under normal conditions, when
heap memory is full it takes high priority and traces
referrance tree and mark the objects which have referrance
count is zero.usually when object is out of scope it memory
in heap automatically reclaimed by Garbage Collector(if it
has no referrances)

Is This Answer Correct ?    15 Yes 0 No

When Garbage Collector will run and how its identifing whether the Object is used or Not.?..

Answer / naresh

Garbage Collector identifies a unused object using "referce
counting" reference countiing: how many times the object is
used if the count is zero..its is unuesd....now the gc will
release the resources..

Is This Answer Correct ?    6 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

Difference between abstract factory pattern and factory method pattern in .NET with example.

3 Answers   ACS, IBM, Keane India Ltd,


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

0 Answers  


what are the main advantage in .net?

4 Answers   TCS,


Can a master page have more than one contentplaceholder?

0 Answers  


Suppose you display a data having 200 records in a datagrid. Then you edit 100 records of them. Now when you will press update button,all 100 records should be updated in single shot rather than reading every record and updating. How to do it?

4 Answers   Wipro,


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

0 Answers  


how can you bind data from dataset to XML file

2 Answers   LG Soft,


What is _dopostback in asp net?

0 Answers  


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

0 Answers  


How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)

2 Answers  


What are asp.net web forms?

0 Answers  


Why is global asax is used?

0 Answers  


Categories