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

When we do partial refresh of a page using update panel how server knows it(which event occurs?)

2 Answers  


Explain culture and uiculture values.

0 Answers  


What is the difference between application state and caching?

0 Answers  


Explain the difference between asp & asp.net.

0 Answers  


Can action method static?

0 Answers  


Which data types are supported by the RangeValidator control?

2 Answers   Siebel,


What is variable and constant in .net programming language?

0 Answers  


Derive WSDL?

6 Answers   Siebel,


What is a query string in a url?

0 Answers  


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

0 Answers  


How would ASP and ASP.NET applications run at the same time on the same server?

0 Answers   Satyam,


what is asp.net

4 Answers  


Categories