mono.git
9 years agoReimplemented much of the kqueue-based file watcher so that watching subdirectories...
Cody Russell [Sun, 8 Jun 2014 21:46:18 +0000 (16:46 -0500)]
Reimplemented much of the kqueue-based file watcher so that watching subdirectories works.

https://bugzilla.xamarin.com/show_bug.cgi?id=16259

9 years agoMerge pull request #1164 from nlhepler/patch-1
Zoltan Varga [Wed, 16 Jul 2014 10:48:12 +0000 (12:48 +0200)]
Merge pull request #1164 from nlhepler/patch-1

Guess base for mono-sgen and -boehm equivalently

9 years ago[mcs] Make primary constructor body parsing more error resilient
Marek Safar [Wed, 16 Jul 2014 08:28:01 +0000 (10:28 +0200)]
[mcs] Make primary constructor body parsing more error resilient

9 years ago[mcs] Remove backing field from primary constructors
Marek Safar [Wed, 16 Jul 2014 07:35:27 +0000 (09:35 +0200)]
[mcs] Remove backing field from primary constructors

9 years agomint and monodiet are no longer built
Lance Hepler [Wed, 16 Jul 2014 03:00:47 +0000 (20:00 -0700)]
mint and monodiet are no longer built

9 years agoGuess base for mono-sgen and -boehm equivalently
Lance Hepler [Wed, 16 Jul 2014 01:35:51 +0000 (18:35 -0700)]
Guess base for mono-sgen and -boehm equivalently

9 years ago[jit] Clean up the libgc configuration code in configure.ac.
Zoltan Varga [Tue, 15 Jul 2014 21:14:56 +0000 (23:14 +0200)]
[jit] Clean up the libgc configuration code in configure.ac.

9 years agoMerge pull request #1162 from DavidKarlas/endInvokeWithResult
Zoltan Varga [Tue, 15 Jul 2014 13:41:10 +0000 (15:41 +0200)]
Merge pull request #1162 from DavidKarlas/endInvokeWithResult

[Mono.Debugger.Soft] Added methods EndInvokeMethodWithResult to all mirrors

9 years ago[mcs] More work on primary constructors
Marek Safar [Tue, 15 Jul 2014 08:59:24 +0000 (10:59 +0200)]
[mcs] More work on primary constructors

9 years ago[Mono.Debugger.Soft] Added methods EndInvokeMethodWithResult to all mirrors
David Karlaš [Tue, 15 Jul 2014 07:42:29 +0000 (09:42 +0200)]
[Mono.Debugger.Soft] Added methods EndInvokeMethodWithResult to all mirrors
StructMirror also set overrides fields of structure in case InvokeMethod was called with InvokeOptions.ReturnOutThis option set

9 years agoEnable sgen on mingw64.
Zoltan Varga [Mon, 14 Jul 2014 22:46:24 +0000 (00:46 +0200)]
Enable sgen on mingw64.

9 years agoRevert "Enable sgen on mingw64."
Zoltan Varga [Mon, 14 Jul 2014 22:43:20 +0000 (00:43 +0200)]
Revert "Enable sgen on mingw64."

This reverts commit 3cd09d1d84abae271cd8627e57be83cf161135b1.

Revert this as it reverts unrelated changes.

9 years ago[jit] Remove some unneccesary ifdefs from the amd64 backend.
Zoltan Varga [Mon, 14 Jul 2014 20:52:56 +0000 (22:52 +0200)]
[jit] Remove some unneccesary ifdefs from the amd64 backend.

9 years ago[jit] Remove more dead code.
Zoltan Varga [Mon, 14 Jul 2014 20:41:22 +0000 (22:41 +0200)]
[jit] Remove more dead code.

9 years ago[mcs] eval.cs: remove CWL that snuck in with my last commit
Aaron Bockover [Mon, 14 Jul 2014 20:40:59 +0000 (16:40 -0400)]
[mcs] eval.cs: remove CWL that snuck in with my last commit

9 years ago[jit] Remove some dead code.
Zoltan Varga [Mon, 14 Jul 2014 20:31:20 +0000 (22:31 +0200)]
[jit] Remove some dead code.

