Register
Sign In
Skip over navigation
Home
Add New Question
Jobs
Products
Basic functionality of Garbage Collector
Question posted
in
Computer Software
on
10 2010
Rate question difficulty level
0
0 Votes
What is the basic functionality of Garbage Collector in .Net
Add an answer
Share
|
2 Answers
Guest
In an object-oriented environment every object than been created by the following steps:
1. Allocate memory for the type that represents the resource.
2. Initialize the memory to set the initial state of the resource and to make the resource usable.
3. Use the resource by accessing the instance members of the type (repeat as necessary).
4. Tear down the state of the resource to clean up.
5. Free the memory.
In the common language runtime (CLR), the garbage collector serves as an automatic memory manager. It provides the following benefits:
1.Enables you to develop your application without having to free memory.
2.Allocates objects on the managed heap efficiently.
3.Reclaims objects that are no longer being used, clears their memory, and keeps the memory available for future allocations. Managed objects automatically get clean content to start with, so their constructors do not have to initialize every data field.
4.Provides memory safety by making sure that an object cannot use the content of another object.
you can read more at http://msdn.microsoft.com/en-us/library/ee787088.aspx
10/12/2010
SEs
the managed heap efficiently.
finance
03/25/2012
Add an answer*
Your name
Email
Enter the code shown above:
please wait..
Company:
Oblicore
Location:
Israel
Tags:
CLR
,
.net
,
developer
Occupations:
IT Project Management
,
Software\System Architecture
,
Software\Web Development
add a question
Now hiring!
Business Analyst, Product Development IT Relationship Managment Team
Vertex Pharmaceuticals
Cambridge, MA
Activity Diagrams- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and ... - Bachelors Degree- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and...
---------------------------
IT Sourcing Procurement Analyst Software Service Infrastructure
CVS Caremark
Woonsocket, RI
Strategy, including: Procurement Execution ?Maintain IT procurement process in collaboration with IT stakeholders ... legal risk mitigation strategy are addressed ?Support the development of executive briefings summarizing contract...
---------------------------
IT Project Manager - Information Systems Development
UnitedHealth Group
Southfield, MI
innovative solutions to meet them * Participate in the development of business strategy * Develop and manages ... of healthcare for millions of people worldwide. It's your chance to be a transformational force in the...
---------------------------
Software Development Analyst/ .NET Developer- Health IT
Northrop Grumman
Atlanta, GA
Sharp programming skills, eagerness for challenging development opportunities, and the ability to work with a ... of information security concepts and principles, as it pertains to application/service development and...
---------------------------
(IT Applications Analyst Developer Lead
Halliburton
Houston, TX
Houston, TX DUTIES: Responsible for the development, acquisition, maintenance and support of applications in assigned ... plus 7 years of progressive experience in Systems Development and Application Support, including analysis,...
---------------------------
Mgr Software Development 2-Health IT
Northrop Grumman
Little Rock, AR
and software developers. Works with members of the development team to ensure that all legacy data is ... years of relevant experience - Experience with IT Project Development Lifecycle - Experience converting data for...
---------------------------
IT Specialist (Applications Development)
Parsons
Houston, TX
in software complexity. Makes a recommendation to senior IT management and the end user. Uses charts, diagrams and ... guidance to lower-level IT staff assigned to an application development project. * Develops functional specifications to...
---------------------------
Software Development Engineer (IT Security)
Amazon.com
Seattle, WA
Role Description Amazon.com is looking for expert Software Development Engineers to develop tools supporting the IT ... for you. You will participate in every level of software development from requirements gathering to operational...
Jobs
by
Simply
Hired
View all jobs