Few question about CLR.

D

deep

Can anyone help me out about some confusion regarding CLR?

1. When CLR code first run in memory? Who is reponsible to run CLR
code?

2. Is there are a single copy of CLR for every .net process? I mean's
is every process share same CLR?

3. How CLR allocate memory for .net process.
 
S

Sergey Zyuzin

Can anyone help me out about some confusion regarding CLR?

1. When CLR code first run in memory? Who is reponsible to run CLR
code?

You can read about how .net application is started here:
http://blog.vuscode.com/malovicn/archive/2007/12/25/net-foundations-net-execution-model.aspx
2. Is there are a single copy of CLR for every .net process? I mean's
is every process share same CLR?

I suppose that each process has it's own CLR instance, because core
CLR functionality is located in MSCorWks.dll , which is COM server
(I'm referring to the article above).
3. How CLR allocate memory for .net process.
I don't exactly understand the question, but it allocates memory in
chunks several megabytes long when it requires more memory.

Thanks,
Sergey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top