gc.rst: updated the docs to reflect reality

This commit is contained in:
Araq
2020-10-20 15:00:16 +02:00
parent 3cbe8d2c53
commit 877d520616

View File

@@ -176,8 +176,7 @@ useful for us, so it might be useful for you. To get a heap dump, compile
with ``-d:nimTypeNames`` and call ``dumpNumberOfInstances`` at a strategic place in your program.
This produces a list of used types in your program and for every type
the total amount of object instances for this type as well as the total
amount of bytes these instances take up. This list is currently unsorted!
You need to use external shell script hacking to sort it.
amount of bytes these instances take up.
The numbers count the number of objects in all garbage collector heaps, they refer to
all running threads, not only to the current thread. (The current thread