commit 0010ec68b1bc8bb816a07acc4fee970110fc6b5f
parent 28f8ed9113d1fb9862a2ebd8673ca6b99f4ed190
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 23 Jan 2012 18:28:48 -0200
documentation comment (small correction about strings being
gray)
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lgc.h b/lgc.h
@@ -1,5 +1,5 @@
/*
-** $Id: lgc.h,v 2.51 2011/09/30 12:44:19 roberto Exp roberto $
+** $Id: lgc.h,v 2.52 2011/10/03 17:54:25 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -20,8 +20,10 @@
** is that a black object can never point to a white one. Moreover,
** any gray object must be in a "gray list" (gray, grayagain, weak,
** allweak, ephemeron) so that it can be visited again before finishing
-** the collection cycle. These lists have no meaning when the invariant
-** is not being enforced (e.g., sweep phase).
+** the collection cycle. (These rule does not apply to strings,
+** which are never black but do not need to be visited again.)
+** These lists have no meaning when the invariant is not being enforced
+** (e.g., sweep phase).
*/