1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
use ManagedMemoryBinding;
use Arc;
/// Keeps a page as it is for as long as it lives: nothing new is carved from
/// it, it is never released, and relocation leaves everything on it in place.
///
/// What a graph holds on the memory it replays against. A graph keeps raw
/// addresses but no bindings, so the bytes behind them must neither move nor
/// be handed to another allocation. The allocations on the page keep their
/// handles untouched, so one can still be updated in place while the page is
/// guarded.
///
/// A resolved resource needs no guard: the binding it holds keeps its own
/// allocation in place, and leaves the rest of the page to other allocations.