summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-28 15:46:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-28 15:46:49 -0300
commitb293ae0577bebaca7169cb4f041b800641d5e2c4 (patch)
treebda609d72277433bda3537ac50ed8fecf9a73898 /lstate.h
parentd9f40e3f6fb61650240c47d548bee69b24b07859 (diff)
downloadlua-github-b293ae0577bebaca7169cb4f041b800641d5e2c4.tar.gz
Details
- new error message for "attempt to assign to const variable" - note in the manual about compatibility options - comments - small changes in 'read_line' and 'pushstr'
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lstate.h b/lstate.h
index e35f8962..3bd52973 100644
--- a/lstate.h
+++ b/lstate.h
@@ -26,6 +26,22 @@
** 'fixedgc': all objects that are not to be collected (currently
** only small strings, such as reserved words).
**
+** For the generational collector, some of these lists have marks for
+** generations. Each mark points to the first element in the list for
+** that particular generation; that generation goes until the next mark.
+**
+** 'allgc' -> 'survival': new objects;
+** 'survival' -> 'old': objects that survived one collection;
+** 'old' -> 'reallyold': objects that became old in last collection;
+** 'reallyold' -> NULL: objects old for more than one cycle.
+**
+** 'finobj' -> 'finobjsur': new objects marked for finalization;
+** 'finobjsur' -> 'finobjold': survived """";
+** 'finobjold' -> 'finobjrold': just old """";
+** 'finobjrold' -> NULL: really old """".
+*/
+
+/*
** Moreover, there is another set of lists that control gray objects.
** These lists are linked by fields 'gclist'. (All objects that
** can become gray have such a field. The field is not the same