9 years ago[mcs] eval.cs: add ValueModificationHandler delegate to be more clear
Aaron Bockover [Mon, 14 Jul 2014 20:24:31 +0000 (16:24 -0400)]
[mcs] eval.cs: add ValueModificationHandler delegate to be more clear

9 years ago[jit] Fix support for tls entries with offset >= 64 on winx64.
Zoltan Varga [Mon, 14 Jul 2014 19:31:26 +0000 (21:31 +0200)]
[jit] Fix support for tls entries with offset >= 64 on winx64.

9 years agoFix the build.
Zoltan Varga [Mon, 14 Jul 2014 18:43:12 +0000 (20:43 +0200)]
Fix the build.

9 years agoMerge pull request #1150 from ludovic-henry/pr17c-delegate-trampoline
Rodrigo Kumpera [Mon, 14 Jul 2014 18:40:38 +0000 (14:40 -0400)]
Merge pull request #1150 from ludovic-henry/pr17c-delegate-trampoline

[delegate] Improve trampoline caching

9 years ago[jit] Fix the objdump cmd line used on winx64.
Zoltan Varga [Mon, 14 Jul 2014 18:05:32 +0000 (20:05 +0200)]
[jit] Fix the objdump cmd line used on winx64.

9 years agoEnable sgen on mingw64.
Zoltan Varga [Mon, 14 Jul 2014 18:03:53 +0000 (20:03 +0200)]
Enable sgen on mingw64.

9 years agoFix the mingw64 build.
Zoltan Varga [Mon, 14 Jul 2014 18:03:36 +0000 (20:03 +0200)]
Fix the mingw64 build.

9 years ago[jit] Use the generic lmf push/pop code on winx64.
Zoltan Varga [Mon, 14 Jul 2014 18:02:36 +0000 (20:02 +0200)]
[jit] Use the generic lmf push/pop code on winx64.

9 years ago[runtime] Avoid building libgc if its disabled.
Zoltan Varga [Mon, 14 Jul 2014 03:06:40 +0000 (05:06 +0200)]
[runtime] Avoid building libgc if its disabled.

9 years agoMerge pull request #1064 from ranma42/fix-config-paths
Alexis Christoforides [Mon, 14 Jul 2014 16:14:40 +0000 (12:14 -0400)]
Merge pull request #1064 from ranma42/fix-config-paths

Improve handling of lib paths for libMonoPosixHelper and libgdiplus. Fixes #18555.

9 years agoMerge pull request #1122 from PoppermostProductions/master
Rodrigo Kumpera [Mon, 14 Jul 2014 14:54:50 +0000 (10:54 -0400)]
Merge pull request #1122 from PoppermostProductions/master

Added new mono_domain_set_config function; used to fix ConfigurationErro...

9 years ago[mcs] Handling CreateStandardLiftedOperatorsTable for corlib without nullable type
Marek Safar [Mon, 14 Jul 2014 12:45:13 +0000 (14:45 +0200)]
[mcs] Handling CreateStandardLiftedOperatorsTable for corlib without nullable type

9 years ago[mcs] Arguments can be empty when reporting missing params argument. Fixes #21215
Marek Safar [Mon, 14 Jul 2014 09:19:16 +0000 (11:19 +0200)]
[mcs] Arguments can be empty when reporting missing params argument. Fixes #21215

9 years ago[mcs] Wrap exceptions in async state machine with no resume points
Marek Safar [Mon, 14 Jul 2014 08:41:54 +0000 (10:41 +0200)]
[mcs] Wrap exceptions in async state machine with no resume points

9 years agoRevert "[runtime] Fix a win32 build failure, more remains."
Zoltan Varga [Sun, 13 Jul 2014 23:33:27 +0000 (01:33 +0200)]
Revert "[runtime] Fix a win32 build failure, more remains."

This reverts commit 5c90d7cdba4c82f2f4e2ae7a2af3c00ebb9029c5.

Revert this as it breaks the build.

