ARC: cycle detector (#12823)
* first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
This commit is contained in:
parent
5848f0042c
commit
83a736a34a
45 changed files with 939 additions and 229 deletions
|
|
@ -3112,11 +3112,13 @@ when not defined(js):
|
|||
destructor: pointer
|
||||
size: int
|
||||
name: cstring
|
||||
traceImpl: pointer
|
||||
disposeImpl: pointer
|
||||
PNimType = ptr TNimType
|
||||
|
||||
when defined(nimSeqsV2) and not defined(nimscript):
|
||||
include "core/strs"
|
||||
include "core/seqs"
|
||||
include "system/strs_v2"
|
||||
include "system/seqs_v2"
|
||||
|
||||
{.pop.}
|
||||
|
||||
|
|
@ -3139,7 +3141,7 @@ when not defined(JS) and not defined(nimscript):
|
|||
{.pop.}
|
||||
|
||||
when defined(nimV2):
|
||||
include core/runtime_v2
|
||||
include system/refs_v2
|
||||
|
||||
import system/assertions
|
||||
export assertions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue