Saturday, 2024-11-16, 10:25 AM
Welcome Guest | RSS
Site menu
Tag Board
500
Our poll
How is .Net classes by R.N.Reddy sir ?
Total of answers: 243
Statistics

Total online: 4
Guests: 4
Users: 0

02-12-2010


               CLR Architecture



Class loader: Which loads classes from applications to clr execution time.

Code Manager: Which manages the code during execution. A .Net application can contain managed code and unmanaged code.

Managed Code: The code which is taking the help of CLR for execution can be called as managed code

Eg: VB.Net, C#.Net, All .Net language codes.

Unmanaged Code: The code which is not taking the help of CLR for execution can be called as managed code

Eg: VB(Visual Base) code, VC++ Code.


Code manager will accept the manged code and it will rejects the unmanaged code.

JIT Compiler: Which converts MSIL code to native code.

Garbage Collector: In .Net technology memory management is handling by the garbage collector.

To perform the memory management garbage collector will do few duties.
    1. Allocating Memory
    2. Deallocating memory or Releasing Memory

1. Allocating Memory: When an object is created by the application then garbage collector will allocate memory for that object within the Heap this can be called as allocating memory.

2. Deallocating memory or Releasing Memory: When an object is not using by the application since long time then garbage collector will recognize that object as unused object or unreachable object & it will destroy the used objects this process can be called as deallocating memory.

That destroyed object released memory garbage collector will allocate for the newly created objects.

In this way garbage collector will perform the memory management.

For allocating memory & deallocating memory programmer may not write single line of code due to this we will call it as automatic memory management.





Search

Time
 

 

Calendar
 
«  November 2024  »
SuMoTuWeThFrSa
     12
3456789
10111213141516
17181920212223
24252627282930

Twitter
 

Entries archive

Copyright R N Reddy © 2024Developed by Nagendra, Venkat, Vijaya and Yaswanth
Get free updates as SMS to your mobile. Just register by clicking here