9 years ago[jit] Remove an unneccesary line from the win32 tls_get implementation, it was settin...
Zoltan Varga [Sun, 13 Jul 2014 22:45:34 +0000 (00:45 +0200)]
[jit] Remove an unneccesary line from the win32 tls_get implementation, it was setting SetLastError ().

9 years ago[bcl] Fix build dependencies for the corlib vts tests.
Zoltan Varga [Sun, 13 Jul 2014 22:39:58 +0000 (00:39 +0200)]
[bcl] Fix build dependencies for the corlib vts tests.

9 years ago[runtime] Fix the --disable-boehm build on windows.
Zoltan Varga [Sun, 13 Jul 2014 20:51:40 +0000 (22:51 +0200)]
[runtime] Fix the --disable-boehm build on windows.

9 years ago[jit] Enable support for tls offsets >= 64 on win32.
Zoltan Varga [Sun, 13 Jul 2014 20:46:21 +0000 (22:46 +0200)]
[jit] Enable support for tls offsets >= 64 on win32.

9 years ago[jit] Disable MONO_ARCH_ENABLE_MONO_LMF_VAR on win32, emit_push_lmf () uses a differe...
Zoltan Varga [Sun, 13 Jul 2014 20:44:25 +0000 (22:44 +0200)]
[jit] Disable MONO_ARCH_ENABLE_MONO_LMF_VAR on win32, emit_push_lmf () uses a different method.

9 years ago[jit] Implement support for tls offsets >= 64 on win32.
Zoltan Varga [Sun, 13 Jul 2014 20:33:22 +0000 (22:33 +0200)]
[jit] Implement support for tls offsets >= 64 on win32.

9 years ago[runtime] Fix some win32 warnings.
Zoltan Varga [Sun, 13 Jul 2014 20:31:54 +0000 (22:31 +0200)]
[runtime] Fix some win32 warnings.

9 years ago[runtime] Use pthread tls on mingw32, recent versions support __thread, but its emulated.
Zoltan Varga [Sun, 13 Jul 2014 20:30:40 +0000 (22:30 +0200)]
[runtime] Use pthread tls on mingw32, recent versions support __thread, but its emulated.

9 years ago[runtime] Fix a win32 build failure, more remains.
Zoltan Varga [Sun, 13 Jul 2014 18:53:53 +0000 (20:53 +0200)]
[runtime] Fix a win32 build failure, more remains.

9 years ago[jit] Avoid conditional members in the MonoJitInfo structure.
Zoltan Varga [Sun, 13 Jul 2014 18:51:43 +0000 (20:51 +0200)]
[jit] Avoid conditional members in the MonoJitInfo structure.

9 years ago[runtime] Avoid using tls in the monitor wrappers if its not available.
Zoltan Varga [Sun, 13 Jul 2014 17:07:25 +0000 (19:07 +0200)]
[runtime] Avoid using tls in the monitor wrappers if its not available.

9 years ago[runtime] Avoid initializing static variables to NULL, its not needed.
Zoltan Varga [Sun, 13 Jul 2014 16:18:32 +0000 (18:18 +0200)]
[runtime] Avoid initializing static variables to NULL, its not needed.

9 years agoFixed libmono MSVC compilation
Filip Lundgren [Fri, 11 Jul 2014 19:18:16 +0000 (21:18 +0200)]
Fixed libmono MSVC compilation

9 years agoCorrected mono_domain_set_config description.
i59 [Wed, 9 Jul 2014 14:50:43 +0000 (16:50 +0200)]
Corrected mono_domain_set_config description.

9 years agoAdded new mono_domain_set_config function; used to fix ConfigurationErrorsException...
i59 [Wed, 9 Jul 2014 14:45:00 +0000 (16:45 +0200)]
Added new mono_domain_set_config function; used to fix ConfigurationErrorsException in #10468.
This change is released under the MIT license.

https://bugzilla.xamarin.com/show_bug.cgi?id=10468

9 years ago[jit] Move the registration of jit icalls into a separate function.
Zoltan Varga [Sun, 13 Jul 2014 15:49:08 +0000 (17:49 +0200)]
[jit] Move the registration of jit icalls into a separate function.

