该文被密码保护。
posted @ 2013-09-29 12:30
随笔分类 - C#高级
摘要:We were unable to locate this content in zh-cn.Here is the same content in en-us.JIT and RunDrill Into .NET Framework Internals to See How the CLR Creates Runtime ObjectsHanu KommalapatiandTom ChristianThis article discusses:SystemDomain, SharedDomain, and DefaultDomainObject layout and other memory
阅读全文
posted @ 2011-11-14 11:34
摘要:•SystemDomain, SharedDomain, and DefaultDomain•对象布局和内存细节。•方法表布局。•方法分派(Method dispatching)。本文使用下列技术:.NET Framework, C#本页内容CLR启动程序(Bootstrap)创建的域系统域(System Domain)共享域(Shared Domain)默认域(Default Domain)加载器堆(Loader Heaps)类型原理对象实例方法表基实例大小方法槽表(Method Slot Table)方法描述(MethodDesc)接口虚表图和接口图虚分派(Virtual Dispatch
阅读全文
posted @ 2011-11-14 11:32
摘要:delegate void CallBack(ref int result); class Program { public static void Main(string[] args) { int restut = -1; CallBack cb = new CallBack(Call); cb.BeginInvoke(ref restut, null, null);//异步 while (restut != 0) { Thread.Sleep(200); } Console.Read(); } public static void Call(ref int res) { Thread..
阅读全文
posted @ 2011-09-19 14:02
|
||