diff options
author | Araq <rumpf_a@web.de> | 2020-10-20 15:00:16 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2020-10-20 15:00:36 +0200 |
commit | 877d5206162fcb491777c9d6cedf65810a3f421f (patch) | |
tree | d40aa6da8969c308ba2b02ceb0bcfb64cc90abdf /doc | |
parent | 3cbe8d2c53cec1f41de116f3d3a9a7678a62da11 (diff) | |
download | Nim-877d5206162fcb491777c9d6cedf65810a3f421f.tar.gz |
gc.rst: updated the docs to reflect reality
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gc.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/gc.rst b/doc/gc.rst index ee7f9000e..84a1338c3 100644 --- a/doc/gc.rst +++ b/doc/gc.rst @@ -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 |