diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-06 10:49:56 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-06 10:49:56 -0300 |
| commit | 789e7acdea3ada96bd00b7aac6d82e805bfee85c (patch) | |
| tree | b9901b2700d11d01bfe320244a545f41d106b973 /lapi.c | |
| parent | 74b401353892318cd7ded6ca149258feb21d1724 (diff) | |
| download | lua-789e7acdea3ada96bd00b7aac6d82e805bfee85c.tar.gz lua-789e7acdea3ada96bd00b7aac6d82e805bfee85c.tar.bz2 lua-789e7acdea3ada96bd00b7aac6d82e805bfee85c.zip | |
Major collections done incrementally
Major collections do not need to "stop the world". Still pending:
criteria for shifts minor-major, shifts generational-incremental.
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1211,7 +1211,7 @@ LUA_API int lua_gc (lua_State *L, int what, ...) { | |||
| 1211 | setgcparam(g, genminormul, minormul); | 1211 | setgcparam(g, genminormul, minormul); |
| 1212 | if (majormul != 0) | 1212 | if (majormul != 0) |
| 1213 | setgcparam(g, genmajormul, majormul); | 1213 | setgcparam(g, genmajormul, majormul); |
| 1214 | luaC_changemode(L, KGC_GEN); | 1214 | luaC_changemode(L, KGC_GENMINOR); |
| 1215 | break; | 1215 | break; |
| 1216 | } | 1216 | } |
| 1217 | case LUA_GCINC: { | 1217 | case LUA_GCINC: { |
