The method tables for arrays are created by
ClassLoader::CreateArrayMethodTable in clr\src\vm\array.cpp.

Another special method table that you may run into is transparent proxy
method table. It is created by CTPMethodTable::CreateTPMethodTable in
clr\src\vm\remoting.cpp.

-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of Jorge Sanchez
Sent: Monday, January 12, 2004 8:43 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] To acquire all MethodTables

Hello,

I've tried to acquire all the MethodTables used by SSCLI to perform a GC
cycle. To do that, I've created a linked list of MethodTables, that is
populated every time a MethodTable is created in function
SetupMethodTable
in file class.cpp. This should work, cause is assume all MethodTables in
the EE are created through this function, but I seem to be missing some
of
them. As an example, I've executed the function GetDebugClassName over
one
of these and I get "Object[]".

My question is if there's any other way to create a MethodTable besides
this function, and when (and where) does this happen in the Execution
Engine.

Please answer me as soon as possible, because it's an important matter
for
my project.

Thank you very much, in advance.

Jorge Sanchez

===================================
This list is hosted by DevelopMentor(r)  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

===================================
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

Reply via email to