Re: About ObjHeader

zongjian He <[email protected]> Wed, 25 Feb 2004 14:44:41 +0800
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <[email protected]>
Thanks for your reply. The information is exactly what
I want.



--- Daniel Spoonhower <[email protected]> 姝f锛>
Hi, Jason.
>
> In syncblk.h, the following definition is made.
>
> #define ObjSizeOf(c) (sizeof(c) + sizeof(ObjHeader))
>
> This is used to define the m_BaseSize member of a
> MethodTable (for compiled
> classes, see class.cpp line 7280). The BaseSize is
> then, in turn, passed to
> the various allocation functions (for example,
> gcscan.cpp line 796).
>
> I hope this helps!
>
> --djs


=====
Best Regards
Jason He


_________________________________________________________
Do You Yahoo!?
瀹ㄥ璐圭甸椹娉ㄥ璧棰澶60缃缁瀛ㄧ┖
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com

===================================
This list is hosted by DevelopMentor  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com