Re: [DOTNET-ROTOR] cordbg + checked option

2004-10-13 Thread SUBSCRIBE DOTNET-ROTOR Memomana
I am trying to debug the Rotor's (managed) base class library. I am not trying to debug the unmanaged code. The problem is that the debugger can not load the symbols for the BCL. Gajah Mada === This list is hosted by DevelopMentor® http://www.develop.com

[DOTNET-ROTOR] heap_segment

2004-09-01 Thread SUBSCRIBE DOTNET-ROTOR Memomana
In the gcsmppriv.h file, we have class heap_segment { public: BYTE* allocated; BYTE* committed; BYTE* reserved; BYTE* used; BYTE* mem; BYTE* plan_allocated; ... } In the documentations, 'used' field points to the end of the currently initialized portion of the segment. Is

[DOTNET-ROTOR] Remoting - Simultaneous Connections

2004-08-25 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Hi, What is the maximum number of clients that can be handled simultaneously by a Singleton remotable object (in .NET Remoting)? Is the number the same in the CLR and CLI? Does the answer relatively depend on the host machine (uniprocessor/multiprocessor)? I noticed when I simulated 100 clients

Re: [DOTNET-ROTOR] CLR vs. SSCLI

2004-08-17 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Yes. I have verified that the code is in fact running (the logging is successful). I managed to have the Expect script and the CLR-based HelloWorld program to talk to each other. However, very sadly, it is only successful in Cygwin. As for any Windows-lovers, I hope this can be done in a pure

Re: [DOTNET-ROTOR] CLR vs. SSCLI

2004-08-16 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Thank you for the reply. I was trying to run a C# program with 'Expect for Windows' (Tcl-based). When I run a C# HelloWorld program using the CLR (i.e. ask the Expect script to run the HelloWorld in the CLR), the program never display the Hello World! in the console. However, running using the

Re: [DOTNET-ROTOR] CLR vs. SSCLI

2004-08-16 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Thank you for the reply. I tried compiling the HelloWorld.cs with '/target:exe' option. However, it did not solve the problem. Compiling with 'csc HelloWorld.cs' is the same as with 'csc /target:exe HelloWorld.cs'. By default, the '/target:exe' option is included when we use 'csc'. One strange

[DOTNET-ROTOR] Debugging (SOS)

2004-06-25 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Hi, I could not successfully follow the steps to use the SOS extension as in documented in sscli\docs\debugging\sos.html. Everytime I try to set a breakpoint (after loading the SOS), it fails. For example: 0:000 bp rotor_pal!pal_writefile *** WARNING: Unable to verify checksum for

Re: [DOTNET-ROTOR] FW: Using Visual Studio to Build Rotor

2004-06-14 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Please ignore the previous message. It certainly works by using the cordbg. Memomana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in

Re: [DOTNET-ROTOR] FW: Using Visual Studio to Build Rotor

2004-06-13 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Is there a way to debug the managed codes in the SSCLI\clr\src\bcl directory? I have changed two .cs files of the base classes. However, I do not know how to debug it. Thank you beforehand. Memomana === This list is hosted by DevelopMentor®

Re: [DOTNET-ROTOR] FW: Using Visual Studio to Build Rotor

2004-06-13 Thread SUBSCRIBE DOTNET-ROTOR Memomana
Thank you. Can we do it with VS .NET? Memomana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK

[DOTNET-ROTOR] Heap Size

2004-05-10 Thread SUBSCRIBE DOTNET-ROTOR Memomana
What is the initial gen1 heap size? It seems that gen1 heap is enlarged after several GC, but what is its initial size? Any help will be appreciated. Thank you. Memomana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be

Re: [DOTNET-ROTOR] GC

2004-04-19 Thread SUBSCRIBE DOTNET-ROTOR Memomana
I mean that when GC occurs there will be one thread performing GC. Will this particular thread create some new objects to support the garbage collection process? === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested

Re: [DOTNET-ROTOR] Allocation Questions

2004-03-26 Thread SUBSCRIBE DOTNET-ROTOR Memomana
The easy way would be to test the profiler against an application that will cause only one GC. The simplest would be to create a HelloWorld program that calls Systsm.GC.Collect() once. This simple HelloWorld application will also guarantee that there is no MovedReferences callback is

[DOTNET-ROTOR] Allocation Questions

2004-03-25 Thread SUBSCRIBE DOTNET-ROTOR Memomana
I have questions regarding allocations in the GC heap. I really hope someone could help me on these. #1 Are static objects allocated in the GC heap? #2 Are VM internal objects allocated in the GC heap? #3 Are weak references to delegates allocated in the GC heap? #4 Does ObjectAllocated

Re: [DOTNET-ROTOR] Allocation Questions

2004-03-25 Thread SUBSCRIBE DOTNET-ROTOR Memomana
There are several root objects (notified by the RootReferences callback method) that are unknown. What I mean by unknown is that those root object allocations are never notified by the ObjectAllocated callback method. Some of those unknown objects are of type System.Security.SecurityElement,

[DOTNET-ROTOR] Class Libraries - VS .NET vs. Rotor

2004-03-04 Thread SUBSCRIBE DOTNET-ROTOR Memomana
I have a question regarding the references to the libraries in Rotor and Visual Studio .NET. Let me give you a very small example program. ---start--- using System; using System.Xml; public class Delete { public static void Main() { XmlDocument doc = new

[DOTNET-ROTOR] Thread ID

2004-02-15 Thread SUBSCRIBE DOTNET-ROTOR Memomana
I noticed that when we start a C# application using the CLI, there will be different threads doing allocations before the user application starts. I can see that by using the default profiler (included in the SSCLI distribution). I think these different threads are allocating objects that are

Re: [DOTNET-ROTOR] Strings

2004-02-02 Thread SUBSCRIBE DOTNET-ROTOR Memomana
#1 In C#, for example, the code System.Console.WriteLine(Hello World); Does this create a System.String object, with own copy of Hello World in Unicode encoding, in the run-time heap? Does the run-time access the #US stream (user-defined string heap) to look for the particular string and make a

[DOTNET-ROTOR] Strings

2004-01-31 Thread SUBSCRIBE DOTNET-ROTOR Memomana
In the Metadata Unmanaged API, it is mentioned that strings (including the user-defined strings) are stored in the metadata string pool. However, why are there a lot of System.String object being created during an application execution? I turned on the profiler (ObjectAllocated callback), that

[DOTNET-ROTOR] Method Entry/Return

2003-11-26 Thread SUBSCRIBE DOTNET-ROTOR Memomana
How do we capture each method invocation and return? Is it possible to capture its information as well? Thank you very much. === 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

Re: [DOTNET-ROTOR] Method Entry/Return

2003-11-26 Thread SUBSCRIBE DOTNET-ROTOR Memomana
The CProfilerCallBack::JITCompilationStarted function only displays the method name that is being jitted. if ( GetMethodNameFromFunctionId( functionId, wszClass, wszMethod ) ) { ProfilerPrintf(JITCompilationStarted: %ls::%ls\n,wszClass,wszMethod); } else { ProfilerPrintf(