Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

SOS: Link a !TraverseHeap object root with a thread id

$
0
0

Hi there,

The !TraverseHeap command dumps the objects on the GC heap.  In the resulting output, it includes the root objects, e.g.:

r 0x0000000000191400 0x0000000000191408 0x0000000000191410 0x0000000000191418 0x0000000000191420 0x0000000000191428 0x0000000000191430 0x0000000000191438 0x0000000000191440 0x0000000000191448 0x0000000000191450 0x0000000000191458 0x0000000000191460 0x0000000000191468 0x0000000000191470 0x0000000000191478 0x0000000000191480 0x0000000000191488 0x0000000000191490 0x0000000000191498 ...

Is there a way to resolve each of those root addresses to either:

1.  CLR thread id (for objects rooted by a thread's stack)

2.  freachable list

Thanks for any pointers.

Best,

Mike


Mike Volodarsky


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>