9 years agoFix the build.
Zoltan Varga [Sun, 13 Jul 2014 15:40:03 +0000 (17:40 +0200)]
Fix the build.

9 years ago[runtime] Remove unused g_thread () functions.
Zoltan Varga [Sun, 13 Jul 2014 15:35:13 +0000 (17:35 +0200)]
[runtime] Remove unused g_thread () functions.

9 years ago[jit] Remove MONO_ARCH_HAVE_IMT define, all platforms support imt now.
Zoltan Varga [Sun, 13 Jul 2014 15:31:36 +0000 (17:31 +0200)]
[jit] Remove MONO_ARCH_HAVE_IMT define, all platforms support imt now.

9 years ago[jit] Use the win32 check for all tls keys in mini_get_tls_offset ().
Zoltan Varga [Sun, 13 Jul 2014 15:00:31 +0000 (17:00 +0200)]
[jit] Use the win32 check for all tls keys in mini_get_tls_offset ().

9 years agoMerge pull request #1153 from akoeplinger/fix-doc-message
Jonathan Pryor [Sun, 13 Jul 2014 13:49:14 +0000 (09:49 -0400)]
Merge pull request #1153 from akoeplinger/fix-doc-message

[monodoc] Clarified message when a backing file isn't found

9 years ago[corlib] minor code cleanup
Jeffrey Stedfast [Sun, 13 Jul 2014 12:29:09 +0000 (08:29 -0400)]
[corlib] minor code cleanup

9 years ago[runtime] Handle generic methods in interfaces in imt thunks correctly. Fixes crashes...
Zoltan Varga [Sat, 12 Jul 2014 18:05:39 +0000 (20:05 +0200)]
[runtime] Handle generic methods in interfaces in imt thunks correctly. Fixes crashes in the System.ServiceModel tests.

9 years agoRevert a change added by cd35ca1 by mistake
Zoltan Varga [Sat, 12 Jul 2014 12:20:44 +0000 (14:20 +0200)]
Revert a change added by cd35ca1 by mistake

9 years ago[bcl] Fix a race in a Task test. Fixes #20921.
Zoltan Varga [Fri, 11 Jul 2014 22:31:47 +0000 (00:31 +0200)]
[bcl] Fix a race in a Task test. Fixes #20921.

9 years ago[jit] Fix system aot on amd64.
Zoltan Varga [Fri, 11 Jul 2014 19:21:19 +0000 (21:21 +0200)]
[jit] Fix system aot on amd64.

9 years agoFix a warning.
Zoltan Varga [Fri, 11 Jul 2014 19:20:56 +0000 (21:20 +0200)]
Fix a warning.

9 years agoMerge pull request #1154 from Zoltu/patch-1
Alex Rønne Petersen [Fri, 11 Jul 2014 03:26:49 +0000 (05:26 +0200)]
Merge pull request #1154 from Zoltu/patch-1

Makes AppendTextUnquoted public.

9 years ago[runtime] Only apply the maverick stack size hack added by d6673ca8ec854f291eb32c0484...
Zoltan Varga [Thu, 10 Jul 2014 21:57:13 +0000 (23:57 +0200)]
[runtime] Only apply the maverick stack size hack added by d6673ca8ec854f291eb32c048446b3868b92de7a to the main thread since some system threads might really have a small stack size, causing us to overestimate their stack size. This can cause us to mprotect () random memory in mono_setup_altstack (), cause random crashes. Hopefully fixes #10096.

9 years agoBackwards accuracy.
Micah Zoltu [Thu, 10 Jul 2014 18:01:35 +0000 (11:01 -0700)]
Backwards accuracy.

The method is only public in .NET 4+, previously it was protected.  Wrapping the access modifier in a #if NET_4_0 ensures that when building .NET 2, it is protected but when building 4+ it is public.

9 years ago[mcs] auto-implemented property initializer
Marek Safar [Thu, 10 Jul 2014 16:57:40 +0000 (18:57 +0200)]
[mcs] auto-implemented property initializer

