aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
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 @@
26** 'fixedgc': all objects that are not to be collected (currently 26** 'fixedgc': all objects that are not to be collected (currently
27** only small strings, such as reserved words). 27** only small strings, such as reserved words).
28** 28**
29** For the generational collector, some of these lists have marks for
30** generations. Each mark points to the first element in the list for
31** that particular generation; that generation goes until the next mark.
32**
33** 'allgc' -> 'survival': new objects;
34** 'survival' -> 'old': objects that survived one collection;
35** 'old' -> 'reallyold': objects that became old in last collection;
36** 'reallyold' -> NULL: objects old for more than one cycle.
37**
38** 'finobj' -> 'finobjsur': new objects marked for finalization;
39** 'finobjsur' -> 'finobjold': survived """";
40** 'finobjold' -> 'finobjrold': just old """";
41** 'finobjrold' -> NULL: really old """".
42*/
43
44/*
29** Moreover, there is another set of lists that control gray objects. 45** Moreover, there is another set of lists that control gray objects.
30** These lists are linked by fields 'gclist'. (All objects that 46** These lists are linked by fields 'gclist'. (All objects that
31** can become gray have such a field. The field is not the same 47** can become gray have such a field. The field is not the same