Optimizing a marking phase in mark-sweep garbage collectors by reducing paging activity
Abstract
A garbage collector can initialize a garbage collection cycle. The cycle can include a mark phase and a sweep phase. The mark phase can traverses a complete set of objects in a heap. The heap can be associated with a virtual application memory including a primary memory and a secondary memory. The virtual application memory can be managed by a virtual memory manager, which moves pages between the primary memory and the secondary memory. Information can be bidirectionally communicated between a garbage collector and the virtual memory manager. A default order in which the objects are evaluated during the mark phase can be altered to minimize paging activity. The altering of the order can be based at least in part upon information obtained from the virtual memory manager.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for garbage collection comprising: a garbage collector using a processor initializing a garbage collection cycle, wherein said garbage collection cycle comprises a mark phase and a sweep phase, wherein said mark phase traverses a complete set of objects in a heap, wherein said heap is associated with a virtual application memory comprising a primary memory and a secondary memory, wherein the virtual application memory is managed by a virtual memory manager, which moves pages between the primary memory and the secondary memory; communicating information bidirectionally between the garb
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Cher, C.Y., et al., "Software prefetching for mark-sweep garbage collection: hardware analysis and software redesign," [online] Proc.11th Int'l. Conf. on Architectural Support for Programming Languages & Operating Systems, pp. 199-210, 2004, [retrieved Dec. 29, 2008] retrieved from the Internet: .
- Cher, C.Y., et al., "Software prefetching for mark-sweep garbage collection: hardware analysis and software redesign," [online] Proc.11th Int'l. Conf. on Architectural Support for Programming Languages & Operating Systems, pp. 199-210, 2004, [retrieved Dec. 29, 2008] retrieved from the Internet: <ht
- Chicha, Y., et al., "A Localized Tracing Scheme Applied to Garbage Collection," [online] APLAS 2006, [retrieved Dec. 29, 2008] retrieved from the Internet .
- Chicha, Y., et al., "A Localized Tracing Scheme Applied to Garbage Collection," [online] APLAS 2006, [retrieved Dec. 29, 2008] retrieved from the Internet <http://www.csd.uwo.ca/˜watt/pub/reprints/2006-APLAS-LTS.pdf>.
- Hertz, M., et al., "Garbage collection without paging," [online] Proc. 2005 ACM SIGPLAN Conf. on Programming Language Design & Implementation, Jun. 12-15, 2005, [retrieved Jul. 29, 2009] retrieved from the Internet <http://www.ittc.ku.edu/˜kulkarni/teaching/archieve/EECS700-Spring-2009/papers/GC—pag