Re: Register Allocators and Garbage Collectors

"Sandeep Dutta" <niktechc@niktech.com>
Mon, 15 Sep 2008 07:35:00 -0700

          From comp.compilers

Related articles
Register Allocators and Garbage Collectors rand.chars@gmail.com (Ori Bernstein) (2008-09-09)
Re: Register Allocators and Garbage Collectors gneuner2@comcast.net (George Neuner) (2008-09-13)
Re: Register Allocators and Garbage Collectors marcov@stack.nl (Marco van de Voort) (2008-09-14)
Re: Register Allocators and Garbage Collectors niktechc@niktech.com (Sandeep Dutta) (2008-09-15)
Re: Register Allocators and Garbage Collectors rand.chars@gmail.com (Ori Bernstein) (2008-09-15)
Re: Register Allocators and Garbage Collectors rand.chars@gmail.com (Ori Bernstein) (2008-09-15)
Re: Register Allocators and Garbage Collectors gneuner2@comcast.net (George Neuner) (2008-09-16)
Re: Register Allocators and Garbage Collectors rand.chars@gmail.com (Ori Bernstein) (2008-09-17)
| List of all articles for this month |

From: "Sandeep Dutta" <niktechc@niktech.com>
Newsgroups: comp.compilers
Date: Mon, 15 Sep 2008 07:35:00 -0700
Organization: Compilers Central
References: 08-09-052
Keywords: GC
Posted-Date: 15 Sep 2008 16:36:54 EDT

Hi Ori,


A typical garbage collector would "scan" the stack of all
active processes looking for values that "might be" pointers.
If it finds something that looks like a pointer, it will mark
the "memory" as referenced. This will lead some false positives
ofcourse.


Hope that helps.


Sandeep



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.