我在高内存问题上做了一些工作,并且我一直在windbg中进行大量堆分析,而且我很好奇在“!heap -flt -s xxxx”命令中不同的列是什么意思。“!堆-flt -s xxxx”windbg命令中的不同列表示
我看了What do the 'size' numbers mean in the windbg !heap output?,我看了一下我的“Windows内部”书,但我仍然有一堆问题。所以列和我的问题在下面。 !
**HEAP_ENTRY** - What does this pointer really point to? How is it different than UserPtr?
**Size** - What does this size mean? How is it different than UserSize?
**Prev** - This just appears to be the negative offset to get to the previous heap entry. Still not sure exactly how it's used.
**Flags** - Is there any documentation on these flags?
**UserPtr** - What is the user pointer? In all cases I've seen it's always 8 bytes higher than the HEAP_ENTRY, but I don't really know what it points to.
**UserSize** - This appears to be the size of the actual allocation.
**state** - This just tells you what state of this heap entry is (free, busy, etc....)
Example:
HEAP_ENTRY Size Prev Flags UserPtr UserSize - state
0015eeb0 0044 0000 [07] 0015eeb8 00204 - (busy)
很好的问题..我想知道同样的事情 – pepsi