9 years ago[monodoc] Clarified message when a backing file isn't found
Alexander Köplinger [Wed, 9 Jul 2014 15:11:42 +0000 (17:11 +0200)]
[monodoc] Clarified message when a backing file isn't found

If the backing file doesn't exist, it will be ignored.
The previous message made it sound like this is a serious problem, which confused people as it is the last message that is
printed when building Mono (because of a reference to 'DoesNotExist' in docs/toc.xml) while in reality everything is fine.

9 years ago[sdb] Add a new 'socket-fd' transport, this is the same as the 'dt_socket' transport...
Zoltan Varga [Thu, 10 Jul 2014 15:21:45 +0000 (17:21 +0200)]
[sdb] Add a new 'socket-fd' transport, this is the same as the 'dt_socket' transport, but the address is the number of an an already connected socket fd.

9 years agoMakes AppendTextUnquoted public.
Micah Zoltu [Thu, 10 Jul 2014 04:44:44 +0000 (21:44 -0700)]
Makes AppendTextUnquoted public.

The Microsoft version is public, so should this be.
NuGet.MSBuild.Tools.CommandLineBuilderExtensions:AppendTextUnquotedIfNotNullOrEmpty attempts to call this method in NuGet for MSBuild NuGet package.

9 years agoFix a warning.
Zoltan Varga [Wed, 9 Jul 2014 20:35:52 +0000 (22:35 +0200)]
Fix a warning.

9 years ago[jit] Rewrite the generic trampoline code on x86 to avoid pushes.
Zoltan Varga [Tue, 8 Jul 2014 20:53:56 +0000 (22:53 +0200)]
[jit] Rewrite the generic trampoline code on x86 to avoid pushes.

9 years agoFix fallout from WebSocketMessageType change.
Miguel de Icaza [Wed, 9 Jul 2014 19:05:21 +0000 (15:05 -0400)]
Fix fallout from WebSocketMessageType change.

The WebSocketMessageType values were being used to send data over the
wire.  This is likely the reason why WebSocketMessageType had values
that were not compatible with .NET.

9 years ago[delegate-trampoline] Update invoke_impl and method_ptr cache value
Ludovic Henry [Mon, 7 Jul 2014 17:35:34 +0000 (13:35 -0400)]
[delegate-trampoline] Update invoke_impl and method_ptr cache value

With this patch, we see a 3x execution speed improvement in the following micro-benchmark :

using System;

class Foo {
public int Test () { return 10; }
}

class Program {
public static int Main (String[] args) {
long n = 50000000;
if (args.Length > 0)
n = Math.Max (n, Int64.Parse (args [0]));

var a = new Foo ();

for (long i = 0; i < n; i++) {
var f = new Func<int> (a.Test);
if (f () != 10)
return 1;
}
return 0;
}
}

9 years ago[delegate-trampoline] Share DelegateTrampInfo with method-to-ir.c
Ludovic Henry [Thu, 3 Jul 2014 23:29:40 +0000 (19:29 -0400)]
[delegate-trampoline] Share DelegateTrampInfo with method-to-ir.c

9 years ago[runtime] Enable system aot when using --enable-loadedllvm, hopefully it works now.
Zoltan Varga [Wed, 9 Jul 2014 16:55:49 +0000 (18:55 +0200)]
[runtime] Enable system aot when using --enable-loadedllvm, hopefully it works now.

9 years ago[mcs] Extend intermediate value modification checks on generic value types
Marek Safar [Wed, 9 Jul 2014 16:32:55 +0000 (18:32 +0200)]
[mcs] Extend intermediate value modification checks on generic value types

9 years ago[corlib] Fix incorrect assert
Marek Safar [Wed, 9 Jul 2014 15:37:28 +0000 (17:37 +0200)]
[corlib] Fix incorrect assert

9 years ago[corlib] Make CompletionOnDifferentCustomSynchronizationContext test more reliable
Marek Safar [Wed, 9 Jul 2014 15:06:55 +0000 (17:06 +0200)]
[corlib] Make CompletionOnDifferentCustomSynchronizationContext test more reliable

