Asynchronous garbage collection

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395425, 364DIG1, 3642811, 3642813, 3642814, 364282, G06F 1200

Patent

active

053554833

ABSTRACT:
The present invention consists of a new type of garbage collector, one that runs in a different process being scanned. With this method, the process being collected communicates its memory state ("a memory snapshot") to a garbage collecting process (GC), and the GC process scans the memory and sends back the information about garbage. As a result, the present invention permits garbage collection to be performed asynchronously. The process being scanned for garbage is interrupted only briefly, to obtain the memory snapshot. The process then runs without interruption while the garbage collection is being performed. The present invention makes the assumption that if an object is garbage at the time of the memory snapshot it remains garbage any time later, since new pointers to that object cannot be created during asynchronous collection. The method further considers the case where the results of a cache computation is a collectable object itself. The method includes keeping a list while a collection is in progress of all the objects being given away from the cache. When an object is received as garbage from the GC, it is only freed if it is not on the list. The garbage collecting process is performed using a conservative scan. The garbage collector finds out if an object is garbage by scanning the memory address space and comparing the value found in each scanned memory address to see if the value matches the candidate for garbage. If no match is found, this means that the candidate for garbage is not referenced and therefore, is garbage.

REFERENCES:
patent: 4598361 (1986-07-01), Logsdon et al.
patent: 4648065 (1987-03-01), Zenk et al.
patent: 4685125 (1987-08-01), Zave
patent: 4755939 (1988-07-01), Watson
patent: 4775932 (1988-10-01), Oxley et al.
patent: 4807120 (1989-02-01), Courts
patent: 4814971 (1989-03-01), Thatte
patent: 4888681 (1989-12-01), Barnes et al.
patent: 4907151 (1990-03-01), Bartlett
patent: 4912629 (1990-03-01), Shuler, Jr.
patent: 4951194 (1990-08-01), Bradley et al.
patent: 4961137 (1990-10-01), Augusteijn et al.
patent: 4989134 (1991-01-01), Shaw
patent: 4989137 (1991-01-01), Oxley et al.
patent: 5088036 (1992-02-01), Ellis et al.
patent: 5093782 (1992-03-01), Muraski et al.
patent: 5109336 (1992-04-01), Guenther et al.
patent: 5241673 (1993-08-01), Schelvis
"Real-time Concurrent Collection on Stock Multiprocessors" Appel et al Jun. 1988 pp. 11-20.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Asynchronous garbage collection does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Asynchronous garbage collection, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Asynchronous garbage collection will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1665780

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.