aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-13 15:43:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-13 15:43:02 -0300
commit2e297d6ab37c1bb255b6984b91dd92d9080e02c9 (patch)
treed9031b8d7fbd2670efb6f9a7d24a7a08f24de844 /lmem.c
parentfb18346dddcb0400d0396111c56a817a8d4bd8bd (diff)
downloadlua-2e297d6ab37c1bb255b6984b91dd92d9080e02c9.tar.gz
lua-2e297d6ab37c1bb255b6984b91dd92d9080e02c9.tar.bz2
lua-2e297d6ab37c1bb255b6984b91dd92d9080e02c9.zip
Fixed bug in generational collection of userdata
During generational collection, a userdatum must become gray and go to a gray list after being traversed (like tables), so that 'correctgraylist' can handle it to its next stage. This commit also added minimum tests for the generational collector, including one that would detect this bug.
Diffstat (limited to 'lmem.c')
0 files changed, 0 insertions, 0 deletions