What happens to the objects which survive a garbage collection?
New objects are created in generation 0. Those which survive first collection are moved to the generation 1, after second collection the survived objects are moved to the generation 2 and stay in that generation since the max number of generation supported by CLR is 2. In other words, the overall number of generations supported is 3 (0, 1 and2)
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Stored Procedure vs Function Stored procedure cannot be executed using SQL Select command whereas Function (UDF) can be executed using SQL ...
-
SSRS stands for SQL Server Reporting Services . SSRS is server based reporting platform. It provides reporting functionality from different ...
-
Criteria BasicHttpBinding WsHttpBinding Security support This supports the old ASMX style, i.e. WS-BasicProfile 1.1. This exposes web ser...
-
Database Connection - Datereader requires an open database connection whereas Dataset does not require an open database connection Namespa...
-
IIS provides a variety of authentication schemes: • Anonymous (enabled by default) - Client does not provide any credetials • Basic - ...
-
Different types of diagrams in UML : UseCase diagram Class diagram Object diagram State diagram Sequence diagram Collaboration diagram...
-
Extents are basic unit in which space is allocated to tables and indexes. Extent is eight contiguous pages i.e 64 KB.
-
Normalization is a method to seperate data into multiple tables and relate these multiple tables. Some benefits of normalized database : 1)...
-
Difference between Control Flow and Data Flow in SSIS are as follows : The smallest unit in Control Flow is task whereas smallest unit in D...
-
Refer below code to understand : using System; delegate void DelMethod(int x); // This is the delegate declaration // Example is Class c...
No comments:
Post a Comment