Rodrigo Kumpera [Mon, 11 May 2015 18:59:04 +0000 (14:59 -0400)]
Merge pull request #1783 from alexanderkyte/thread_transition_crash
[runtime] Make thread abort synchronous
Ludovic Henry [Mon, 11 May 2015 16:38:29 +0000 (17:38 +0100)]
[bcl] Fix Process.OnExited multiple call with the MS ThreadPool
Alexis Christoforides [Mon, 11 May 2015 15:52:07 +0000 (11:52 -0400)]
[runtime] Add a couple of asserts to thread attach methods
Marek Safar [Mon, 11 May 2015 14:55:52 +0000 (16:55 +0200)]
[system] CompilerParameters from reference sources
Marek Safar [Mon, 11 May 2015 13:36:03 +0000 (15:36 +0200)]
[system.xml] Serialization from reference sources for desktop
Marek Safar [Mon, 11 May 2015 07:40:06 +0000 (09:40 +0200)]
[System.Runtime.Caching] Fix warnings
Marek Safar [Mon, 11 May 2015 13:33:23 +0000 (15:33 +0200)]
Merge pull request #1788 from ermshiperete/master-Xamarin-29935
Unit test that demonstrates Xamarin-29935
Eberhard Beilharz [Mon, 11 May 2015 13:04:41 +0000 (15:04 +0200)]
Unit test that demonstrates Xamarin-29935
Change-Id: I3510a2ccb897e0a0baf03af3a34bb74d6b700e03
Ludovic Henry [Mon, 11 May 2015 12:37:25 +0000 (13:37 +0100)]
[threadpool-ms] Remove thread waiting and memory cleanup
This could lead to hangs because threadpool->counter._.active would not be decremented. It means we cannot cleanup memory as the threads may still try to access the threadpool global variable.
Ludovic Henry [Sat, 9 May 2015 17:20:07 +0000 (18:20 +0100)]
[threadpool-ms] Fix assertion error "threadpool-ms.c:731, condition `counter._.working >= 0' not met"
Zoltan Varga [Mon, 11 May 2015 07:24:14 +0000 (03:24 -0400)]
[runtime] Implement support for locals info for portable pdb files.
Zoltan Varga [Sun, 10 May 2015 09:43:53 +0000 (05:43 -0400)]
[runtime] Finish support for sequence point info for the portable pdb format.
Zoltan Varga [Sun, 10 May 2015 08:27:32 +0000 (04:27 -0400)]
[runtime] Fix some FIXMEs in mono_ppdb_get_seq_points ().
Zoltan Varga [Sun, 10 May 2015 06:55:47 +0000 (02:55 -0400)]
[runtime] Add mono_ppdb_get_seq_points () function, same as mono_debug_symfile_get_seq_points () but for portable pdb files.
Zoltan Varga [Sun, 10 May 2015 06:43:00 +0000 (02:43 -0400)]
[runtime] Add a mono_debug_get_seq_points () function which is a wrapper for mono_debug_symfile_get_seq_points ().
Zoltan Varga [Sun, 10 May 2015 06:23:03 +0000 (02:23 -0400)]
[runtime] Rename mono_debug_symfile_get_line_numbers_full () to mono_debug_symfile_get_seq_points (), return most of the information in an array of MonoSymSeqPoint structures. Remove unused mono_debug_symfile_get_line_numbers () function.
Zoltan Varga [Sun, 10 May 2015 02:14:08 +0000 (22:14 -0400)]
[runtime] Remove more unused debugger code.
Marek Safar [Sat, 9 May 2015 10:24:20 +0000 (12:24 +0200)]
[system.runtime.caching] Remove inappropropriate use of Marshal.SizeOf. Fixes #29667
Marek Safar [Sat, 9 May 2015 09:49:45 +0000 (11:49 +0200)]
[system.data] Fix culture specific test
Zoltan Varga [Sat, 9 May 2015 05:15:44 +0000 (01:15 -0400)]
[jit] Avoid an assertion in the virtual delegate optimization if the target method is not virtual.
Zoltan Varga [Sat, 9 May 2015 03:26:00 +0000 (23:26 -0400)]
[runtime] Add beginnings of support for Portable PDB symbol files.
Zoltan Varga [Sat, 9 May 2015 03:24:00 +0000 (23:24 -0400)]
[runtime] Add support for the new metadata tables used by the Portable PDB file format.
Zoltan Varga [Sat, 9 May 2015 03:21:33 +0000 (23:21 -0400)]
[runtime] Add support for loading metadata images without a PE wrapper.
Zoltan Varga [Fri, 8 May 2015 22:28:46 +0000 (18:28 -0400)]
[runtime] Use a condvar for waiting for the finalizer thread to shut down.
Zoltan Varga [Fri, 8 May 2015 22:28:12 +0000 (18:28 -0400)]
[runtime] Add a mono_cond_timedwait_ms () function which takes a timeout argument in milliseconds.
Zoltan Varga [Fri, 8 May 2015 19:24:43 +0000 (15:24 -0400)]
[runtime] Add a FIXME to mono_cond_timedwait () on windows.
Mark Probst [Fri, 8 May 2015 18:32:08 +0000 (11:32 -0700)]
[sgen] Only flush binary protocol buffers when world is stopped.
Miguel de Icaza [Fri, 8 May 2015 17:13:11 +0000 (13:13 -0400)]
[monop] Band-aid, cope with IKVM's Type.Namespace crashing on generic types
[monop] Add test suite for monop
Alexander Kyte [Fri, 8 May 2015 16:07:42 +0000 (12:07 -0400)]
[runtime] Make thread abort synchronous
Due to asynchronous abortion a crash is being seen on
posix systems where the abort signal handler is having a
data race and not exiting the suspend signal handler early.
When it tries to make a state transition because of this, it
cannot and it crashes.
This fixes it by making it synchronous.
Ludovic Henry [Fri, 8 May 2015 17:09:06 +0000 (18:09 +0100)]
[threadpool-ms] Revert part of
fd0ff7bff9132c37a1db2b5a72e2ece266a11ed4 as it causes deadlocks on cleanup
Alex Rønne Petersen [Fri, 8 May 2015 16:10:06 +0000 (18:10 +0200)]
Merge pull request #1781 from alexrp/master
[runtime] Improve context static LocalDataStoreSlot support
Alex Rønne Petersen [Fri, 8 May 2015 13:00:03 +0000 (15:00 +0200)]
Merge pull request #1782 from alexrp/profiler-symbol-fix
[utils] Export concurrent hash table and lock free queue functions
Marek Safar [Fri, 8 May 2015 11:52:28 +0000 (13:52 +0200)]
[system.xml] System.Xml.Serialization.Advanced from reference sources
Marek Safar [Fri, 8 May 2015 11:14:12 +0000 (13:14 +0200)]
[system.xml] serialization handlers from reference sources
Ludovic Henry [Thu, 7 May 2015 18:19:18 +0000 (19:19 +0100)]
[threadpool-ms] Reenable threadpool cleanup
Ludovic Henry [Thu, 7 May 2015 17:01:47 +0000 (18:01 +0100)]
[threadpool-ms] Refactor worker creation and domain unloading
Ludovic Henry [Thu, 7 May 2015 16:28:37 +0000 (17:28 +0100)]
[threadpool-ms] Ensure monitor thread does not start if runtime is shutting down
Ludovic Henry [Thu, 7 May 2015 16:27:55 +0000 (17:27 +0100)]
[threadpool-ms] Fix potential bug on monitor thread interuption
Ludovic Henry [Thu, 7 May 2015 16:25:14 +0000 (17:25 +0100)]
[threadpool-ms] Refactor lock for working and parked threads
Ludovic Henry [Thu, 7 May 2015 15:10:57 +0000 (16:10 +0100)]
[threadpool-ms] Guarantee icall parameter size
Alex Rønne Petersen [Fri, 8 May 2015 10:53:31 +0000 (12:53 +0200)]
[utils] Export concurrent hash table and lock free queue functions.
Marek Safar [Fri, 8 May 2015 09:15:50 +0000 (11:15 +0200)]
[system.xml] System.Xml.Serialization.Configuration from reference sources
Alex Rønne Petersen [Fri, 8 May 2015 03:55:11 +0000 (05:55 +0200)]
[runtime] Improve context static LocalDataStoreSlot support.
The context-specific code now mirrors the thread-specific code and uses the
internal NamedDataSlot class. The runtime code now correctly frees context
static data allocated via this class.
Zoltan Varga [Fri, 8 May 2015 09:01:04 +0000 (05:01 -0400)]
Fix make dist.
Zoltan Varga [Fri, 8 May 2015 08:59:08 +0000 (04:59 -0400)]
Fix the build.
Marek Safar [Fri, 8 May 2015 08:33:50 +0000 (10:33 +0200)]
[corlib] Bump reference souces. Fixes #29808
Marek Safar [Fri, 8 May 2015 06:49:01 +0000 (08:49 +0200)]
[system.data] remove unused files from mobile profile
Zoltan Varga [Fri, 8 May 2015 03:17:27 +0000 (23:17 -0400)]
[sdb] Remove the usage of WaitForSingleObject (), use cond vars instead on all platforms.
Zoltan Varga [Fri, 8 May 2015 03:06:11 +0000 (23:06 -0400)]
[runtime] Implement support for condition variables on windows using the win32 CONDITION_VARIABLE type available from Windows Vista.
Zoltan Varga [Fri, 8 May 2015 02:47:47 +0000 (22:47 -0400)]
[runtime] Fix the windows build.
Alex Rønne Petersen [Fri, 8 May 2015 02:15:12 +0000 (04:15 +0200)]
[runtime] Update LocalDataStoreSlot code to the new special static offset format.
Atsushi Eno [Fri, 8 May 2015 01:58:39 +0000 (10:58 +0900)]
Merge pull request #1778 from JetBrains/xbuild_do_not_stop_buildnodemanager
xbuild: do not stop BuildNodeManager after one build
Zoltan Varga [Fri, 8 May 2015 01:23:20 +0000 (21:23 -0400)]
[runtime] Disable the broken code which aligns small structs to 4/8 bytes. Add a MONO_DEBUG option to enable it.
Zoltan Varga [Fri, 8 May 2015 01:03:18 +0000 (21:03 -0400)]
Merge pull request #1780 from alexrp/master
[runtime] Initialize contexts after the GC
Alex Rønne Petersen [Fri, 8 May 2015 00:52:35 +0000 (02:52 +0200)]
[runtime] Initialize contexts after the GC.
This is necessary since they use GC handles. So the handles_section must
be initialized before we try to use it.
Mark Probst [Thu, 7 May 2015 21:45:07 +0000 (14:45 -0700)]
[runtime] Fix a few warnings.
Alex Rønne Petersen [Thu, 7 May 2015 20:48:30 +0000 (22:48 +0200)]
Merge pull request #1777 from alexrp/sgen-separation
[sgen] Move bridge debugging code out of the independent SGen code
triton [Thu, 7 May 2015 19:31:12 +0000 (20:31 +0100)]
Revert "[genmdesc] Improved unknown specifier error handling for Perl version."
This reverts commit
05ce4f6ee1d52c4d4edd599f271988875efae763.
It's giving some problems on Monodroid build:
/Users/builder/data/lanes/1196/
012ff355/source/mono/mono/mini/cpu-arm.md
Invalid specifier len:4 at line 51 at /Users/builder/data/lanes/1196/
012ff355/source/mono/mono/mini/genmdesc.pl line 153, <DESC> line 51.
Marek Safar [Thu, 7 May 2015 18:57:53 +0000 (20:57 +0200)]
[system.data] SqlConnectionStringBuilder from reference sources. Fixes #29823
Marek Safar [Thu, 7 May 2015 16:23:42 +0000 (18:23 +0200)]
[mcs] Flow analysis assignment from field expressions is now aware of special cased value types. Fixes #29276
Atsushi Eno [Thu, 7 May 2015 16:13:32 +0000 (01:13 +0900)]
Remove unused System.Runtime.Serialization code.
System.ServiceModel.Web/System.Runtime.Serialization.Json is left as is
because they seem to be used by System.Json build...
Zoltan Varga [Thu, 7 May 2015 15:55:39 +0000 (11:55 -0400)]
Atsushi Eno [Thu, 7 May 2015 15:50:27 +0000 (00:50 +0900)]
remove old System.Data code.
Leonid Shalupov [Thu, 7 May 2015 14:22:42 +0000 (16:22 +0200)]
xbuild: do not stop BuildNodeManager after one build (prevents subsequent builds from executing)
João Matos [Thu, 7 May 2015 15:10:31 +0000 (16:10 +0100)]
[genmdesc] Fixed generator to allow instructions lengths equal to 0.
I was induced in error because of the following comment in the machine read specs:
`# len:number describe the maximun length in bytes of the instruction
# number is a positive integer`
Ludovic Henry [Thu, 7 May 2015 15:07:27 +0000 (16:07 +0100)]
[tools] Fix sgen-grep-binprot after sgen code move to mono/sgen
Ludovic Henry [Wed, 6 May 2015 17:44:12 +0000 (18:44 +0100)]
[threadpool-ms] Change the meaning of ThreadPoolCounter active and working
João Matos [Thu, 7 May 2015 14:33:07 +0000 (15:33 +0100)]
[arm] Fixed regression related to invalid specifier for vcall2 instruction in ARM machine description.
Introduced in https://github.com/mono/mono/commit/
3469c138c67e4b7e0afcc6a31046fcca7931d660.
João Matos [Thu, 7 May 2015 14:31:50 +0000 (15:31 +0100)]
[genmdesc] Improved unknown specifier error handling for Perl version.
Should help catch regressions like the one introduced in https://github.com/mono/mono/commit/
3469c138c67e4b7e0afcc6a31046fcca7931d660#diff-e3dadd3f8246691b408c41c0441d49fcR358 at build time.
João Matos [Thu, 7 May 2015 14:31:18 +0000 (15:31 +0100)]
[genmdesc] Improved instruction length error handling for Perl version.
Should help catch regressions like the one introduced in https://github.com/mono/mono/commit/
3469c138c67e4b7e0afcc6a31046fcca7931d660#diff-e3dadd3f8246691b408c41c0441d49fcR358 at build time.
João Matos [Thu, 7 May 2015 14:30:08 +0000 (15:30 +0100)]
[genmdesc] Improved instruction length error handling for C version.
Atsushi Eno [Thu, 7 May 2015 10:03:11 +0000 (19:03 +0900)]
Merge pull request #1773 from ztzg/sql-server-datetime2
Allow transferring datetime2/datetimeoffset to/from SQL Server 2012
Atsushi Eno [Thu, 7 May 2015 09:54:49 +0000 (18:54 +0900)]
Merge pull request #1772 from ztzg/sql-server-variant
Fix SQL Server 2012 variant parameters and return values
Atsushi Eno [Thu, 7 May 2015 09:53:41 +0000 (18:53 +0900)]
Merge pull request #1771 from ztzg/sql-server-bulk-insert
Fix SQL Server 2012 bulk insert issues
Atsushi Eno [Thu, 7 May 2015 07:25:32 +0000 (16:25 +0900)]
[xbuild] for resolving assemblies from pkg-config, prefer specified version
... even if SpecificVersion is false. There is no reason to prefer any
mismatching version when SpecificVersion=false.
That behavior caused monodevelop build failures because of incorrectly-
resolved gtk# packages. After this fix, this issue goes away.
https://github.com/mono/monodevelop/blob/
2436ad1874694ec811871dacf9a659a79b5fad0d/README.md#known-problems
Alex Rønne Petersen [Thu, 7 May 2015 02:52:28 +0000 (04:52 +0200)]
[sgen] Move bridge debugging code out of the independent SGen code.
Alexander Köplinger [Thu, 7 May 2015 01:28:11 +0000 (03:28 +0200)]
[tests] Trim whitespace from testname in dummy unit test XML, Jenkins test display doesn't like it
Alexander Köplinger [Wed, 6 May 2015 21:36:13 +0000 (17:36 -0400)]
[tests] Small fixes to the dummy unit test XML output to make it a compliant NUnit file
Zoltan Varga [Wed, 6 May 2015 21:31:23 +0000 (17:31 -0400)]
[jit] Treat MONO_ARCH_IMT_REG as allways defined.
Zoltan Varga [Wed, 6 May 2015 20:15:54 +0000 (16:15 -0400)]
[runtime] Fix configure so it really uses -fvisibility=hidden.
Rodrigo Kumpera [Wed, 6 May 2015 20:11:41 +0000 (16:11 -0400)]
[threading] Fix a race during shutdown where a thread could have a suspend requested after it's too late for it to be served.
During thread shutdown, it gets to a point where the thread can no longer server suspend requests. To fix that
we ensure the thread gets one last suspend opportunity before going down.
Rodrigo Kumpera [Fri, 1 May 2015 19:31:18 +0000 (15:31 -0400)]
[runtime] Don't call managed code when OVF.
Rodrigo Kumpera [Thu, 30 Apr 2015 20:14:40 +0000 (16:14 -0400)]
[coop] Fix marshal code of reset-abort calls to use an IntPtr cookie var instead of int32.
Rodrigo Kumpera [Thu, 30 Apr 2015 18:45:48 +0000 (14:45 -0400)]
[coop] Ensure the polling tramp has a wrapper.
Alex Rønne Petersen [Wed, 6 May 2015 19:02:04 +0000 (21:02 +0200)]
Merge pull request #1750 from alexrp/precise-ctx-static-scan
Improve thread/context static field scanning
Alex Rønne Petersen [Wed, 6 May 2015 18:56:13 +0000 (20:56 +0200)]
Merge pull request #1742 from alexrp/symbol-renaming
Clean up some C symbols polluting the global namespace
João Matos [Wed, 6 May 2015 18:51:47 +0000 (19:51 +0100)]
Merge pull request #1776 from evincarofautumn/fix-independent-sgen
[sgen] Fix non-Mono SGen clients.
Jon Purdy [Wed, 6 May 2015 18:17:05 +0000 (11:17 -0700)]
[sgen] Fix non-Mono SGen clients.
Zoltan Varga [Wed, 6 May 2015 18:37:39 +0000 (14:37 -0400)]
[jit] Print out the numeric opcode name in mono_inst_name () when logging is disabled.
João Matos [Wed, 6 May 2015 16:37:46 +0000 (17:37 +0100)]
Merge pull request #1775 from StephenMcConnel/bug-29724A
Fix bug in new SWF.MWFFileView.Dispose method (Xamarin 29724)
Stephen McConnel [Wed, 6 May 2015 16:34:52 +0000 (11:34 -0500)]
Fix bug in new SWF.MWFFileView.Dispose method (Xamarin 29724)
The fix for Xamarin 29724 submitted a day or two ago wasn't quite right.
Marek Safar [Wed, 6 May 2015 15:17:00 +0000 (17:17 +0200)]
[build] Fixes reference sources hash
Marek Safar [Wed, 6 May 2015 15:11:02 +0000 (17:11 +0200)]
[bcl] Mobile profiles fixes
João Matos [Wed, 6 May 2015 14:08:17 +0000 (15:08 +0100)]
[runtime] Fixed `always_inline function might not be inlinable` warning on GCC.
This fix was suggested by @schani to the warning spam that we've started to see.
João Matos [Wed, 6 May 2015 14:05:04 +0000 (15:05 +0100)]
[runtime] Fixed warning by including <winsock2.h> before <windows.h>.
João Matos [Wed, 6 May 2015 14:04:30 +0000 (15:04 +0100)]
[runtime] Fixed unused `count` variable warning by moving some code around.
João Matos [Wed, 6 May 2015 14:03:58 +0000 (15:03 +0100)]
[runtime] Fixed warning by including <winsock2.h> before <windows.h>.
João Matos [Wed, 6 May 2015 14:02:32 +0000 (15:02 +0100)]
[runtime] Fixed warning by only using #pragma warning on MSVC.
João Matos [Wed, 6 May 2015 14:01:40 +0000 (15:01 +0100)]
[mini] Do not try to set the usermode exception policy unless we're targeting Windows.
Fixes Windows cross-compilation.
João Matos [Wed, 6 May 2015 14:00:18 +0000 (15:00 +0100)]
[mini] Do not use the ELF writer when hosting on Windows.