mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
2e297d6ab3
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.