You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spoke to @mikem8361 about this and he mentioned when the commands were re-written in c# the help didn't get copied over and setup.
for example, if I do !help fq, I get this
0:000> !soshelp finalizequeue
finalizequeue:
Displays all objects registered for finalization.
Usage:
>!sos finalizequeue [options]
Options:
-detail Will display extra information on any SyncBlocks that need to be cleaned up, and on any RuntimeCallableWrappers (RCWs) that await cleanup. Both of these data structures are cached and cleaned up by the finalizer thread when it gets a chance to run.
-allReady Specifying this argument will allow for the display of all objects that are ready for finalization, whether they are already marked by the GC as such, or whether the next GC will. The objects that are not in the "Ready for finalization" list are finalizable objects that are no longer rooted. This option can be very expensive, as it verifies whether all the objects in the finalizable queues are still rooted or not.
-short Limits the output to just the address of each object. If used in conjunction with -allReady it enumerates all objects that have a finalizer that are no longer rooted. If used independently it lists all objects in the finalizable and "ready for finalization" queues.
-mt <mt> Limits the search for finalizable objects to only those matching the given MethodTable.
-stat, -summary Only print object statistics, not the list of all objects.
this is different from what we have in sosdocs.txt which has way more info -
COMMAND: fq.
COMMAND: finalizequeue.
!FinalizeQueue [-detail] | [-allReady] [-short]
This command lists the objects registered for finalization. Here is output from
a simple program:
0:000> !finalizequeue
SyncBlocks to be cleaned up: 0
MTA Interfaces to be released: 0
STA Interfaces to be released: 1
generation 0 has 4 finalizable objects (0015bc90->0015bca0)
generation 1 has 0 finalizable objects (0015bc90->0015bc90)
generation 2 has 0 finalizable objects (0015bc90->0015bc90)
Ready for finalization 0 objects (0015bca0->0015bca0)
Statistics:
MT Count TotalSize Class Name
5ba6cf78 1 24 Microsoft.Win32.SafeHandles.SafeFileHandle
5ba5db04 1 68 System.Threading.Thread
5ba73e28 2 112 System.IO.StreamWriter
Total 4 objects
The GC heap is divided into generations, and objects are listed accordingly. We
see that only generation 0 (the youngest generation) has any objects registered
for finalization. The notation "(0015bc90->0015bca0)" means that if you look at
memory in that range, you'll see the object pointers that are registered:
0:000> dd 15bc90 15bca0-4
0015bc90 00a743f4 00a79f00 00a7b3d8 00a7b47c
[omitted]
he asked me to file an issue. thanks Mike!
The text was updated successfully, but these errors were encountered:
spoke to @mikem8361 about this and he mentioned when the commands were re-written in c# the help didn't get copied over and setup.
for example, if I do !help fq, I get this
this is different from what we have in sosdocs.txt which has way more info -
he asked me to file an issue. thanks Mike!
The text was updated successfully, but these errors were encountered: