From: simonm Date: Mon, 1 Feb 1999 10:19:02 +0000 (+0000) Subject: [project @ 1999-02-01 10:19:02 by simonm] X-Git-Tag: Approximately_9120_patches~6649 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c4d0c0c930b38d21dd782668cf522875459dadbb;p=ghc-hetmet.git [project @ 1999-02-01 10:19:02 by simonm] Clarification about the root set and top-level objects for the reachability property. --- diff --git a/ghc/docs/libraries/Weak.sgml b/ghc/docs/libraries/Weak.sgml index bc88b04..0f223f4 100644 --- a/ghc/docs/libraries/Weak.sgml +++ b/ghc/docs/libraries/Weak.sgml @@ -215,6 +215,7 @@ follows A heap object is reachable if: + It is a member of the It is directly pointed to by a reachable object, other than a weak pointer object. It is a weak pointer object whose key is reachable. @@ -222,6 +223,14 @@ a weak pointer object. reachable. +The root set consists of all runnable threads, and all stable pointers +(see Section ). +NOTE: currently all top-level objects are considered to be reachable, +although we hope to remove this restriction in the future. A +