English 中文(简体)
为什么辛布克位于4个而不是0个?
原标题:Why syncblk is located at -4 and not at 0?
  • 时间:2010-10-05 03:45:20
  •  标签:
  • windbg
  • sos

因此,如果你想看一物体的yn块,就必须在物体地址前看四 by(32台借机)。 是否有任何人知道tes击4的智慧? 我指的是,它们可以有零的yn块,然后在+4中处理,然后在+8中标。

问题回答

这是一个执行细节,因此,我可以向您说明把这lock锁安排起来的确切理由。 然而,如果看看共同的源头,你就会发现,运行时间对于分配和使用物体有各种优化,实际上,与单一情况有关的数据位于几个不同地点。 例如,辛加锁只是位于其他地方的一个结构的指数值。 同样,在其他地方也储存了可使用方法和欧洲经济共同体地图集。 这些都是执行细节。 海事组织的重要观点是了解如何挖掘清点期间所需的信息。 理解执行细节为何如此重要。

d 我说,它符合人们的期望,特别是对于已经http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.structlayoutattribute.aspx” rel=“nofollow”的建筑,即:。 正如Brian所说,它只是一个执行细节。 与此相类似,小面积的多少执行将分配比要求更多的空间,把头4个(或8个)的配量储存起来,然后把一个被抵消的点点推到另一个旁。





相关问题
Process memory increases much faster with gflags +ust

I ve got stuck in a problem with gflags when trying to find some memory leaks in a windows app. When I turn on the ust flag (in order to collect memory allocations stack traces) the memory of my ...

how to use windbg find out SqlConnection.ConnectionString?

I can use "!do" to dump the SqlConnection instance but not sure how to find out its ConnectionString: 0:018> !do 2fa7730 Name: System.Data.SqlClient.SqlConnection MethodTable: 000007fef4455968 ...

WinDbg .for loop

I am having trouble getting the WinDbg .for command to work. I would like to dump an array of c++ structs. ?? gpTranData->mpApplCodes[0] works for a single entry but I would like to loop through ...

What does "Eclipsed" mean in WinDbg?

In the "Locals" window of WinDbg there are several names with the value <Eclipsed>. In some cases the same name exists multiple times which one real value and the others are shown as <...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

热门标签