Page-protection based memory access barrier traps
Abstract
A method, apparatus and computer program product for providing page-protection based memory access barrier traps is presented. A value for a user-mode bit (u-bit) is computed for each extant virtual page in an address space, the u-bit indicative that an object on the virtual page is being moved by a Garbage Collector process. An instruction is executed which causes an access protection fault. The state of the u-bit for the virtual page associated with the access protection fault is consulted when the access protection fault is encountered. Additionally, the access protection fault is translated into a user-trap (utrap) and the utrap is serviced when the u-bit is set.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of providing page-protection based memory access barrier traps, the method comprising: in response to an access protection fault for a specified virtual page, querying a cache mapping addresses of virtual pages to values of user-mode bits (u-bits) for a u-bit corresponding to the specified virtual page, each of the u-bits indicating that an object on a corresponding one of the virtual pages is being moved by a Garbage Collector process; in response to the query returning a zero value or not-found response, dispatching the access protection fault to a trap handler that computes a value
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 5,463,778 A | User controlled trap handler | 1995 | 16 |