[Mono-dev] GC Safe Points by Polling

2010-04-14 Thread Sanjoy Das
changes. They are required for the project to build successfully. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: mono/metadata/sgen-gc.c === --- mono/metadata/sgen

Re: [Mono-dev] [PATCH] User Set Nursery Size

2010-04-01 Thread Sanjoy Das
Patch attached. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: man/mono.1 === --- man/mono.1 (revision 154393) +++ man/mono.1 (working copy) @@ -1336,6 +1336,19

[Mono-dev] [PATCH] mono_gc_base_init not called with --debug

2010-03-30 Thread Sanjoy Das
the problem is solved only when mono_debug_init is called from mono_main and not from other places (like 'interp.c [main_thread_handler mono_main])'. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: mono/metadata/mono-debug.c

Re: [Mono-dev] [PATCH] User Set Nursery Size

2010-03-29 Thread Sanjoy Das
Patch fixed. Will not work unless the patch to driver.c (attached) is also applied. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: mono/mini/driver.c === --- mono

[Mono-dev] [PATCH] User Set Nursery Size

2010-03-23 Thread Sanjoy Das
Patch (subject to a #define) allows the user to set the nursery size using the environmental variable MONO_GC_PARAMS. (I guess this is required) I hereby declared that the attached patch is released under the MIT/X11 license. -- Regards, Sanjoy Das http://playingwithpointers.com http

Re: [Mono-dev] Non Aligned Nurseries

2010-03-20 Thread Sanjoy Das
Patch with the mentioned issues taken care of. Passes all corlib tests other than the interned string one. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: mono/metadata/sgen-gc.c

Re: [Mono-dev] Non Aligned Nurseries

2010-03-20 Thread Sanjoy Das
to incorporate it. As far as I know a simple statement to that effect is sufficient - Miguel? I hereby declare that the patch attached is licensed under the MIT/X11 license. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt Index: mono

[Mono-dev] Non Aligned Nurseries

2010-03-19 Thread Sanjoy Das
figured it would be a good learning project. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom/public_key.txt (gdb) backtrace #0 _IO_default_xsputn (f=0x7f8086d0, data=value optimized out, n=24) at genops.c:468 #1 0x76d5e526

Re: [Mono-dev] Non Aligned Nurseries

2010-03-19 Thread Sanjoy Das
I tried running with MONO_DEBUG=break-on-unverified and the code breaks at EMIT_NEW_ARGLOAD (5677:method-to-ir.c). No idea why the code is getting flagged as unverified though, the bytecode I'm emitting seems correct to me. :/ -- Regards, Sanjoy Das http://playingwithpointers.com http

Re: [Mono-dev] Non Aligned Nurseries

2010-03-19 Thread Sanjoy Das
Finally got the non-aligned nursery feature to work. Passes all the mscorlib checks except 'MonoTests.System.StringTest.Intern ()', which SGen fails even when ALIGN_NURSERY is defined. Patch attached. -- Regards, Sanjoy Das http://playingwithpointers.com http://playingwithpointers.com/custom

[Mono-dev] Macros and Marks

2010-02-15 Thread Sanjoy Das
with the original (svn) version and not the version patched with the previous patch I mailed on this group. Regards, Sanjoy Das Second Year Undergraduate Student, Department of Mathematics, Indian Institute of Technology, Kharagpur. http://playingwithpointers.com Public Key at http