[Mono-dev] [patch] Clean up

Zoltan Varga vargaz at gmail.com
Tue May 3 10:52:39 EDT 2011


Hi,

  This will never work, the runtime depends on variables being zero
initalized in a mirriad places. Neither java's hotspot, nor MS.NET CLR
allows you to start/stop the runtime multiple times.

                 Zoltan

On Tue, May 3, 2011 at 3:54 PM, Richard Sykes <jitsua at gmail.com> wrote:

> Hi,
>
> I'm new here (just signed up), following the
> http://mono-project.com/Contributing #Ways to Contribute. If
> okay/appropriate, I would like to throw into the ring suggested fixed as I
> find them.
> Constructive feedback is appreciated.
> My motive/goal: To get this working...
>  MonoDomain* domain = mono_jit_init_version ("Root Domain", "v2.0.50727");
>  mono_jit_cleanup(domain);
>  domain = mono_jit_init_version ("Root Domain", "v2.0.50727");
> The fix: The first one (of many) is very simple & trivial; set the
> global_codeman back to NULL so that it goes through the correct code path in
> function mono_global_codeman_reserve
> My Code base: Tarball 2.10.2
> File: mini.c
> Function: mini_cleanup
> Line: 6706 to 6707
> Old code:
>
>  if (!mono_dont_free_global_codeman)
>
> mono_code_manager_destroy (global_codeman);
> New code:
>
>  if (!mono_dont_free_global_codeman)
>
> {
>
> mono_code_manager_destroy (global_codeman);
>
> global_codeman = NULL;
>
> }
>
> Regards,
>
>
> Richard Sykes.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110503/8f991037/attachment-0001.html 


More information about the Mono-devel-list mailing list