Marek Safar [Mon, 12 Dec 2011 20:06:14 +0000 (20:06 +0000)]
Merge some MD mcs changes
Zoltan Varga [Mon, 12 Dec 2011 20:03:40 +0000 (21:03 +0100)]
Fix a warning.
Zoltan Varga [Mon, 12 Dec 2011 18:53:33 +0000 (19:53 +0100)]
Marek Safar [Mon, 12 Dec 2011 16:52:52 +0000 (16:52 +0000)]
Better logic for loading unique assemblies
Marek Safar [Mon, 12 Dec 2011 15:44:53 +0000 (15:44 +0000)]
Insert more statements into ast in error recovery mode
Marek Safar [Mon, 12 Dec 2011 15:44:27 +0000 (15:44 +0000)]
Make internal method internal
Neale Ferguson [Mon, 12 Dec 2011 14:51:27 +0000 (09:51 -0500)]
TdsMetaParameter.cs - fixes 699643. Note as Mono.Data.TdsClient and Mono.Data.SybaseClient have both been removed from mono, support for pre 7.0 version of SQL Server isn't required so this should not break applications.
SqlTransaction.cs - Check if the connection is still active before trying to rollback during Dispose. A loss of a connection is possible which result in an exception that will lead to the closing of the session. This will result in the dispose methods being invoked and if there was an active transaction then a rollback will be attempted. However, if the connection is gone we'll end up raising further exceptions about resources already being disposed.
Marek Safar [Mon, 12 Dec 2011 09:27:18 +0000 (01:27 -0800)]
Merge pull request #200 from ch5oh/master
Behaviour for most of SqlBulkCopyOptions was implemented
Zoltan Varga [Mon, 12 Dec 2011 07:17:12 +0000 (08:17 +0100)]
Add logging for the AOT generics resolution process.
Zoltan Varga [Mon, 12 Dec 2011 07:10:32 +0000 (08:10 +0100)]
Fix warnings.
Oleg Petrov [Tue, 6 Dec 2011 21:33:34 +0000 (01:33 +0400)]
Behaviour for most of SqlBulkCopyOptions was implemented.
Rodrigo Kumpera [Sun, 11 Dec 2011 21:25:31 +0000 (19:25 -0200)]
Pass the paramerer name to ArgumentException constructor.
Rodrigo Kumpera [Sun, 11 Dec 2011 21:20:14 +0000 (19:20 -0200)]
Tuple structural compare shold return false instead of throwing if comparee is of the wrong type. Fixes bxc #2455.
Rodrigo Kumpera [Sun, 11 Dec 2011 19:41:28 +0000 (17:41 -0200)]
Add an extra heavy stats for remarked cards.
Rodrigo Kumpera [Sat, 10 Dec 2011 18:16:10 +0000 (16:16 -0200)]
Switch from using a staging area to hash filtering.
* sgen-pinning.c: In order to reduce duplicates, we used a
staging area that would be uniq'd before been flushd. This
works well but has the disadvantage of not eliminating any
duplicate addresses between two flushes.
Instead of that, we introduce a very simple hashtable that
allow us to remove a lot more duplicates. The hashtable is
as simple as it can get. We probe a single slot and always
replace it. No chaining or extra probing.
On some experimental workloads staging used to fill the
pin queue with a 300% dup overhead, while with hashing it's
down to 101%, which.
Performance for the pinning step of nursery collections is 60%
smaller.
Rodrigo Kumpera [Sat, 10 Dec 2011 18:12:06 +0000 (16:12 -0200)]
Fix some warnings
Rodrigo Kumpera [Sat, 10 Dec 2011 16:16:52 +0000 (14:16 -0200)]
Improve nursery pining performance by making sure scan starts are filled.
* sgen-gc.c (set_nursery_scan_start): Only set scan start if the
new value is smaller than the previous one. This check is racy, but
it's a benign one.
* sgen-gc.c (mono_gc_try_alloc_obj_nolock): Try harder filling
scan starts. With this change we go from a 3-20% fill rate to
over 90% on average.
Pinning performance increased 6x on an extreme benchmark.
Rodrigo Kumpera [Sat, 10 Dec 2011 16:16:46 +0000 (14:16 -0200)]
Moving pin stats gathering under G_UNLIKELY.
Rodrigo Kumpera [Sat, 10 Dec 2011 15:51:45 +0000 (13:51 -0200)]
Make sure we correctly set APC flag when using new interrupt - fixes bxc #530.
* wthreads.c: Split wapi_interrupt_thread into a pair of functions.
The first half can be done from interrupt context and the second
once the thread has been resumed.
* threads.c: Use new the pair of function to properly interrupt
threads depending on io-layer APC shenanigans.
Marek Safar [Fri, 9 Dec 2011 17:03:31 +0000 (17:03 +0000)]
Implement some System.Net.Http.Headers parse methods
Jeffrey Stedfast [Fri, 9 Dec 2011 16:55:07 +0000 (11:55 -0500)]
[GetTimeZoneData icall] Fixed logic for zones where there is only a start date
Thanks to Kirill for this patch.
Bug #2223.
Zoltan Varga [Fri, 9 Dec 2011 09:42:45 +0000 (10:42 +0100)]
Add missing file.
Zoltan Varga [Fri, 9 Dec 2011 09:15:37 +0000 (10:15 +0100)]
Fix various AOT limitations uncovered by the mcs test suite.
Zoltan Varga [Fri, 9 Dec 2011 04:22:16 +0000 (05:22 +0100)]
Use find_prev_seq_point () for finding the IL offset for the top frame, mono_debug_il_offset_from_address () doesn't seem to be precise enough. Fixes #2092.
Rodrigo Kumpera [Thu, 8 Dec 2011 19:44:41 +0000 (17:44 -0200)]
On mach, thread_abort_safely can't break sockets syscalls. Switch to thread_abort. Fixes bxc #530.
Zoltan Varga [Thu, 8 Dec 2011 16:42:27 +0000 (16:42 +0000)]
Merge branch 'master' of github.com:mono/mono
Zoltan Varga [Thu, 8 Dec 2011 16:41:36 +0000 (16:41 +0000)]
Remove some unused MIPS defines.
Marek Safar [Thu, 8 Dec 2011 09:37:42 +0000 (09:37 +0000)]
Build fix
Paolo Molaro [Thu, 8 Dec 2011 08:56:47 +0000 (09:56 +0100)]
Do the multiplication/division with floating point numbers in time calculations on win32.
Marek Safar [Thu, 8 Dec 2011 08:39:57 +0000 (08:39 +0000)]
Add missing file
Rodrigo Kumpera [Wed, 7 Dec 2011 23:03:56 +0000 (21:03 -0200)]
Add test for sgen-bridge.
Rodrigo Kumpera [Wed, 7 Dec 2011 23:03:45 +0000 (21:03 -0200)]
Properly handle domain unloading when sgen-bridge is in use.
Rodrigo Kumpera [Wed, 7 Dec 2011 23:03:09 +0000 (21:03 -0200)]
new MONO_GC_PARAMS option bridge. It's internal used only for testing.
Rodrigo Kumpera [Wed, 7 Dec 2011 23:01:58 +0000 (21:01 -0200)]
Fix severe breakage of sgen bridge code. 2nd and 3rd step where not been called anymore.
Rodrigo Kumpera [Wed, 7 Dec 2011 22:15:03 +0000 (20:15 -0200)]
Fix hashtable iteration code to properly work with continue statements.
Marek Safar [Wed, 7 Dec 2011 18:33:39 +0000 (18:33 +0000)]
Implements more System.Net.Http.Headers
Marek Safar [Wed, 7 Dec 2011 16:52:57 +0000 (16:52 +0000)]
More API updates
Marek Safar [Wed, 7 Dec 2011 16:25:10 +0000 (16:25 +0000)]
WebHeaderCollection fixes
Marek Safar [Wed, 7 Dec 2011 16:23:10 +0000 (16:23 +0000)]
Remove NET_2_0
Marek Safar [Wed, 7 Dec 2011 10:22:04 +0000 (10:22 +0000)]
Add some 4.5 api
Marek Safar [Wed, 7 Dec 2011 10:21:20 +0000 (10:21 +0000)]
Fix failing tests on .net
Marek Safar [Mon, 5 Dec 2011 13:12:36 +0000 (13:12 +0000)]
Remove NET_2_0
Rodrigo Kumpera [Wed, 7 Dec 2011 17:19:37 +0000 (15:19 -0200)]
Fix parameter name in the exception constructor.
Rodrigo Kumpera [Wed, 7 Dec 2011 16:34:14 +0000 (14:34 -0200)]
Avoid an assert in bridge code when doing a major collection due to minor overflow. Fixes bxc #2349 and bxc #2091.
* sgen-bridge.c:
* sgen-gc.c: After we split bridge processing in two, one step with world stopped and
another with world running, we introduced the following regression:
A minor collection starts and find an young bridge object ready to be processed.
Major heap overflows and a major GC is triggered. The object mentioned above will
remain collectible and will be queued for processing again.
Since we do the first step in finish_gray_stack, it will be done twice in the above
scenario. This will cause an assertion due to duplicate entries in the hashtable.
The solution is to split the step that is performed with world stopped into another two.
One that happens during collections, that can be done multiple times per duty cycle and
another one that is done only once before we restart the world.
This split has the minor advantage of reducing duplicated work for the dfs1 step. Nothing big
as this is one of the fastest steps.
Rodrigo Kumpera [Wed, 7 Dec 2011 15:58:19 +0000 (13:58 -0200)]
Remove some dead code
Ankit Jain [Wed, 7 Dec 2011 14:05:41 +0000 (06:05 -0800)]
Merge pull request #199 from slide/master
[xbuild] Add 'OverrideReadOnlyFiles' property to Copy task. bug#2239
Also, fixed bug #2239 where the copy task does not
behave the same as msbuild when a file being copied is
ReadOnly. msbuild resets the attributes of the file to
Normal.
Paolo Molaro [Wed, 7 Dec 2011 14:00:54 +0000 (15:00 +0100)]
Fix overflow in the win32 monotonic time (xambug #183).
Zoltan Varga [Wed, 7 Dec 2011 13:33:21 +0000 (14:33 +0100)]
Add missing file to fix the build.
Zoltan Varga [Wed, 7 Dec 2011 04:55:17 +0000 (05:55 +0100)]
Add GetInterfaces () and GetInterfaceMap () methods to TypeMirror to help fix #1841.
Zoltan Varga [Wed, 7 Dec 2011 03:31:58 +0000 (04:31 +0100)]
Fix argument checking order in GetInterfaceMap ().
Zoltan Varga [Wed, 7 Dec 2011 03:18:33 +0000 (04:18 +0100)]
Document MONO_SDB_ENV_OPTIONS.
Zoltan Varga [Wed, 7 Dec 2011 03:09:33 +0000 (04:09 +0100)]
Add a MONO_SDB_ENV_OPTIONS env variable to allow passing extra options like loglevel to sdb.
Gonzalo Paniagua Javier [Wed, 7 Dec 2011 01:25:06 +0000 (17:25 -0800)]
Merge pull request #194 from QuickJack/master
Fixes two problems in WebClient/ WebRequest
Slide [Tue, 6 Dec 2011 17:00:38 +0000 (10:00 -0700)]
[xbuild] Add 'OverrideReadOnlyFiles' property to Copy task.
Also, fixed Bugzilla 2239 where the copy task does not
behave the same as msbuild when a file being copied is
ReadOnly. msbuild resets the attributes of the file to
Normal in this case.
Zoltan Varga [Tue, 6 Dec 2011 11:12:02 +0000 (11:12 +0000)]
Merge branch 'master' of github.com:mono/mono
Zoltan Varga [Tue, 6 Dec 2011 11:11:47 +0000 (11:11 +0000)]
Implement generic sharing on MIPS.
Paolo Molaro [Tue, 6 Dec 2011 07:09:50 +0000 (07:09 +0000)]
Fixed path for ilasm.
Zoltan Varga [Mon, 5 Dec 2011 15:54:28 +0000 (16:54 +0100)]
Fix the build on platforms without generic sharing.
Paolo Molaro [Mon, 5 Dec 2011 14:44:51 +0000 (15:44 +0100)]
Avoid assert and crash when allocating smaller large objects in sgen.
Paolo Molaro [Mon, 5 Dec 2011 14:27:28 +0000 (15:27 +0100)]
Fixed crash in sgen when a large array can't be allocated.
Marek Safar [Mon, 5 Dec 2011 12:17:02 +0000 (12:17 +0000)]
Update to the latest IKVM.Reflection
Zoltan Varga [Mon, 5 Dec 2011 09:58:05 +0000 (10:58 +0100)]
Get rid of MONO_ARCH_HAVE_STATIC_RGCTX_TRAMPOLINE, use MONO_ARCH_GSHARED_SUPPORTED instead. Set MONO_ARCH_RGCTX_REG to MONO_ARCH_IMT_REG on most platforms. Fix MONO_ARCH_VTABLE_REG on MIPS.
Zoltan Varga [Mon, 5 Dec 2011 05:00:48 +0000 (06:00 +0100)]
Fix infinite recursion introduced by the previous patch.
Zoltan Varga [Mon, 5 Dec 2011 04:52:42 +0000 (05:52 +0100)]
AOT the cctor of generic classes which are referenced by SFLDA patches and superclasses of generic instances. Fixes #2155
Zoltan Varga [Mon, 5 Dec 2011 03:15:53 +0000 (04:15 +0100)]
Disable some unstable Task tests.
Marek Safar [Sun, 4 Dec 2011 10:03:41 +0000 (02:03 -0800)]
Merge pull request #197 from ch5oh/master
Comments for SqlBulkCopyOptions enum describes expected behaviour
Oleg Petrov [Sun, 4 Dec 2011 09:12:56 +0000 (13:12 +0400)]
Comments for SqlBulkCopyOptions enum describes expected behaviour
Zoltan Varga [Sun, 4 Dec 2011 04:48:43 +0000 (04:48 +0000)]
Implement frame pointer elimination on MIPS.
Zoltan Varga [Sun, 4 Dec 2011 03:22:45 +0000 (03:22 +0000)]
Only save a subset of registers in the LMF on MIPS.
Zoltan Varga [Sat, 3 Dec 2011 06:52:29 +0000 (06:52 +0000)]
Finish sdb support on MIPS. Fix resume_context () to restore all registers. Fix UCONTEXT_ definitions.
Marek Safar [Sat, 3 Dec 2011 13:09:18 +0000 (05:09 -0800)]
Merge pull request #196 from ch5oh/master
Argument checks and 2 new ctor tests for SqlBulkCopy class
Oleg Petrov [Fri, 2 Dec 2011 18:49:50 +0000 (22:49 +0400)]
Initial tests (for constructors) of SqlBulkCopy class
Oleg Petrov [Fri, 2 Dec 2011 18:36:53 +0000 (22:36 +0400)]
2 new tests for ctors
Oleg Petrov [Fri, 2 Dec 2011 18:35:28 +0000 (22:35 +0400)]
Not null checks for ctors
Zoltan Varga [Sat, 3 Dec 2011 00:12:23 +0000 (01:12 +0100)]
Fix the build.
Miguel de Icaza [Fri, 2 Dec 2011 18:10:46 +0000 (13:10 -0500)]
Include System.IO.MemoryMappedFiles in the MOBILE profile
Jb Evain [Fri, 2 Dec 2011 15:45:10 +0000 (16:45 +0100)]
Test for assignability of arrays to generic interfaces. Fixes #2304.
Jb Evain [Fri, 2 Dec 2011 15:44:29 +0000 (16:44 +0100)]
Add test for bug #2304
Marek Safar [Fri, 2 Dec 2011 15:35:43 +0000 (15:35 +0000)]
New test
Marek Safar [Fri, 2 Dec 2011 15:23:50 +0000 (15:23 +0000)]
Implement some System.Net.Http.Headers
Martin [Fri, 2 Dec 2011 13:43:46 +0000 (14:43 +0100)]
Removes warning CS0219 in line 1647
Martin [Fri, 2 Dec 2011 13:28:14 +0000 (14:28 +0100)]
Code formatting fixes.
Zoltan Varga [Fri, 2 Dec 2011 10:18:26 +0000 (10:18 +0000)]
Ongoing MIPS work. Fix varargs, implement delegate trampolines, fix OP_FCALL_MEMBASE. All tests in mini/ and tests/ run now.
Zoltan Varga [Fri, 2 Dec 2011 06:20:16 +0000 (06:20 +0000)]
Ongoing MIPS work. Fix mips_load () to be patchable, fix endianness issue in OP_MIPS_MFC1D, fix OP_JMP. make rcheck runs now.
Zoltan Varga [Fri, 2 Dec 2011 05:06:22 +0000 (05:06 +0000)]
Change calling convention info on MIPS to use the same terminology as on other platforms.
Zoltan Varga [Fri, 2 Dec 2011 02:49:51 +0000 (03:49 +0100)]
Add configure checks for arm hardfp abi, not supported yet.
Zoltan Varga [Fri, 2 Dec 2011 02:14:00 +0000 (03:14 +0100)]
Implement mono_arch_setup_resume_sighandler_ctx () on arm to fix sdb+thumb.
Zoltan Varga [Fri, 2 Dec 2011 00:22:09 +0000 (01:22 +0100)]
Add a Length property and a GetChars () method to StringMirror. Fixes #2301.
Neale Ferguson [Thu, 1 Dec 2011 16:38:56 +0000 (11:38 -0500)]
Add change to mono_arch_skip_breakpoint as for other archs
Paolo Molaro [Thu, 1 Dec 2011 08:56:28 +0000 (08:56 +0000)]
Initial sgen mips port.
Marek Safar [Thu, 1 Dec 2011 08:42:22 +0000 (00:42 -0800)]
Merge pull request #193 from ch5oh/master
Ctor tests for SqlBulkCopy class
Zoltan Varga [Thu, 1 Dec 2011 01:38:46 +0000 (02:38 +0100)]
Implement sdb+aot support for amd64 for completeness.
Zoltan Varga [Thu, 1 Dec 2011 01:36:48 +0000 (02:36 +0100)]
Zoltan Varga [Tue, 29 Nov 2011 18:31:57 +0000 (19:31 +0100)]
Emit line number table in the sdb debug log.
Oleg Petrov [Wed, 30 Nov 2011 23:40:16 +0000 (03:40 +0400)]
These tests show difference between original .NET behaviour and current Mono implementation
Zoltan Varga [Wed, 30 Nov 2011 22:08:58 +0000 (23:08 +0100)]
Fix some gshared+aot problems in sdb. Fixes the crash in #664.
Marek Safar [Wed, 30 Nov 2011 14:17:01 +0000 (14:17 +0000)]
Add tests for InternalArray::GetIndex
Marek Safar [Wed, 30 Nov 2011 13:45:45 +0000 (13:45 +0000)]
Initial System.Net.Http.Headers implementation
Marek Safar [Wed, 30 Nov 2011 13:44:17 +0000 (13:44 +0000)]
Fix Array::Contains for null items via ICollection<T>. Fixes #2260
Sebastien Pouliot [Wed, 30 Nov 2011 00:54:44 +0000 (19:54 -0500)]
Ensure that [Parameterized]ThreadStart code is always wrapped in a NSAutoreleasePool for MonoTouch. Fix bug #1999