Efficient write-watch mechanism useful for garbage collection in a computer system
Abstract
An efficient write-watch mechanism and process. A bitmap is associated with the virtual address descriptor (VAD) for a process, one bit for each virtual page address allocated to a process having write-watch enabled. As part of the write-watch mechanism, if a virtual address is trimmed to disk and that virtual address page is marked as modified, then the corresponding bit in the VAD is set for that virtual address page. In response to an API call (e.g., from a garbage collection mechanism) seeking to know which virtual addresses in a process have been modified since last checked, the memory manager walks the bitmap in the relevant VAD for the specified virtual address range for the requested process. If a bit is set, then the page corresponding to that bit is known to have been modified since last asked. If specified by the API, the bit is cleared in the VAD bitmap so that it will reflect the state since this time of asking. If the bit is not set, to determine if the page was modified, the page table entry (PTE) is checked for that page, and if the PTE indicates the page was modified, the page is known to be modified, otherwise that page is known to be unmodified since the last cal
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 292.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-readable medium having computer-executable instructions, comprising: maintaining information indicative of whether a page has been modified since last checked; modifying the information upon the page being trimmed to storage to indicate that the page has been modified since last checked; receiving a request as to whether the page has been modified since last checked; and indicating in response to the request that the page has been modified since last checked based on the information.
- Claim 2Depends on #1
The computer-readable medium of claim 1 , wherein the information is maintained in a bitmap having one bit for each page of a plurality of pages, the plurality of pages including the page, each bit indicating whether its corresponding page has been changed since last checked.
- Claim 3Depends on #2
The computer-readable medium of claim 2 , wherein the bitmap is subject to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 292 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Agesen et al., "Garbage Collection and Local Variable Type Precision and Liveness in Java Virtual Machine," ACM Sigplan Notices, vol. 33, No. 5, pp. 269-279 (May, 1998).
- Anonymous, " Elements of Comparison Java/Hotjava vs. Caml/MMM," http://pauillac.inria.fr/~rouaix/mmm/currentjavacomp.html printed May 28, 1999.
- Anonymous, "A Comparison of Inferno and Java," Computing Sciences Research of Bell Labs, http://www.lucent-inferno.com/Page . . . tion/White<SUB>-</SUB>Papers/infernojava.html printed Jul. 12, 1999.
- Anonymous, "Blue-What is it," http://www.sd.monash.edu.au/blue/what-is-it.html printed Jul. 9, 1999.
- Anonymous, "Cmm and Java Compared: A Comparison of Modern Languages for the Internet and Worldwide Web," (1997), http://nombas.com/us/otherdoc/javavcmm.html printed Jul. 12, 1999.