Skip to content

Commit

Permalink
Update faq (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
leculver authored Mar 13, 2024
1 parent 8fc4501 commit 115e810
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions doc/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ We don't actually have a way to enumerate all "types" in the process. ClrHeap.E

Static variables are not "roots" in the strictest sense. They are always rooted, but the GC does not consider them to be roots. ClrMD 1.1 would report these as roots because it's convenient to treat them as roots when reporting to the user why an object is alive. However, that code takes a very long time, and it wasn't providing an accurate view of the runtime. If you need those back or to find what object addresses are you can use this method (or reimplement it yourself): https://github.com/microsoft/clrmd/blob/master/src/Microsoft.Diagnostics.Runtime.Utilities/StaticRootsExtension.cs.

## Why doesn't ClrMD 2.0 provide ThreadStatics anymore?

Thread static variables were never working properly in the older version of ClrMD. This is because the underlying dac api we use to enumerate them isn't fully implemented and can return incorrect results. Until this is fixed and we have a way to actually provide accurate answers, I've removed these from the library.

## What platforms are supported?

ClrMD is fully supported on Windows and Linux. We are currently working on OS X support but there is no ETA for when this will be complete.
Expand Down

0 comments on commit 115e810

Please sign in to comment.