Re: [DOTNET-ROTOR] build error after making changes

2004-01-12 Thread Barry Bond
OK, so something failed whle compiling the BCL (mscorlib.dll).

'build' just prints summary information to the screen - it also produces
two log files:  builddf.err and builddf.log.  Builddf.log captures all
output from all tools launched by build, and builddf.err is a filtered
version that tries to report just tools that failed.  

Try searching builddf.log for the NMAKE : fatal error U1077: 'if' :
return code '0x1' string and see what happened just before that line.

Barry

-Original Message-
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of Archana
Sent: Sunday, January 11, 2004 9:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET-ROTOR] build error after making changes

Hi,
 I tried doing what you said and got to know also, what the error was
in the /vm directory. now when i continue to build i am getting the
following error
BUILD: Linking /usr/home/archana/fastgc/sscli/clr/src/bcl directory
Compiling - bcl/mscorlib.rc for i386
Compiling - bcl/objdf/rotor_x86/AppDomainSetup.cs for all platforms
NMAKE : fatal error U1077: 'if' : return code '0x1'

BUILD: nmake failed - rc = 2

what might have gone wrong?

On Sun, 11 Jan 2004, Barry Bond wrote:

 '2' is File not found error.

 Try this:

 cd sscli/clr/src/ilasm
 build

 This should print a useful error message.  If it doesn't, open
 builddf.log in the current directory:  it contains the output from all
 of the tools used during the build.

 From the list of things that failed, my guess is that something
failed
 to build in clr\src\vm and it caused a cascade of failures from all
 things that depend on it.

 Barry


--
Regards,
Archana

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


[DOTNET-ROTOR] To acquire all MethodTables

2004-01-12 Thread Jorge Sanchez
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®  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


Re: [DOTNET-ROTOR] To acquire all MethodTables

2004-01-12 Thread Jan Kotas
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


Re: [DOTNET-ROTOR] Second Rotor RFP

2004-01-12 Thread Werner Vogels
Hi Damien, the web-site now appears to have January 30 as deadline for
proposal submission, is that correct or is it still Jan 15?

--
Werner

-Original Message-
From: Damien Watkins [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 10:28 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Second Rotor RFP

Hello

Now that your festive season celebrations are over, this is just a
timely
reminder that submissions for the second Rotor RFP close shortly. I am
looking forward to reading all your proposals so please submit them
soon.

Details can be found at:

http://research.microsoft.com/Collaboration/University/Europe/RFP/Rotor2
/RF
P2.aspx

Thanks
Damien

===
This list is hosted by DevelopMentorR  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


[DOTNET-ROTOR] Class handle in FJit::compileCEE_LDFLD

2004-01-12 Thread Yuan Yu
How do I get a class handle of the object sitting on the top of the stack
in FJit::compileCEE_LDFLD? targetClass is not exactly what I would like to
have, since it may return a handle to some superclass of the object.

Thanks,
-Yuan

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


Re: [DOTNET-ROTOR] Class handle in FJit::compileCEE_LDFLD

2004-01-12 Thread Jan Kotas
The following code will fill ARG_1 with the pointer to the MethodTable*
that's treated as class handle by many parts of the execution engine:

enregisterTOS;
mov_register_indirect_to(ARG_1,TOS_REG_1);

BTW: It is not possible to get the exact CORINFO_CLASS_HANDLE at JIT
time.

-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 Yuan Yu
Sent: Monday, January 12, 2004 6:48 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Class handle in FJit::compileCEE_LDFLD

How do I get a class handle of the object sitting on the top of the
stack
in FJit::compileCEE_LDFLD? targetClass is not exactly what I would like
to
have, since it may return a handle to some superclass of the object.

Thanks,
-Yuan

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


Re: [DOTNET-ROTOR] the write barrier

2004-01-12 Thread Vladimir Fedorov
I assume by dirty, you mean flip the bit in the card table corresponding
to the memory location in which a potential cross-generational pointer
is being stored. Also when you refer to base I assume you mean the start
of the object containing the memory location. In this case you don't
need to do anything, GC will scan the whole object to update the
potential cross generational pointers even if the objects spans multiple
cards some of which are not flipped. The brick table is used to found
the start of the first object outside the card that has been flipped.

I am not sure why you would want to flip cards at compile time, but you
could call FJit_pHlpAssign_Ref(ptr, current_value).

Vladimir

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 Archana
Sent: Monday, January 12, 2004 9:26 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] the write barrier

Hi,
 The function FJit_pHlpAssign_Ref(ptr, val) appears to dirty the slot of
the object getting updated.
if one wants to dirty the base of the object instead, is it possible to
accomplish this at compile time. if so, can you please guide me to the
place where changes need to be done.

Regards,
Archana

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