microsoft / clrmd

Microsoft.Diagnostics.Runtime is a set of APIs for introspecting processes and dumps.
MIT License
1.05k stars 255 forks source link

ClrMD 2.0: Missing access to ThreadPool details #746

Closed chrisnas closed 12 months ago

chrisnas commented 4 years ago

ClrRuntime does not expose ClrThreadPool ThreadPool anymore. Note that GetThreadPoolData is available at SosDac level but does not seem to be called.

leculver commented 4 years ago

The Threadpool works completely differently in .Net Core than it does on desktop CLR. Most of the functions that the old ClrMD threadpool code exposed (including the dac functions) don't produce the right answers anymore. I'd like to add this back at some point (and plan to) but it will be a lot bigger than just porting the old 1.1 code...I'll need to go dig through new implementation and see what we should actually expose through APIs.