Zoltan Varga [Tue, 29 Nov 2016 05:29:18 +0000 (00:29 -0500)]
[build] Enable aot for Microsoft.CodeAnalysis.dll/Microsoft.CodeAnalysis.CSharp.dll, as the aot compiler generates smaller images now.
Zoltan Varga [Tue, 29 Nov 2016 05:22:42 +0000 (00:22 -0500)]
[aot] Only emit instances when using full aot.
Zoltan Varga [Tue, 29 Nov 2016 02:13:39 +0000 (21:13 -0500)]
[runtime] Fix
e659982b7b8f11ecf80919646353ad3c16240697, two callbacks were mixed up.
Alexander Kyte [Tue, 29 Nov 2016 02:01:09 +0000 (21:01 -0500)]
Prevent ThreadAbort from prematurely ending function calls in catch block (#1837)
* [runtime] Fix naming scheme for check if stack grows upward
It was very counter-intutitive to have a file-local preprocessor variable
with a name that sounds like it should have the same truthiness as a given global
preprocessor variable but was defined as the negation of the global variable.
* [runtime] Prevent ThreadAbort from terminating function calls in catch body
ThreadAbortExceptions are special in that if the thread has not
had it's abortion reset, when it reaches the end of a catch block it
must throw.
Consider the situation where a thread has been aborted and the
ThreadAbortException has been caught. If this catch block calls
a method that has a try/catch combination, the current implementation
will throw the ThreadAbortException at the end of the catch in that
function.
Usually you only care that Thread abortions are prompt, but this bug
could result in dramatic program behavior changes when this is combined
with lazy class initialization.
```
Example:
Console.WriteLine inside a thread abort with an uninitialized Console.
```
This fix records the stack pointer when a catch clause is entered, and
only rethrows the abortion if we're exiting a catch clause above or at the
level of the catch clause previously entered.
Zoltan Varga [Tue, 29 Nov 2016 01:58:45 +0000 (20:58 -0500)]
Zoltan Varga [Tue, 29 Nov 2016 01:57:52 +0000 (20:57 -0500)]
[jit] Call mono_jit_thread_attach () through a GOT slot instead of directly, so the call doesn't go through the trampoline code which wouldn't work if the thread was not attached. (#4037)
Zoltan Varga [Tue, 29 Nov 2016 01:14:11 +0000 (20:14 -0500)]
Rodrigo Kumpera [Mon, 28 Nov 2016 23:54:03 +0000 (18:54 -0500)]
Merge pull request #4009 from kumpera/lazy-array-ifaces
[runtime] Implement lazy interface implementation for arrays.
Rodrigo Kumpera [Mon, 28 Nov 2016 22:54:38 +0000 (14:54 -0800)]
[runtime] Remove the eager array interfaces code. Good ridance.
Rodrigo Kumpera [Mon, 28 Nov 2016 22:54:18 +0000 (14:54 -0800)]
[runtime] Clean mono_init_internal hacks. Moved to mono_class_setup_mono_type / mono_class_create_from_typedef.
Rodrigo Kumpera [Tue, 22 Nov 2016 23:30:41 +0000 (15:30 -0800)]
[runtime] Fix bad packing in MonoClass.
Rodrigo Kumpera [Mon, 21 Nov 2016 23:22:08 +0000 (15:22 -0800)]
[runtime] Implement lazy interface implementation for arrays.
We have the following set of problems:
Arrays implement interfaces that are invariant but behave like covariant.
Those are IList`1, ICollection`1, IEnumerable`1
Arrays of primitive types are type equivalent based on their underlying type.
This means int[], uint[] and IntEnum[] are all interchangeable. And so is casting among their interfaces.
Meaning this is valid: `(IList<IntEnum>)(object)new int[1]`.
Finally, the way we implement IEnumerator`1 for arrays forces it to behave just like the other 3 interfaces.
Implementation:
Introduce MonoClass::is_array_special_interface, set for all the above interfaces. This allow fast checking of the interfaces in question.
mono_class_is_assignable_from now includes the array casting rules.
Change mono_class_interface_offset_with_variance to take arrays into account when looking for a candidate iface.
The JIT implements casting of those interfaces using the cast with cache wrapper.
Finally, to handle the weird primitive rules, set the cast_class of sbyte, ushort, uint and ulong to their same-size buddies.
This makes it easier for the casting code to resolve this problem.
Problems:
Casting performance is terrible, anywhere from 60% to 1000% slower on a micro-benchmark.
Can be improved by extending our casting wrapper to handle those interfaces (probably would have to give up inlining as they would be huge)
The code in domain.c is icky, but not sure where to put it otherwise.
IEnumerator could be solved in Array.cs by not forcing it to be magic as well. Meaning the folowing
```
object array = new int[1];
var a = array as IList<int>;
var b = array as IList<uint>;
a.GetEnumerator().GetType () != b.GetEnumerator().GetType ();
```
The last line is false today but it's harmless to change it to avoid the casting penalty for such central type.
Marek Safar [Mon, 28 Nov 2016 22:30:14 +0000 (23:30 +0100)]
[build] Install also from mcs/packages
Zoltan Varga [Mon, 28 Nov 2016 19:04:46 +0000 (14:04 -0500)]
Revert "[CI] Disable winforms tests on all platforms."
This reverts commit
598183023b74fad649a43fd9fbeec0f962a55a8a.
Zoltan Varga [Mon, 28 Nov 2016 18:56:37 +0000 (13:56 -0500)]
[CI] Disable winforms tests on all platforms.
Zoltan Varga [Mon, 28 Nov 2016 18:42:16 +0000 (13:42 -0500)]
Convert MonoClassExt to class properties (#4022)
* [runtime] Store the class failure data as a property.
* [runtime] Store the list of nested classes as a class property.
* [runtime] Move the property relation information from MonoClassExt into a class property.
* [runtime] Move the event relation information from MonoClassExt into a class property.
* [runtime] Move the field_def_values field from MonoClassExt into a class property.
* [runtime] Move the declsec_flags field from MonoClassExt into a class property.
* [runtime] Remove unused MonoClassExt infrastructure.
* [runtime] Add some API docs.
Andi McClure [Mon, 28 Nov 2016 15:37:55 +0000 (10:37 -0500)]
Merge pull request #4015 from xmcclure/new-threads-collect-fix
Possibly fix hang in sgen-new-threads-collect.exe
Marek Safar [Mon, 28 Nov 2016 13:38:54 +0000 (14:38 +0100)]
Merge pull request #2774 from marek-safar/roslyn
Roslyn compiler switch
Vlad Brezae [Mon, 28 Nov 2016 12:38:16 +0000 (14:38 +0200)]
Merge pull request #3973 from mono/small-perf
[Perf] Replace some exhaustive O(n^3) or O(n^2) iterations with O(n)
Marek Safar [Wed, 19 Oct 2016 19:00:42 +0000 (21:00 +0200)]
Switch to cecil branch with better pdb handling
Marek Safar [Tue, 15 Nov 2016 16:32:37 +0000 (17:32 +0100)]
[build] Bump required bootraping mono version and download it automatically
Marek Safar [Tue, 5 Apr 2016 14:34:53 +0000 (16:34 +0200)]
[build] Roslyn switch
Miguel de Icaza [Mon, 28 Nov 2016 02:37:47 +0000 (21:37 -0500)]
[marshal] Fix API documentation comment on mono_string_to_byvalwstr
Zoltan Varga [Mon, 28 Nov 2016 02:36:48 +0000 (21:36 -0500)]
[runtime] Fix mono_image_load_module_checked () so it actually stores the loaded netmodule in image->modules, not the parent image itself. Fixes #47762. (#4029)
Zoltan Varga [Sun, 27 Nov 2016 03:45:21 +0000 (22:45 -0500)]
[aot] Avoid a crash on class loading failures. Fixes #47152.
Zoltan Varga [Sat, 26 Nov 2016 22:02:40 +0000 (17:02 -0500)]
[runtime] Fix a warning.
Zoltan Varga [Sat, 26 Nov 2016 21:33:31 +0000 (16:33 -0500)]
[jit] Fix some SIMD problems on x86.
Alexander Köplinger [Sat, 26 Nov 2016 18:16:09 +0000 (19:16 +0100)]
Merge pull request #4028 from monojenkins/update-csprojs
[msvc] Update csproj files
monojenkins [Sat, 26 Nov 2016 16:45:55 +0000 (16:45 +0000)]
[msvc] Update csproj files
Alexander Köplinger [Fri, 25 Nov 2016 19:48:36 +0000 (20:48 +0100)]
[Facades] Don't build System.Drawing.Primitives.dll by default for monotouch_watch profile
It needs special logic like the other monotouch profiles in the products
since we don't have a System.Drawing assembly/types for these profiles in Mono
and don't embed the types in the facade anymore after
1074fe91bd9b33a84040cc9d0d5da42079633d2a.
Marek Safar [Fri, 25 Nov 2016 17:24:35 +0000 (18:24 +0100)]
Merge pull request #4026 from monojenkins/update-csprojs
[msvc] Update csproj files
Marek Safar [Fri, 25 Nov 2016 16:57:58 +0000 (17:57 +0100)]
[Facades] Remove watch special System.Drawing.Primitives, all types are now available in watchos.dll
monojenkins [Fri, 25 Nov 2016 16:51:25 +0000 (16:51 +0000)]
[msvc] Update csproj files
Alexander Köplinger [Fri, 25 Nov 2016 16:07:13 +0000 (17:07 +0100)]
Merge pull request #4024 from akoeplinger/mkbundle-messages
[mkbundle] Print error message when assemblies couldn't be loaded
Alexander Köplinger [Fri, 25 Nov 2016 11:40:49 +0000 (12:40 +0100)]
[mkbundle] Print error message when assemblies couldn't be loaded
There were two places in mkbundle where it'd simply exit without printing anything,
leading to confusion such as in https://bugzilla.xamarin.com/show_bug.cgi?id=46479.
Alexander Köplinger [Fri, 25 Nov 2016 11:03:35 +0000 (12:03 +0100)]
Merge pull request #4020 from akoeplinger/mobile_static-rename
Rename the mobile_static profile to aot_only
Alexander Köplinger [Fri, 25 Nov 2016 02:38:45 +0000 (03:38 +0100)]
[corlib] Move ComAwareEventInfo stub into System.Core
It was mistakenly added to corlib, it is in System.Core.dll on .NET
Zoltan Varga [Thu, 24 Nov 2016 22:23:59 +0000 (17:23 -0500)]
[jit] Fix more simd+aot issues. Avoid treating the Vector<T> GTD or Vector<T_REF> or Vector<T_GSHAREDVT> as simd types. (#4021)
Bernhard Urban [Thu, 24 Nov 2016 20:57:00 +0000 (21:57 +0100)]
Merge pull request #4019 from vargaz/get-gclass-locking
[runtime] Reduce the size of the critical section in mono_generic_cla…
Bernhard Urban [Thu, 24 Nov 2016 20:54:36 +0000 (21:54 +0100)]
Merge pull request #4017 from vargaz/get-array-class-locking
[runtime] Decrease the size of the critical section in mono_bounded_a…
Bernhard Urban [Thu, 24 Nov 2016 20:54:01 +0000 (21:54 +0100)]
Merge pull request #4018 from vargaz/get-fnptr-locking
[runtime] Reduce the size of the critical section in mono_fnptr_class…
Zoltan Varga [Wed, 23 Nov 2016 22:51:44 +0000 (17:51 -0500)]
[runtime] Reduce the size of the critical section in mono_fnptr_class_get ().
Alexander Köplinger [Thu, 24 Nov 2016 01:33:29 +0000 (02:33 +0100)]
Rename the mobile_static profile to aot_only
We decided it's a better name since we're using the profile to
test FullAOT scenarios on desktop (as opposed to the mobile profiles).
While doing the rename I saw that a lot of the #ifdefs were using
MOBILE_STATIC even though the code should actually be included/excluded
in all FullAOT scenarios, e.g. System.Reflection.Emit. I replaced those
cases with FULL_AOT_RUNTIME instead.
For cases where code is specific to this profile, I added a new
AOT_ONLY_DESKTOP define.
Marek Safar [Thu, 24 Nov 2016 16:14:54 +0000 (17:14 +0100)]
[Facades] Add netstandard
Marius Ungureanu [Thu, 24 Nov 2016 15:17:12 +0000 (17:17 +0200)]
[Perf] Free process in-place in loop on modules iterations.
Marek Safar [Thu, 24 Nov 2016 11:14:07 +0000 (12:14 +0100)]
Bump cecil
Marek Safar [Thu, 24 Nov 2016 10:58:46 +0000 (11:58 +0100)]
[mcs] Count arity correctly for deeply nested types
Zoltan Varga [Thu, 24 Nov 2016 00:23:10 +0000 (19:23 -0500)]
[runtime] Move more callbacks to the RuntimeCallbacks structure. (#4016)
Zoltan Varga [Thu, 24 Nov 2016 00:20:00 +0000 (19:20 -0500)]
[runtime] Decrease the size of the critical section in mono_bounded_array_class_get ().
Zoltan Varga [Wed, 23 Nov 2016 22:29:39 +0000 (17:29 -0500)]
[runtime] Reduce the size of the critical section in mono_generic_class_get_class ().
Andi McClure [Wed, 23 Nov 2016 21:22:11 +0000 (16:22 -0500)]
Use DateTime.UtcNow not DateTime.Now in test
Zoltan Varga [Wed, 23 Nov 2016 20:52:37 +0000 (15:52 -0500)]
[runtime] Disable the Wformat-zero-length warning.
Andi McClure [Wed, 23 Nov 2016 20:33:27 +0000 (15:33 -0500)]
Possibly fix hang in sgen-new-threads-collect.exe
This test is occasionally taking over 15 minutes to complete. This
could be a hang in the runtime, but the test has a scheduling fairness
issue which could also have the same result (if the GC thread wakes up
much more often than the join thread). Patch slows down the GC rate to
give the join thread a chance to work, and extends the test to a fixed
30 second runtime.
Zoltan Varga [Wed, 23 Nov 2016 19:48:22 +0000 (14:48 -0500)]
[simd] Fix a few AOT problems.
Zoltan Varga [Wed, 23 Nov 2016 19:43:47 +0000 (14:43 -0500)]
[bcl] Implement Thread.CurrentThread using an icall which calls mono_… (#4011)
* [bcl] Implement Thread.CurrentThread using an icall which calls mono_thread_current () to avoid creating duplicate Thread objects.
* [bcl] Remove unused Thread:CurrentInternalThread_internal () icall.
* [bcl] Optimize Thread:CurrentThread a bit.
Niklas Therning [Wed, 23 Nov 2016 17:58:29 +0000 (18:58 +0100)]
Merge pull request #4013 from ntherning/fix-assert-in-poll_event_wait-on-WSAENOTSOCK-on-windows-2
Fix assert in poll_event_wait() on WSAENOTSOCK on Windows #2
Marek Safar [Wed, 23 Nov 2016 16:40:00 +0000 (17:40 +0100)]
[System] Don't send response on empty stream write. Fixes #47549
Martin Baulig [Wed, 23 Nov 2016 15:50:09 +0000 (16:50 +0100)]
Merge pull request #3962 from mkorkalo/fix_MonoBtlsContext_memory_leak
fix a massive memory leak in MonoBtlsContext
Aleksey Kliger (λgeek) [Wed, 23 Nov 2016 14:47:37 +0000 (09:47 -0500)]
Merge pull request #3992 from lambdageek/dev-handles-srassembly
[coop] Use handles in System.Reflection.Assembly.{GetReferencedAssemblies,InternalGetAssemblyName}
Niklas Therning [Wed, 23 Nov 2016 13:57:45 +0000 (14:57 +0100)]
Fix assert in poll_event_wait() on WSAENOTSOCK on Windows #2
PR #3998 fixes an error handling issue in poll_event_wait(). This new change
fixes a minor code style problem in that PR, the condition in a ternary wasn't
enclosed in parentheses.
Zoltan Varga [Wed, 23 Nov 2016 13:20:56 +0000 (08:20 -0500)]
[runtime] Filter out duplicate interfaces in mono_class_get_implemented_interfaces (). (#4007)
Zoltan Varga [Wed, 23 Nov 2016 03:24:38 +0000 (22:24 -0500)]
[runtime] Allocate the temporary vtable array using g_malloc in mono_class_setup_vtable (), alloca can overflow for large vtable sizes. Hopefully fixes #45140. (#4006)
Ludovic Henry [Tue, 22 Nov 2016 15:52:00 +0000 (10:52 -0500)]
[threadpool] Replace stop by abort for worker thread
Kenneth Skovhede [Wed, 23 Nov 2016 00:04:57 +0000 (01:04 +0100)]
[Socket] Fix DuplicateAndClose (#3995)
* Fixed issue 47425
This fix simply ensures that the `m_Handle` value is not processed by the GC after a call to `DuplicateAndClose` as that causes the duplicated socket to close.
A potential issue is that this will leak sockets if the sockets are never re-created.
* Implemented ref-counting as suggested by @ludovic-henry
Alexis Christoforides [Wed, 23 Nov 2016 00:01:02 +0000 (19:01 -0500)]
Bockbuild
Aleksey Kliger [Mon, 21 Nov 2016 16:53:48 +0000 (11:53 -0500)]
Bump corlib version.
Aleksey Kliger [Mon, 21 Nov 2016 19:55:12 +0000 (14:55 -0500)]
[reflection] Implement GetReferencedAssemblies in managed
Call out to native to get an array of Mono.MonoAssemblyName* and use
AssemblyName.FillName to create the managed structs.
Alexis Christoforides [Tue, 22 Nov 2016 23:28:52 +0000 (18:28 -0500)]
Bump bockbuild properly
Alexis Christoforides [Tue, 22 Nov 2016 22:39:31 +0000 (17:39 -0500)]
Bump bockbuild
Zoltan Varga [Tue, 22 Nov 2016 20:42:17 +0000 (15:42 -0500)]
[runtime] Avoid passing a newline to mono_trace (), it adds one automatically.
Zoltan Varga [Tue, 22 Nov 2016 20:12:38 +0000 (15:12 -0500)]
[jit] Make an assert more informative. Fixes #47152.
Aleksey Kliger [Mon, 21 Nov 2016 16:52:28 +0000 (11:52 -0500)]
[reflection] Change Assembly.InternalGetAssemblyName to return native MonoAssemblyName
Use managed AssemblyName.FillName to make a
System.Reflection.AssemblyName from a Mono.MonoAssemblyName
Delete native fill_reflection_assembly_name implementation. It's dead code.
Aleksey Kliger [Mon, 21 Nov 2016 16:44:57 +0000 (11:44 -0500)]
[metadata] mono_assembly_fill_assembly_name_full
When copyBlobs is true, duplicates the
name, culture and public_key fields of MonoAssemblyName.
If copyBlobs is false, point those fields into the MonoImage.
Change mono_assembly_fill_assembly_name to call the full version with
copyBlobs == FALSE.
Aleksey Kliger [Fri, 18 Nov 2016 19:33:43 +0000 (14:33 -0500)]
[coop] Use handles for S.R.Assembly.{GetReferencedAssemblies,InternalGetAssemblyName}
Aleksey Kliger [Fri, 18 Nov 2016 19:12:43 +0000 (14:12 -0500)]
[runtime] Add mono_string_handle_to_utf8
Aleksey Kliger [Fri, 18 Nov 2016 19:09:07 +0000 (14:09 -0500)]
[runtime] mark mono_get_exception_{file_not_found2,bad_image_format2} external only.
Runtime should use
- mono_error_set_assembly_load for mono_get_exception_file_not_found2
- mono_error_set_bad_image_name for mono_get_exception_bad_image_format2
Alexis Christoforides [Tue, 22 Nov 2016 19:10:22 +0000 (14:10 -0500)]
Merge branch 'alexischr/nursery-canaries-managed-alloc'
Niklas Therning [Tue, 22 Nov 2016 19:03:22 +0000 (20:03 +0100)]
Merge pull request #4003 from ntherning/ignore-disconnected-interfaces-in-HttpListenerRequestTest.HttpRequestIsLocal
Ignore disconnected interfaces in HttpListenerRequestTest.HttpRequestIsLocal
Alexander Köplinger [Tue, 22 Nov 2016 18:26:39 +0000 (19:26 +0100)]
Merge pull request #4005 from monojenkins/update-csprojs
[msvc] Update csproj files
Marek Safar [Tue, 22 Nov 2016 17:06:33 +0000 (18:06 +0100)]
[System.Runtime.Remoting] Disable test accidentally re-enabled by nunitlite switch
Zoltan Varga [Tue, 22 Nov 2016 16:59:53 +0000 (11:59 -0500)]
[runtime] Disable some tests when running with llvm since they take too much time. Reduce the run time of the namedmutex-destroy-race test.
monojenkins [Tue, 22 Nov 2016 16:39:46 +0000 (16:39 +0000)]
[msvc] Update csproj files
Zoltan Varga [Tue, 22 Nov 2016 16:24:51 +0000 (11:24 -0500)]
[runtime] Mark the ThreadPool.PerformWaitCallback () method as save_lmf, so ThreadAbortExceptions thrown inside tp worker threads are always caught, otherwise if the TAE arrives while the threads is in native code while executing the callback, the EH will code will abort the thread so the worker thread cleanup code is not executed, causing problems later. (#4002)
Marek Safar [Tue, 22 Nov 2016 16:01:15 +0000 (17:01 +0100)]
[mcs] Null coalescing over typed null constants.
Ludovic Henry [Fri, 18 Nov 2016 20:58:03 +0000 (15:58 -0500)]
[profiles] Fix MOBILE assemblies and tests compilation + Rename MOBILE to AOT_HYBRID
This only fixes the compilation of the assemblies and the tests. This doesn't fix the failing tests or the crashes.
Ludovic Henry [Fri, 18 Nov 2016 21:53:21 +0000 (16:53 -0500)]
[ci] Add script to run MOBILE profile tests
Ludovic Henry [Thu, 17 Nov 2016 22:55:53 +0000 (17:55 -0500)]
[utils] Add MonoRefCount to factor ref-counting mechanisms
Marek Safar [Mon, 21 Nov 2016 15:49:30 +0000 (16:49 +0100)]
[corlib] Update list of known lcids and update CLRD data. Fixes #46456
Niklas Therning [Tue, 22 Nov 2016 13:27:59 +0000 (14:27 +0100)]
Ignore disconnected interfaces in HttpListenerRequestTest.HttpRequestIsLocal
This test creates an HttpListener for every IP address of all network
interfaces. On Windows disconnected network interfaces have unroutable IP
addresses (169.254.XXX.XXX) and this test fails when it tries to listen to
such an IP address. This patch adds a check to the test to ignore network
interfaces which don't have OperationalStatus == Up.
Niklas Therning [Tue, 22 Nov 2016 10:36:04 +0000 (11:36 +0100)]
Merge pull request #3998 from ntherning/fix-assert-in-poll_event_wait-on-WSAENOTSOCK-on-windows
Fix assert in poll_event_wait() on WSAENOTSOCK on Windows
Zoltan Varga [Tue, 22 Nov 2016 01:51:05 +0000 (20:51 -0500)]
[runtime] Add a test for appdomain unload + blocking tp thread. (#4000)
Alexis Christoforides [Mon, 21 Nov 2016 22:40:00 +0000 (17:40 -0500)]
[MacSDK] Fix typo
Zoltan Varga [Mon, 21 Nov 2016 22:28:34 +0000 (17:28 -0500)]
[runtime] Add back locking around mono_class_layout_fields () to work around https://bugzilla.xamarin.com/show_bug.cgi?id=47156.
Zoltan Varga [Mon, 21 Nov 2016 21:59:02 +0000 (16:59 -0500)]
Threadpool appdomain unload cleanup (#3996)
* [runtime] Move the threadpool related data from MonoDomain to ThreadPoolDomain.
* [runtime] Simplify the waiting for tp threads in the domain unload code. Use a condvar to wait for the active+outstanding number of jobs to reach 0.
Ludovic Henry [Fri, 18 Nov 2016 19:15:06 +0000 (14:15 -0500)]
[tests] Rework how we do disabled tests
Aleksey Kliger (λgeek) [Mon, 21 Nov 2016 14:43:07 +0000 (09:43 -0500)]
Merge pull request #3988 from lambdageek/dev-handles-srmodule
[coop] Use handles in System.Reflection.Module and System.Reflection.Assembly
Niklas Therning [Mon, 21 Nov 2016 09:17:40 +0000 (10:17 +0100)]
Fix assert in poll_event_wait() on WSAENOTSOCK on Windows
On Windows poll_event_wait() in threadpool-ms-io-poll.c checks
WSAGetLastError() when mono_poll() fails. However, mono_poll() sets errno
after converting the WSAXXX error code (e.g. WSAEFAULT->EFAULT). Occasionally
(maybe 1 in 100) the System test suite fails due to mono_poll() returning an
error and poll_event_wait() not handling the error code correctly on Windows.
This patch changes poll_event_wait() to use the same code path which checks
errno on all platforms including Windows. It also fixes a few other places
which used to check WSAGetLastError() rather than errno after a call to
mono_poll(). Also, the Socket.Poll_internal() and Socket.Select_internal()
icalls had to be patched to convert back the errno value to a corresponding
WSAXXX error code by adding WSABASEERR on Windows.
Marek Safar [Mon, 21 Nov 2016 13:40:23 +0000 (14:40 +0100)]
Revert "[runtime] Default mobile_static AOT type to FullAOT"
Marek Safar [Mon, 21 Nov 2016 08:54:08 +0000 (09:54 +0100)]
Merge pull request #3406 from alexanderkyte/mobile_static_default
[runtime] Default mobile_static AOT type to FullAOT
Zoltan Varga [Sun, 20 Nov 2016 23:01:32 +0000 (18:01 -0500)]
[runtime] Add even more logging code for the class.c assertion.