9 years ago[bcl] Fix retaining objects in one of the ConditionalWeakTable tests.
Zoltan Varga [Wed, 9 Jul 2014 14:26:26 +0000 (16:26 +0200)]
[bcl] Fix retaining objects in one of the ConditionalWeakTable tests.

9 years agoFixes https://github.com/OfficeDev/Open-XML-SDK/issues/6 by formatting core.xml date...
Daniel Reiter Horn [Wed, 9 Jul 2014 06:57:40 +0000 (23:57 -0700)]
Fixes https://github.com/OfficeDev/Open-XML-SDK/issues/6 by formatting core.xml date according to W3CDTF
This change in released under the MIT license.

9 years agoMerge pull request #1132 from mattleibow/bugfix-20925
Miguel de Icaza [Wed, 9 Jul 2014 13:23:45 +0000 (09:23 -0400)]
Merge pull request #1132 from mattleibow/bugfix-20925

[system.data] BUGFIX: fixes issue with expression columns and IsNull:

9 years agoMerge pull request #1142 from edbprx/master
Miguel de Icaza [Wed, 9 Jul 2014 13:21:37 +0000 (09:21 -0400)]
Merge pull request #1142 from edbprx/master

ConnectCallback needs to call EndConnect

9 years agoMerge pull request #1148 from steffen-kiess/json
Miguel de Icaza [Wed, 9 Jul 2014 13:19:10 +0000 (09:19 -0400)]
Merge pull request #1148 from steffen-kiess/json

Fix several issues in System.Json

9 years agoMerge pull request #1152 from danielrh/hyperlink_package_parse
Miguel de Icaza [Wed, 9 Jul 2014 13:15:00 +0000 (09:15 -0400)]
Merge pull request #1152 from danielrh/hyperlink_package_parse

Fixes https://github.com/OfficeDev/Open-XML-SDK/issues/7 by allow absolute urls in relationships

9 years agoFix enumeration values
Miguel de Icaza [Wed, 9 Jul 2014 13:12:12 +0000 (09:12 -0400)]
Fix enumeration values

9 years ago[mcs] Disable dedb33eadeb87ca80cb86f48e6fa47da882507e3 due to runtime bug
Marek Safar [Wed, 9 Jul 2014 13:10:28 +0000 (15:10 +0200)]
[mcs] Disable dedb33eadeb87ca80cb86f48e6fa47da882507e3 due to runtime bug

9 years ago[corlib] Fix test to not rely on compiler generated method
Marek Safar [Wed, 9 Jul 2014 13:01:17 +0000 (15:01 +0200)]
[corlib] Fix test to not rely on compiler generated method

9 years ago[mcs] Undo project changes from dedb33eadeb87ca80cb86f48e6fa47da882507e3 due to XS...
Marek Safar [Wed, 9 Jul 2014 09:59:27 +0000 (11:59 +0200)]
[mcs] Undo project changes from dedb33eadeb87ca80cb86f48e6fa47da882507e3 due to XS stupidity

9 years ago[mcs] Use closed delegate over static generated methods from anonymous methods
Marek Safar [Wed, 9 Jul 2014 09:43:09 +0000 (11:43 +0200)]
[mcs] Use closed delegate over static generated methods from anonymous methods

9 years agoFixes https://github.com/OfficeDev/Open-XML-SDK/issues/7 by allowing both relative...
Daniel Reiter Horn [Wed, 9 Jul 2014 06:59:33 +0000 (23:59 -0700)]
Fixes https://github.com/OfficeDev/Open-XML-SDK/issues/7 by allowing both relative and absolute urls
This change in released under the MIT license.

9 years ago[System.Numerics] Contract the values array when decoding an array with a negative...
Rodrigo Kumpera [Wed, 9 Jul 2014 00:02:19 +0000 (20:02 -0400)]
[System.Numerics] Contract the values array when decoding an array with a negative number and a trailer that evals to zero. Fixes #20456.

