Original Post
🔒 Locked
garbage collection program
Advertisement
GC is a big subject, try googling for info.
Top google ref for 'garbage collector'
[edited by - JuNC on October 11, 2002 4:21:55 AM]
Top google ref for 'garbage collector'
[edited by - JuNC on October 11, 2002 4:21:55 AM]
You may want to consider reference-counting for garbage collection. It''s prone to errors if used by itself (circular references can cause objects to become uncollectable), but it''s simple and easy to implement. COM uses reference counting for its GC.
As for preventing overflows: the only way in user space to prevent access violations is to not allow untrusted machine code to be run. Use a VM, and do bounds checking.
Don''t listen to me. I''ve had too much coffee.
As for preventing overflows: the only way in user space to prevent access violations is to not allow untrusted machine code to be run. Use a VM, and do bounds checking.
Don''t listen to me. I''ve had too much coffee.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement