From 0010ec68b1bc8bb816a07acc4fee970110fc6b5f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 23 Jan 2012 18:29:12 -0200 Subject: documentation comment (small correction about strings being gray) --- lgc.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lgc.h b/lgc.h index a5075b56..e71743e9 100644 --- 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). */ -- cgit v1.2.3-55-g6feb