aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-01-04 20:23:45 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-01-04 20:23:56 +0530
commit6225bc63095bb79ffd4f316451a81bed00affbd1 (patch)
treeaa57069a273149e23bb1b811c9fcb2a9357c85e8 /components/script/dom
parent077bd840a3e7a91cf57b87f825f63e85bf2a4eca (diff)
downloadservo-6225bc63095bb79ffd4f316451a81bed00affbd1.tar.gz
servo-6225bc63095bb79ffd4f316451a81bed00affbd1.zip
Mention MutHeap in DESIGN.md
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/bindings/DESIGN.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/bindings/DESIGN.md b/components/script/dom/bindings/DESIGN.md
index 2dc54c74548..e47d7467609 100644
--- a/components/script/dom/bindings/DESIGN.md
+++ b/components/script/dom/bindings/DESIGN.md
@@ -37,3 +37,4 @@ For supporting SpiderMonkey’s exact GC rooting, we introduce [some types](http
- `Root<T>` contains the pointer to `JSObject` which the represented DOM type has. SpiderMonkey's conservative stack scanner scans it's pointers and marks a pointed `JSObject` as GC root.
- `JSRef` is just a reference to the value rooted by `Root<T>`.
- `RootCollection` is used to dynamically check if rooting satisfies LIFO ordering, because SpiderMonkey's GC requires LIFO order (See also: [Exact Stack Rooting - Storing a GCPointer on the CStack](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Internals/GC/Exact_Stack_Rooting)).
+ - `MutHeap<T>` is a version of `Cell<T>` that is safe to use for internal mutability of Spidermonkey heap objects like `JSVal` and `JS<T>` \ No newline at end of file