Documentation Fix Typo, Add Table (#14609)
This commit is contained in:
parent
aa70cfdea2
commit
881fa94b57
1 changed files with 13 additions and 1 deletions
14
doc/gc.rst
14
doc/gc.rst
|
|
@ -36,13 +36,25 @@ To choose the memory management strategy use the ``--gc:`` switch.
|
||||||
cause memory leaks, beware.
|
cause memory leaks, beware.
|
||||||
|
|
||||||
- ``--gc:orc``. Same as ``-gc:arc`` but adds a cycle collector based on "trial deletion".
|
- ``--gc:orc``. Same as ``-gc:arc`` but adds a cycle collector based on "trial deletion".
|
||||||
Unforunately that makes its performance profile hard to reason about so it is less
|
Unfortunately that makes its performance profile hard to reason about so it is less
|
||||||
useful for hard realtime systems.
|
useful for hard realtime systems.
|
||||||
|
|
||||||
- ``--gc:none``. No memory management strategy nor garbage collector. Allocated memory is
|
- ``--gc:none``. No memory management strategy nor garbage collector. Allocated memory is
|
||||||
simply never freed. You should use ``--gc:arc`` instead.
|
simply never freed. You should use ``--gc:arc`` instead.
|
||||||
|
|
||||||
|
|
||||||
|
================== ======== ================= ======================
|
||||||
|
Memory Management Heap Reference Cycles Command line switch
|
||||||
|
================== ======== ================= ======================
|
||||||
|
RefC Local Cycle Collector ``--gc:refc``
|
||||||
|
Mark & Sweep Local Cycle Collector ``--gc:markAndSweep``
|
||||||
|
ARC Shared Leak ``--gc:arc``
|
||||||
|
ORC Shared Cycle Collector ``--gc:orc``
|
||||||
|
Boehm Shared Cycle Collector ``--gc:boehm``
|
||||||
|
Go Shared Cycle Collector ``--gc:go``
|
||||||
|
None Manual Manual ``--gc:none``
|
||||||
|
================== ======== ================= ======================
|
||||||
|
|
||||||
JavaScript's garbage collector is used for the `JavaScript and NodeJS
|
JavaScript's garbage collector is used for the `JavaScript and NodeJS
|
||||||
<backends.html#backends-the-javascript-target>`_ compilation targets.
|
<backends.html#backends-the-javascript-target>`_ compilation targets.
|
||||||
The `NimScript <nims.html>`_ target uses the memory management strategy built into
|
The `NimScript <nims.html>`_ target uses the memory management strategy built into
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue