aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-01-23 18:29:12 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-01-23 18:29:12 -0200
commit0010ec68b1bc8bb816a07acc4fee970110fc6b5f (patch)
treeaa8ae925abc3dbb695a4239cfe7cf9b04cc29c39
parent28f8ed9113d1fb9862a2ebd8673ca6b99f4ed190 (diff)
downloadlua-0010ec68b1bc8bb816a07acc4fee970110fc6b5f.tar.gz
lua-0010ec68b1bc8bb816a07acc4fee970110fc6b5f.tar.bz2
lua-0010ec68b1bc8bb816a07acc4fee970110fc6b5f.zip
documentation comment (small correction about strings being
gray)
-rw-r--r--lgc.h8
1 files 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 @@
1/* 1/*
2** $Id: lgc.h,v 2.51 2011/09/30 12:44:19 roberto Exp roberto $ 2** $Id: lgc.h,v 2.52 2011/10/03 17:54:25 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -20,8 +20,10 @@
20** is that a black object can never point to a white one. Moreover, 20** is that a black object can never point to a white one. Moreover,
21** any gray object must be in a "gray list" (gray, grayagain, weak, 21** any gray object must be in a "gray list" (gray, grayagain, weak,
22** allweak, ephemeron) so that it can be visited again before finishing 22** allweak, ephemeron) so that it can be visited again before finishing
23** the collection cycle. These lists have no meaning when the invariant 23** the collection cycle. (These rule does not apply to strings,
24** is not being enforced (e.g., sweep phase). 24** which are never black but do not need to be visited again.)
25** These lists have no meaning when the invariant is not being enforced
26** (e.g., sweep phase).
25*/ 27*/
26 28
27 29