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

What are the different generaions of Garbage Collection and
how do they work

Answer Posted / vijay

there r 3 generations. they r gen0,gen1,gen2.when objects r
created and buffer is full then garbage collector is called
and the unnecessary objects r removed based on the
priority.this is first generation ie.,gen0.now new objects
will be created.this generation is called gen1.when this is
also full then the unnecessary will be collected and cleaned.
and when new objects come then old objects will be placed in
gen0 and new objects will be kept in gen1.in this way
process continues and when gen2 also filled completely then
gen0 will be cleaned completely.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what optimizations does the c# compiler perform when you use the /optimize+ compiler option?

1039


How do you serialize in c#?

837


What is int32 in c#?

856


What is arraylist?

986


What is sqldataadapter in c#?

881


Where is the keyword void used?

925


How garbage collection deals with circular references.

846


What is immutable in C#?

983


Explain the difference between event and a delegate in c#?

954


Can we inherit private class in c#?

926


What's the difference between a method and a procedure?

955


Why are dynamic link library used over static one?

958


If you want to convert a base type to a derived type, what type of conversion do you use?

936


What is data reader in c#?

1026


Are c# constructors the same as c++ constructors?

933