9 years agoDon't hardcode the temp dir to /tmp, use g_get_tmp_dir instead. Fixes #20894.
Rodrigo Kumpera [Tue, 8 Jul 2014 22:26:24 +0000 (18:26 -0400)]
Don't hardcode the temp dir to /tmp, use g_get_tmp_dir instead. Fixes #20894.

Hardcoding a temporary dir doesn't work on sandboxed apps.

9 years ago[sdb] Fix handling of out ref parameters.
Zoltan Varga [Tue, 8 Jul 2014 16:55:06 +0000 (18:55 +0200)]
[sdb] Fix handling of out ref parameters.

9 years ago[Facades] Add more comtypes to System.Runtime.InteropServices
Marek Safar [Tue, 8 Jul 2014 11:45:03 +0000 (13:45 +0200)]
[Facades] Add more comtypes to System.Runtime.InteropServices

9 years ago[mcs] C# static using
Marek Safar [Tue, 8 Jul 2014 11:27:29 +0000 (13:27 +0200)]
[mcs] C# static using

9 years ago[runtime] Remove another duplicate switch case from configure.
Zoltan Varga [Tue, 8 Jul 2014 12:35:11 +0000 (14:35 +0200)]
[runtime] Remove another duplicate switch case from configure.

9 years ago[runtime] Remove a duplicate switch case from configure.
Zoltan Varga [Tue, 8 Jul 2014 12:34:34 +0000 (14:34 +0200)]
[runtime] Remove a duplicate switch case from configure.

9 years agoMerge pull request #1149 from akoeplinger/fix-httpwebreq-test
Marek Safar [Tue, 8 Jul 2014 06:39:05 +0000 (08:39 +0200)]
Merge pull request #1149 from akoeplinger/fix-httpwebreq-test

[System] Fixed HttpWebRequest test that sometimes failed

9 years ago[runtime] Lock the root domain in mono_jit_info_add_aot_module () to simplify locking.
Zoltan Varga [Mon, 7 Jul 2014 23:08:01 +0000 (01:08 +0200)]
[runtime] Lock the root domain in mono_jit_info_add_aot_module () to simplify locking.

9 years ago[runtime] Explicit thread GC data around instead of relying on TLS storage. Fixes...
Rodrigo Kumpera [Mon, 7 Jul 2014 22:44:33 +0000 (18:44 -0400)]
[runtime] Explicit thread GC data around instead of relying on TLS storage. Fixes #20360.

Some systems do locking in their TLS implementation (yeah, super smart, I know).

Due to how we implement stop-the-world this can lead to deadlocks.

9 years ago[bcl] Increase some test timeouts to avoid failures when running with llvm.
Zoltan Varga [Mon, 7 Jul 2014 22:46:31 +0000 (00:46 +0200)]
[bcl] Increase some test timeouts to avoid failures when running with llvm.

9 years ago[System] Fixed HttpWebRequest test that sometimes failed
Alexander Köplinger [Sat, 5 Jul 2014 18:14:54 +0000 (20:14 +0200)]
[System] Fixed HttpWebRequest test that sometimes failed

The TestTimeoutPropertyWithServerThatDoesntExist test sometimes failed with a 'ConnectFailure' instead of a 'Timeout'.
As per the discussion in PR #1145, the test should actually check that a ConnectFailure is thrown before the timeout is reached.
This proved unreliable with the 10.128.200.100 IP address, as it was up to the networking stack to decide whether the endpoint can be reached,
which can take quite a long time (sometimes >100secs).

Instead, we now use the loopback address with a port where no service listens, which should be equivalent.

Additionally, the assert which checks for the correct exception switched the 'expected' and 'actual' parameter, which resulted in the wrong output, this is fixed as well.

9 years ago[delegate-trampoline] Fallback to slow path in case of failure to create fast path
Ludovic Henry [Mon, 7 Jul 2014 20:01:44 +0000 (16:01 -0400)]
[delegate-trampoline] Fallback to slow path in case of failure to create fast path

9 years agoMove amd64 to use object offsets.
Rodrigo Kumpera [Mon, 7 Jul 2014 20:26:07 +0000 (16:26 -0400)]
Move amd64 to use object offsets.