Do TLS using pthreads if __thread keyword not supported.
[mono.git] / mono / metadata / ChangeLog
index 3d020dc16526b8d707a08ce253b77584554c4be3..d7ddedd6d180adb7f1ccc3295cf79b976ceb6b4d 100644 (file)
@@ -1,3 +1,67 @@
+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.