HighTechTalks DotNet Forums  

Garbage Collection and Manage Code?

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss Garbage Collection and Manage Code? in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Laser Lu
 
Posts: n/a

Default Garbage Collection and Manage Code? - 01-26-2004 , 05:37 AM






What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu



Reply With Quote
  #2  
Old   
Cor
 
Posts: n/a

Default Re: Garbage Collection and Manage Code? - 01-26-2004 , 05:46 AM






Hi Laser,

You can go to this link (not the microsoft normal link) and type in
"managed code" in the search

http://msdn.microsoft.com/

The garbage collection is a collection from unused objects which is cleaned
by the framework time by time.

I hope this helps,

Cor
Quote:
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!



Reply With Quote
  #3  
Old   
Wayne Wengert
 
Posts: n/a

Default Re: Garbage Collection and Manage Code? - 01-26-2004 , 07:15 AM



Those terms usually apply to the .NET environment. You might want to post
this question in one of those NGs.

Wayne

"Laser Lu" <lu_yanfeng (AT) hotmail (DOT) com> wrote

Quote:
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu





Reply With Quote
  #4  
Old   
Bob Butler
 
Posts: n/a

Default Re: Garbage Collection and Manage Code? - 01-26-2004 , 09:13 AM



"Wayne Wengert" <wayneDONTWANTSPAM (AT) wengert (DOT) com> wrote

Quote:
Those terms usually apply to the .NET environment. You might want to
post this question in one of those NGs.
It is; it's cross-posted to both dotnet and VB 'classic' groups so the
responses are a mixture of both worlds.

--
Reply to the group so all can participate
VB.Net... just say "No"



Reply With Quote
  #5  
Old   
Jay B. Harlow [MVP - Outlook]
 
Posts: n/a

Default Re: Garbage Collection and Manage Code? - 01-26-2004 , 12:36 PM



Laser,
In addition to the other's comments:

http://msdn.microsoft.com/netframework/

http://msdn.microsoft.com/library/de.../faq111700.asp

http://msdn.microsoft.com/library/de...kref_start.asp

Hope this helps
Jay

"Laser Lu" <lu_yanfeng (AT) hotmail (DOT) com> wrote

Quote:
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu





Reply With Quote
  #6  
Old   
Gaurav Khanna [C# MVP]
 
Posts: n/a

Default Re: Garbage Collection and Manage Code? - 01-26-2004 , 10:48 PM



Hi!

Simply put, Managed Code refers to the code that executes within the
confines and control of the Common Language Runtime (CLR), the Virtual
Machine for the .NET Framework. And one of the benefits of using managed
code is that you can allocate memory for the objects created by your
application, without worrying about releasing that memory. The CLR is
intelligent enough to decide when an object, allocated by your application,
has become garbage (i.e., no longer being used by your application), and it
will automatically collect all the garbage objects and release the
associated memory. This process is termed as Garbage collection.

The following articles by Jeffrey Richter will help you understand it
better:

http://msdn.microsoft.com/msdnmag/is...00/GCI/GCI.asp
http://msdn.microsoft.com/msdnmag/is.../GCI2/GCI2.asp

--
Regards,
Kumar Gaurav Khanna
-----------------------------------------------------------------
Microsoft MVP - C#/.NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
Bangalore .NET Users' Group
http://groups.msn.com/bdotnet/
"Laser Lu" <lu_yanfeng (AT) hotmail (DOT) com> wrote

Quote:
What doese Garbage Collection mean? And what is Managed Code?
Any links to relevant articles or resources would be appreciated!

--
Best regards,
Laser Lu





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.