From 877d5206162fcb491777c9d6cedf65810a3f421f Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 20 Oct 2020 15:00:16 +0200 Subject: [PATCH] gc.rst: updated the docs to reflect reality --- doc/gc.rst | 3 +-- 1 file changed, 1 insertion(+), 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