Closed Thread
Results 1 to 4 of 4

Thread: Tracing and generational Garbage Collectors

  1. #1
    silviob36 is offline Newbie
    Join Date
    Jan 2010
    Posts
    2
    Rep Power
    0

    Tracing and generational Garbage Collectors

    Hello,
    I've two questions about garbage collectors:
    What information should a compiler provide in the runtime, for a tracing collector to work?
    And then, what is the technique of generational garbage collection?

    Sorry for my bad english!
    Thanks!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Tracing and generational Garbage Collectors

    Did you have a specific language in mind, or is this pure theory? This sounds suspiciously like homework, so a guess on your part would help.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    silviob36 is offline Newbie
    Join Date
    Jan 2010
    Posts
    2
    Rep Power
    0

    Re: Tracing and generational Garbage Collectors

    It is pure theory...
    I found lots of informations about the two questions on the internet, but don't know what are the most important aspect...

  5. #4
    alienkinetics's Avatar
    alienkinetics is offline Programmer
    Join Date
    Feb 2010
    Location
    Australia
    Posts
    154
    Rep Power
    0

    Re: Tracing and generational Garbage Collectors

    If I understand the question correctly, I would say:

    1) Reference Count - So you know when an object is garbage.
    2) Time Created - So you know how long an object has been garbage.
    3) Memory Size - So you know the gains you receive by destroying an object.
    4) Type of Object - So you know if you can reuse the object.

    Unless I have miss understood what you are asking.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Garbage collection
    By Pradeepa in forum Java Help
    Replies: 5
    Last Post: 09-14-2011, 03:10 PM
  2. ray tracing in c programming
    By zeybekli in forum C and C++
    Replies: 3
    Last Post: 04-20-2010, 08:09 AM
  3. 1st year student: Tracing a program by hand
    By BrownianMan in forum General Programming
    Replies: 3
    Last Post: 10-18-2009, 02:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts