MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / luaC_fullgc

Function luaC_fullgc

lua/lgc.c:1139–1155  ·  view source on GitHub ↗

** Performs a full GC cycle; if 'isemergency', set a flag to avoid ** some operations which could change the interpreter state in some ** unexpected ways (running finalizers and shrinking some structures). ** Before running the collection, check 'keepinvariant'; if it is true, ** there may be some objects marked as black, so the collector has ** to sweep all objects to turn them back to white (as

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaM_realloc_Function · 0.85
lua_gcFunction · 0.85

Calls 3

entersweepFunction · 0.85
luaC_runtilstateFunction · 0.85
setpauseFunction · 0.85

Tested by

no test coverage detected