spec: accept RFC 0008 and integrate heap, regions and budgets
- spec 03 §18-§21: allocation authority and live-byte budgets, heap (own.new/array/take/free), regions (create/new/array/reset/destroy, static generations, E2104 on live references) - spec 05 §11.2, 07 §8.9, 07a summary, 08 §11.2 region allocation paths and the ok-parameter exception to borrow_joins - registries: alloc_error, mem.alloc budget form, mandatory deterministic budget; heap and regions published
This commit is contained in:
1 parent
d4d641ad84
commit
b8d4ab4d4c
8 files changed
+154
-7
No files matched your search
@@ -263,6 +263,10 @@ A fallible intrinsic delivers its results as the parameters of `@ok` (count and
|
||||
|
||||
The catalogue of intrinsics is [`../reference/intrinsics.md`](../reference/intrinsics.md).
|
||||
|
||||
### 11.2 Allocation budgets
|
||||
|
||||
The authority object of a `cap<mem.alloc>` carries a budget of simultaneously live bytes, shared by all copies and charged along the chain of narrowings; see spec 03 §18.
|
||||
|
||||
## 12. Runtime
|
||||
|
||||
- A capability is represented as an index into a host-owned table of (kind, scope) entries. The index is not observable by the program.
|
||||
|
||||
Reference in new issue
Block a user