Do TLS using pthreads if __thread keyword not supported.
[mono.git] / mono / metadata / ChangeLog
index 6bd668a89ddc69d23b54f2a744b6511c55513c50..d7ddedd6d180adb7f1ccc3295cf79b976ceb6b4d 100644 (file)
@@ -1,3 +1,98 @@
+2009-06-04  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Do TLS using pthread API if __thread keyword is not
+       supported.
+
+2009-06-04  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Disable TLA and managed allocation if the __thread
+       keyword is not supported.
+
+2009-06-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * marshal.c (get_wrapper_target_class): New helper function.
+       (mono_marshal_get_runtime_invoke): Place runtime-invoke wrappers into
+       the <Module> class of the image. Fixes #509049.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * threads.c (ves_icall_System_Threading_Thread_Sleep_internal):
+       Check if the thread was interrupted and proccess it straight away.
+       Makes abortion much more responsive.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * threads.c (mono_thread_execute_interruption): Use atomic cas with
+       MonoThread::interruption_requested to match it's counterpart.
+
+       Fixes a hang in abort-stress-1 on a 2 core x86.
+
+       * threads.c (ves_icall_System_Threading_Thread_GetAbortExceptionState):
+       Fix warning.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       Change MonoImage::name_cache to be protected by the image lock
+       instead of the loader lock.
+
+       * appdomain.c (deregister_reflection_info_roots): Protect access
+       to name_cache.
+
+       * class.c (mono_image_init_name_cache): Change from the loader lock
+       to the image lock. Check if the cache wasn't already created.
+
+       * class.c: Change from the loader to the image lock.
+
+       * icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces): Fix
+       the code to hold the image lock while iterating over name_cache and
+       not go into mono_array_new holding it.
+
+       * metadata-internals.h: Add a comment about this change.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
+       Under the 2.0 profile raise the loader error.
+
+       Fixes #508532.
+
+2009-06-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * marshal.c (mono_marshal_get_runtime_invoke): Emit the right kind
+       of ldind opcode for generic instances so we don't fail for direct wrappers.
+       This only affect direct calls.
+
+2009-05-31  Zoltan Varga  <vargaz@gmail.com>
+
+       * reflection.c (create_dynamic_mono_image): Fix warnings.
+
+       * generic-sharing.c (other_info_equal): Ditto.
+       
+2009-05-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement field signature check.
+
+2009-05-29 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement standalone signature check.
+
+2009-05-28 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * metadata-verify.c: Implement methodref signature check.
+
+2009-05-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * object-internals.h (MonoRuntimeCallbacks): New structure containing
+       callbacks supplied by the runtime.
+
+       * object.c (mono_install_callbacks): New internal function to install
+       the callbacks.
+
+       * object.c (mono_create_ftnptr): Move the implementation of this to
+       mini/.
+
+       * object.c (mono_get_addr_from_ftnptr): Ditto.  
+
 2009-05-27 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * metadata-verify.c (parse_return_type): Proper byref check.
 
        * appdomain.c: Bump corlib version.
 
+2009-05-27  Martin Baulig  <martin@ximian.com>
+
+       * mono-debug.c (mono_debug_init): Use `MONO_DEBUG_FORMAT_DEBUGGER'
+       if `_mono_debug_using_mono_debugger' is set to make things work
+       properly when embedding Mono.
+
 2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * class.c (mono_class_setup_fields): Don't mark simd types as having