mono.git
7 years ago[threads] Remove mono_threads_suspend_needs_abort_syscall (#4450)
Ludovic Henry [Thu, 2 Mar 2017 14:55:31 +0000 (09:55 -0500)]
[threads] Remove mono_threads_suspend_needs_abort_syscall (#4450)

7 years ago[runtime] Cleanup the debugger header files. (#4459)
Zoltan Varga [Thu, 2 Mar 2017 11:22:06 +0000 (06:22 -0500)]
[runtime] Cleanup the debugger header files. (#4459)

* Rename debug-mono-debugger.h to debug-internals.h.
* Move the internal debug structures to debug-internals.h from debug-mono-symfile.h.

7 years agoMerge pull request #4418 from kumpera/fix_gclass_recording_on_failure
Rodrigo Kumpera [Wed, 1 Mar 2017 23:15:56 +0000 (18:15 -0500)]
Merge pull request #4418 from kumpera/fix_gclass_recording_on_failure

[loader] When loading the parent of a GTD fails. We must disable gclass recording for it.

7 years ago[runtime] Use mono_debug_method_lookup_location () instead of mono_debug_symfile_look...
Zoltan Varga [Wed, 1 Mar 2017 23:05:51 +0000 (18:05 -0500)]
[runtime] Use mono_debug_method_lookup_location () instead of mono_debug_symfile_lookup_location (), the latter doesn't support portable pdb files. Use mono_debug_free_source_location () for freeing. Fixes #52899. (#4457)

7 years ago[corlib][System] Concurrent collections from corefx
Marek Safar [Tue, 28 Feb 2017 16:51:03 +0000 (17:51 +0100)]
[corlib][System] Concurrent collections from corefx

7 years ago[threads] Remove unused mono_thread_internal_stop (#4449)
Ludovic Henry [Wed, 1 Mar 2017 19:19:58 +0000 (14:19 -0500)]
[threads] Remove unused mono_thread_internal_stop (#4449)

7 years agoMerge pull request #4373 from NattyNarwhal/haiku
Rodrigo Kumpera [Wed, 1 Mar 2017 17:08:38 +0000 (12:08 -0500)]
Merge pull request #4373 from NattyNarwhal/haiku

Restore Haiku support

7 years ago[interpreter] rename interpreter to interp
Bernhard Urban [Mon, 27 Feb 2017 16:55:55 +0000 (17:55 +0100)]
[interpreter] rename interpreter to interp

for folks without autocompletion :P

7 years ago[generics.cs] enable more testcases for interpreter
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[generics.cs] enable more testcases for interpreter

7 years ago[interpreter] use explicit addressing for stack slots
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] use explicit addressing for stack slots

7 years ago[interpreter] add basic-vectors.cs to richeck target
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] add basic-vectors.cs to richeck target

7 years ago[interpreter] add {exceptions,devirtualization,basic-simd}.cs to richeck target
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] add {exceptions,devirtualization,basic-simd}.cs to richeck target

7 years ago[interpreter] add floating point support to icall trampoline, add basic-math.cs to...
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] add floating point support to icall trampoline, add basic-math.cs to richeck target

7 years ago[interpreter] add arrays.cs to richeck target
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] add arrays.cs to richeck target

7 years ago[objects.cs] enable last two remaining tests for interpreter
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[objects.cs] enable last two remaining tests for interpreter

\o/

7 years ago[interpreter] fix array built-ins wrt. multiarray access
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] fix array built-ins wrt. multiarray access

7 years ago[interpreter] fix metadata access for ldtoken insn in wrappers
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] fix metadata access for ldtoken insn in wrappers

7 years ago[interpreter] implement ref type for ldelem bytecode
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] implement ref type for ldelem bytecode

7 years ago[interpreter] install stack walking callback
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] install stack walking callback

7 years ago[interpreter] it can happen that we have the address of a enum on the stack, and...
Bernhard Urban [Mon, 27 Feb 2017 16:55:54 +0000 (17:55 +0100)]
[interpreter] it can happen that we have the address of a enum on the stack, and we need to dereference it before we box it.

7 years ago[interpreter] allow generic inst type in icall trampoline
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] allow generic inst type in icall trampoline

7 years ago[interpreter] if unboxing is required on virtcall, point into object instead of copying
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] if unboxing is required on virtcall, point into object instead of copying

7 years ago[generics.cs] test calling an interface, that's implemented by a generic value type
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[generics.cs] test calling an interface, that's implemented by a generic value type

7 years ago[interpreter] properly inflate method on generic virtual call
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] properly inflate method on generic virtual call

7 years ago[interpreter] inflate method signature for delegate.invoke ()
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] inflate method signature for delegate.invoke ()

7 years ago[interpreter] inflate signature for calli with proper generic_context
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] inflate signature for calli with proper generic_context

7 years ago[object/interpreter] add trap for future pitfalls
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[object/interpreter] add trap for future pitfalls

7 years ago[interpreter] add init_delegate callback
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] add init_delegate callback

and set `method` field in delegate

7 years ago[interpreter] use jit icall for delegate ctor
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] use jit icall for delegate ctor

7 years ago[trampolines] make sure no delegate trampoline is created in interpreter mode
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[trampolines] make sure no delegate trampoline is created in interpreter mode

7 years ago[objects.cs] testcase for delegate with instance method that uses `this'
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[objects.cs] testcase for delegate with instance method that uses `this'

7 years ago[interpreter] pop extra arg in CEE_MONO_CALLI_EXTRA_ARG
Bernhard Urban [Mon, 27 Feb 2017 16:55:53 +0000 (17:55 +0100)]
[interpreter] pop extra arg in CEE_MONO_CALLI_EXTRA_ARG

7 years agoMerge pull request #4440 from kumpera/fix-assembly-remapping
Rodrigo Kumpera [Tue, 28 Feb 2017 20:23:26 +0000 (12:23 -0800)]
Merge pull request #4440 from kumpera/fix-assembly-remapping

[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743

7 years ago[msvc] Update csproj files
monojenkins [Tue, 28 Feb 2017 16:29:34 +0000 (16:29 +0000)]
[msvc] Update csproj files

7 years agoMerge pull request #4381 from BrzVlad/feature-generational-hash
Vlad Brezae [Tue, 28 Feb 2017 12:30:18 +0000 (14:30 +0200)]
Merge pull request #4381 from BrzVlad/feature-generational-hash

[sgen] Generational MonoGHashTable

7 years ago[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743
Rodrigo Kumpera [Tue, 28 Feb 2017 00:46:00 +0000 (16:46 -0800)]
[runtime] Fix assembly remapping by using a hashtable. Fixes #52846 and #52743

In multiple occasions we had bugs due to framework_assemblies not being correctly sorted.

Instead of just fixing the ordering again, I'm moving it a hashtable so future generations won't have to fix this for System.SpaceTravel.dll.

7 years ago[System] Add regression test for Bugzilla 10899 (#4401)
Alexander Köplinger [Mon, 27 Feb 2017 22:43:56 +0000 (23:43 +0100)]
[System] Add regression test for Bugzilla 10899 (#4401)

Even though I couldn't repro the bug I thought it'd still be a
good idea to at least add some basic coverage with non-Latin chars.

7 years agoMerge pull request #4438 from xmcclure/monodis-fix
Andi McClure [Mon, 27 Feb 2017 21:00:48 +0000 (16:00 -0500)]
Merge pull request #4438 from xmcclure/monodis-fix

Fix monodis

7 years agoFix monodis
Andi McClure [Mon, 27 Feb 2017 20:54:05 +0000 (15:54 -0500)]
Fix monodis

monodis was not calling the mono_tls_init_runtime_keys function, which
was causing it to crash the first time it attempted to access the
current domain (ie almost immediately).

7 years agoMerge pull request #4433 from kumpera/android-fixes
Rodrigo Kumpera [Mon, 27 Feb 2017 20:46:03 +0000 (15:46 -0500)]
Merge pull request #4433 from kumpera/android-fixes

Fix a few issues on Android

7 years ago[jit] Rewrite some logging to work on embedded systems.
Rodrigo Kumpera [Sat, 25 Feb 2017 00:14:16 +0000 (16:14 -0800)]
[jit] Rewrite some logging to work on embedded systems.

7 years ago[jit] Fix LMF codegen on android arm64.
Rodrigo Kumpera [Sat, 25 Feb 2017 00:09:56 +0000 (16:09 -0800)]
[jit] Fix LMF codegen on android arm64.

Android doesn't have fast tls either, so we must use the jit_tls variant.

7 years ago[alias-analysis] Ignore addresses taken of volatile variables.
Rodrigo Kumpera [Fri, 24 Feb 2017 23:52:03 +0000 (15:52 -0800)]
[alias-analysis] Ignore addresses taken of volatile variables.

Volatile variables should be ignored by AA as, by design, we can't
properly tell whether removing indirection is safe or not.

This shows up when handling the LMF var in some cases.

7 years ago[runtime] Mark mono_error_init external only. (#4437)
Aleksey Kliger (λgeek) [Mon, 27 Feb 2017 20:08:48 +0000 (15:08 -0500)]
[runtime] Mark mono_error_init external only. (#4437)

Runtime should use the error_init() from mono/utils/mono-error-internals.h

7 years agoMerge pull request #4434 from BrzVlad/fix-unload-hang
Vlad Brezae [Mon, 27 Feb 2017 20:05:27 +0000 (22:05 +0200)]
Merge pull request #4434 from BrzVlad/fix-unload-hang

[threads] Don't ignore abort requests in abort protected blocks

7 years agoUpdate ms-test-suite
Marek Safar [Mon, 27 Feb 2017 13:42:10 +0000 (14:42 +0100)]
Update ms-test-suite

7 years ago[System.Numerics] Use corefx implementation
Marek Safar [Fri, 24 Feb 2017 14:13:26 +0000 (15:13 +0100)]
[System.Numerics] Use corefx implementation

7 years agoMerge pull request #4431 from vkargov/vk-leaking-points
Rodrigo Kumpera [Mon, 27 Feb 2017 16:34:02 +0000 (11:34 -0500)]
Merge pull request #4431 from vkargov/vk-leaking-points

[runtime] Fix memory leak in mono_save_seq_point_info().

7 years agoHaiku hrev50954 makes this ifdef unnecessary
Calvin [Thu, 16 Feb 2017 16:36:32 +0000 (12:36 -0400)]
Haiku hrev50954 makes this ifdef unnecessary

7 years agoMore proper detection of reset_priority, make stub for Haiku
Calvin [Wed, 15 Feb 2017 04:25:34 +0000 (00:25 -0400)]
More proper detection of reset_priority, make stub for Haiku

7 years agoFix eglibc configure script on Haiku
Calvin [Tue, 14 Feb 2017 23:30:52 +0000 (19:30 -0400)]
Fix eglibc configure script on Haiku

Now properly recognizes -ltextencoding

7 years agoImprove build and configure
Calvin [Tue, 14 Feb 2017 23:05:31 +0000 (19:05 -0400)]
Improve build and configure

* detect sys/errno.h

* Fix errenous LIBS in haiku

* use HAVE_MINCORE

7 years agoPolish on configure script
Calvin [Tue, 14 Feb 2017 17:07:52 +0000 (13:07 -0400)]
Polish on configure script

* Set boehm to disabled

* Set threading to use pthreads, not __thread
  (causes static TLS issues)

* Add the library needs for locale
  (FIXME: does this apply to eglib?)

7 years agoGet Mono running further on Haiku by fixing proclib/threads
Calvin [Mon, 13 Feb 2017 17:58:05 +0000 (13:58 -0400)]
Get Mono running further on Haiku by fixing proclib/threads

* proclib: Adapted Andreas' code to the refactored proclib.
  Allocates ahead of time.

* threads: pthread_setschedparam is semantically different on Haiku,
  because it returns positive numbers on success. Handle this
  difference.

With these changes, Mono can now get to the point Roslyn runs, and
fails immediately due to lack of stack walking.

7 years agoGet support libraries compiling
Calvin [Mon, 13 Feb 2017 01:56:09 +0000 (21:56 -0400)]
Get support libraries compiling

These return no-ops, but its enough to make it happy

7 years agoRestore Haiku support
Calvin [Mon, 13 Feb 2017 01:14:12 +0000 (21:14 -0400)]
Restore Haiku support

Much of the code was bitrotting as refactors were done. With this,
mono-sgen can be compiled. Code in support/ is still broken,
however. The compiled binary hasn't been tested yet as a result.

Run configure as: LIBS=-ltextencoding ./configure --disable-boehm

boehm looks to be a mess to port and diverged from upstream making
integration of Haiku support difficult. For now, SGen should be OK.

7 years ago[threads] Don't ignore abort requests in abort protected blocks
Vlad Brezae [Sat, 25 Feb 2017 00:59:14 +0000 (02:59 +0200)]
[threads] Don't ignore abort requests in abort protected blocks

Either interrupt or set the interrupt_deferred flag, so the thread can handle the request later in the future. Otherwise we are left with a thread that has an AbortRequested set on its state that it is never processed and future abort requests are ignored due to the presence of this flag.

7 years ago[runtime] Fix memory leak in mono_save_seq_point_info().
Vladimir Kargov [Fri, 24 Feb 2017 21:43:44 +0000 (13:43 -0800)]
[runtime] Fix memory leak in mono_save_seq_point_info().

7 years ago[runtime] Speed up mono_icall_start()/mono_icall_end() a bit by using inline versions...
Zoltan Varga [Fri, 24 Feb 2017 17:16:15 +0000 (12:16 -0500)]
[runtime] Speed up mono_icall_start()/mono_icall_end() a bit by using inline versions of the MonoError functions. (#4424)

7 years ago[runtime] Call error_init instead of mono_error_init (#4425)
Aleksey Kliger (λgeek) [Fri, 24 Feb 2017 17:15:33 +0000 (12:15 -0500)]
[runtime] Call error_init instead of mono_error_init (#4425)

Use the error_init macro instead of the mono_error_init function to avoid the
function call overhead.

7 years ago[runtime] Add fastpaths to the stelem wrappers for the case when the array element...
Zoltan Varga [Fri, 24 Feb 2017 16:24:31 +0000 (11:24 -0500)]
[runtime] Add fastpaths to the stelem wrappers for the case when the array element type and the value type are the same. (#4427)

7 years ago[Mono.Data.Sqlite] Add test for b78f4f6e5f21edb07d58e012b0339253c593894a
Marek Safar [Fri, 24 Feb 2017 15:31:54 +0000 (16:31 +0100)]
[Mono.Data.Sqlite] Add test for b78f4f6e5f21edb07d58e012b0339253c593894a

7 years ago[Mono.Data.Sqlite] Change default datetime convert format to excluded datetime kind...
Marek Safar [Fri, 24 Feb 2017 15:18:15 +0000 (16:18 +0100)]
[Mono.Data.Sqlite] Change default datetime convert format to excluded datetime kind. Fixes #46929

7 years agoRevert "[Facades] Build netstandard.dll with net_4_x profile by default"
Alexander Köplinger [Fri, 24 Feb 2017 13:27:27 +0000 (14:27 +0100)]
Revert "[Facades] Build netstandard.dll with net_4_x profile by default"

It broke the build.

7 years ago[threads] Fix async call in coop (#4423)
Ludovic Henry [Fri, 24 Feb 2017 13:19:10 +0000 (08:19 -0500)]
[threads] Fix async call in coop (#4423)

We would observe crashes like the following:

```
 * Assertion at mono-threads.c:1009, condition `mono_thread_info_run_state (info) == STATE_ASYNC_SUSPENDED' not met

 Debug info from gdb:

 [New LWP 26793]
 [New LWP 26792]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 0x00002b0ff3481ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
   Id   Target Id         Frame
   3    Thread 0x2b0ff3e6c700 (LWP 26792) "SGen worker" 0x00002b0ff347e414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
   2    Thread 0x2b0ff633e700 (LWP 26793) "Finalizer" 0x00002b0ff347e414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
 * 1    Thread 0x2b0ff2b67c40 (LWP 26780) "mono" 0x00002b0ff3481ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0

 Thread 3 (Thread 0x2b0ff3e6c700 (LWP 26792)):
 #0  0x00002b0ff347e414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
 #1  0x0000000000661bdf in mono_os_cond_wait (mutex=0x9dee40 <lock>, cond=0x9dee00 <work_cond>) at ../../mono/utils/mono-os-mutex.h:146
 #2  thread_func (thread_data=0x2b0ff2bcb008) at sgen-thread-pool.c:129
 #3  0x00002b0ff347a182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 #4  0x00002b0ff39a130d in clone () from /lib/x86_64-linux-gnu/libc.so.6

 Thread 2 (Thread 0x2b0ff633e700 (LWP 26793)):
 #0  0x00002b0ff347e414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
 #1  0x00000000005caff3 in mono_os_cond_wait (mutex=<optimized out>, cond=<optimized out>) at ../../mono/utils/mono-os-mutex.h:146
 #2  mono_coop_cond_wait (mutex=<optimized out>, cond=<optimized out>) at ../../mono/utils/mono-coop-mutex.h:87
 #3  mono_threadpool_io_remove_socket (fd=134239440) at threadpool-io.c:628
 #4  0x00000000005ae4f4 in ves_icall_System_Net_Sockets_Socket_Close_internal (sock=42, werror=<optimized out>) at w32socket.c:708
 #5  0x0000000041e8101f in ?? ()
 #6  0x00002b1014abe070 in ?? ()
 #7  0x0000000001615860 in ?? ()
 #8  0x0000000001615860 in ?? ()
 #9  0x0000000000000000 in ?? ()

 Thread 1 (Thread 0x2b0ff2b67c40 (LWP 26780)):
 #0  0x00002b0ff3481ee9 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
 #1  0x00000000004ac5e6 in mono_handle_native_crash (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2557
 #2  <signal handler called>
 #3  0x00002b0ff38dcf79 in raise () from /lib/x86_64-linux-gnu/libc.so.6
 #4  0x00002b0ff38e0388 in abort () from /lib/x86_64-linux-gnu/libc.so.6
 #5  0x000000000066b459 in mono_log_write_logfile (log_domain=<optimized out>, level=<optimized out>, hdr=<optimized out>, message=<optimized out>) at mono-log-common.c:137
 #6  0x00000000006805e0 in monoeg_g_logv (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7ffc7324ea78) at goutput.c:115
 #7  0x0000000000680736 in monoeg_assertion_message (format=<optimized out>) at goutput.c:135
 #8  0x00000000006759b8 in mono_thread_info_setup_async_call (info=info@entry=0x2b0ff80008c0, target_func=target_func@entry=0x5bac20 <suspend_for_shutdown_async_call>, user_data=user_data@entry=0x0) at mono-threads.c:1009
 #9  0x00000000005bad50 in suspend_for_shutdown_critical (info=info@entry=0x2b0ff80008c0, unused=unused@entry=0x0) at threads.c:5019
 #10 0x00000000006763ae in mono_thread_info_safe_suspend_and_run (id=47347555100416, interrupt_kernel=interrupt_kernel@entry=0, callback=callback@entry=0x5bad40 <suspend_for_shutdown_critical>, user_data=user_data@entry=0x0) at mono-threads.c:979
 #11 0x00000000005c2e71 in mono_thread_internal_suspend_for_shutdown (thread=<optimized out>) at threads.c:5028
 #12 0x00000000005e9100 in mono_gc_cleanup () at gc.c:1015
 #13 0x00000000005e108e in mono_runtime_cleanup (domain=domain@entry=0x1615860) at appdomain.c:423
 #14 0x00000000004228cb in mini_cleanup (domain=0x1615860) at mini-runtime.c:4111
 #15 0x000000000047b99f in mono_main (argc=10, argv=<optimized out>) at driver.c:2167
 #16 0x00000000004200db in mono_main_with_options (argv=0x7ffc7324ef68, argc=10) at main.c:45
 #17 main (argc=10, argv=0x7ffc7324ef68) at main.c:338

 =================================================================
 Got a SIGABRT while executing native code. This usually indicates
 a fatal error in the mono runtime or one of the native libraries
 used by your application.
 =================================================================
```

7 years ago[hybrid] Fix more tests run
Ludovic Henry [Thu, 23 Feb 2017 23:23:00 +0000 (18:23 -0500)]
[hybrid] Fix more tests run

7 years ago[hybrid] Enable COM, Remoting and AppDomains runtime support
Ludovic Henry [Thu, 23 Feb 2017 23:22:22 +0000 (18:22 -0500)]
[hybrid] Enable COM, Remoting and AppDomains runtime support

7 years ago[Facades] Build netstandard.dll with net_4_x profile by default
Alexander Köplinger [Fri, 24 Feb 2017 11:53:10 +0000 (12:53 +0100)]
[Facades] Build netstandard.dll with net_4_x profile by default

7 years ago[mcs] Update 995e5620fb79f62c22f94c87cc6d5b717b84eff2 to do actual comparison
Marek Safar [Fri, 24 Feb 2017 08:59:39 +0000 (09:59 +0100)]
[mcs] Update 995e5620fb79f62c22f94c87cc6d5b717b84eff2 to do actual comparison

7 years ago[msvc] Update csproj files
monojenkins [Thu, 23 Feb 2017 16:57:08 +0000 (16:57 +0000)]
[msvc] Update csproj files

7 years ago[jit] Remove an #ifdef ENABLE_LLVM from mini-os.h, the cross-compile genmdesc.pl...
Zoltan Varga [Thu, 23 Feb 2017 22:26:46 +0000 (17:26 -0500)]
[jit] Remove an #ifdef ENABLE_LLVM from mini-os.h, the cross-compile genmdesc.pl can't handle it.

7 years agoMerge pull request #4419 from BrzVlad/fix-oom-nre
Rodrigo Kumpera [Thu, 23 Feb 2017 21:14:23 +0000 (13:14 -0800)]
Merge pull request #4419 from BrzVlad/fix-oom-nre

[sgen] Fix oom nre

7 years ago[linker] Update the mscorlib descriptor with missing generic interfaces.
Zoltan Varga [Thu, 23 Feb 2017 20:37:15 +0000 (15:37 -0500)]
[linker] Update the mscorlib descriptor with missing generic interfaces.

7 years agoUpdate Bockbuild
Alexis Christoforides [Thu, 23 Feb 2017 20:13:05 +0000 (15:13 -0500)]
Update Bockbuild

7 years agoForce LF line endings for .sources and Makefiles too
Alexander Köplinger [Thu, 23 Feb 2017 15:11:40 +0000 (16:11 +0100)]
Force LF line endings for .sources and Makefiles too

This should fix the Windows build.

7 years ago[mcs] Use correct types comparer for comparing hidden imported interface members...
Marek Safar [Thu, 23 Feb 2017 15:09:13 +0000 (16:09 +0100)]
[mcs] Use correct types comparer for comparing hidden imported interface members. Fixes #51522

7 years agoFix Windows build due to line ending changes in sed
Alexander Köplinger [Thu, 23 Feb 2017 13:21:55 +0000 (14:21 +0100)]
Fix Windows build due to line ending changes in sed

The recent sed update in cygwin [1] changed the way sed handles
carriage returns. This meant that every .in file we processed
still contained CR, which doesn't work for .sh files.

Force LF line endings for those files (and also other shell scripts).

[1] https://cygwin.com/ml/cygwin-announce/2017-02/msg00036.html

7 years ago[mcs] Emit leave for redirected jumps out of rewritten finally exit scope. Fixes...
Marek Safar [Thu, 23 Feb 2017 11:29:13 +0000 (12:29 +0100)]
[mcs] Emit leave for redirected jumps out of rewritten finally exit scope. Fixes #52599

7 years ago[System] Tweak socket test
Marek Safar [Thu, 23 Feb 2017 10:33:05 +0000 (11:33 +0100)]
[System] Tweak socket test

7 years agoFixes windows po/ build
Marek Safar [Wed, 22 Feb 2017 16:13:23 +0000 (17:13 +0100)]
Fixes windows po/ build

7 years ago[System] Update flaky test
Marek Safar [Thu, 23 Feb 2017 10:07:12 +0000 (11:07 +0100)]
[System] Update flaky test

7 years ago[System.Data] referencesource -> corefx: ProviderBase & SqlClient stuff (#4383)
Egor Bogatov [Thu, 23 Feb 2017 00:02:54 +0000 (03:02 +0300)]
[System.Data] referencesource -> corefx: ProviderBase & SqlClient stuff (#4383)

* [System.Data] referencesource -> corefx

* [System.Data] referencesource -> corefx

* [System.Data] corefx migration, fix ActivityCorrelator

* [System.Data] use DbProviderFactory, DbConnectionPoolGroupProviderInfo, OperationAbortedException from corefx

7 years ago[sgen] Throw OOM also from the managed allocator
Vlad Brezae [Wed, 22 Feb 2017 23:29:27 +0000 (01:29 +0200)]
[sgen] Throw OOM also from the managed allocator

Allocation functions from object.c correctly throw OOM when sgen allocation returns NULL. When allocating with the managed allocator we invoke sgen directly (as a fallback) and we didn't handle the NULL return case.

Fixes #52437

7 years ago[sgen] Rename confusing variable
Vlad Brezae [Wed, 22 Feb 2017 22:56:29 +0000 (00:56 +0200)]
[sgen] Rename confusing variable

7 years agoMerge pull request #4403 from BrzVlad/fix-workers-par-context
Vlad Brezae [Wed, 22 Feb 2017 22:35:22 +0000 (00:35 +0200)]
Merge pull request #4403 from BrzVlad/fix-workers-par-context

[sgen] Lock around worker start, not only finishing

7 years ago[loader] When loading the parent of a GTD fails. We must disable gclass recording...
Rodrigo Kumpera [Wed, 22 Feb 2017 22:24:28 +0000 (14:24 -0800)]
[loader] When loading the parent of a GTD fails. We must disable gclass recording for it.

mono_class_create_from_typedef: When loading a GTD, we track what ginsts' of it were loaded in the meanwhile
so we can fix some information that will be wrong (such as if it's a VT or not).

Were not stopping the recording when a GTD type failed to load its parent. This would result in *A LOT* of ginsts
being captured and would cause issues during domain unload.

7 years ago[arm] Fix the passing of structs with 8 byte alignment with llvm on armeabi, they...
Zoltan Varga [Wed, 22 Feb 2017 20:06:08 +0000 (15:06 -0500)]
[arm] Fix the passing of structs with 8 byte alignment with llvm on armeabi, they need to be passed as an int64 array to let llvm know that it might need to insert a dummy argument so they are passed in a even register pair. Fixes #52548.

7 years ago[threads] Ensure we have balanced appdomain push/pop when attaching the thread on...
Ludovic Henry [Wed, 22 Feb 2017 19:55:59 +0000 (14:55 -0500)]
[threads] Ensure we have balanced appdomain push/pop when attaching the thread on shutdown (#4416)

7 years agoBump corefx
Marek Safar [Wed, 22 Feb 2017 10:02:09 +0000 (11:02 +0100)]
Bump corefx

7 years ago[runtime] Use TARGET_WIN32 instead of HOST_WIN32 when setting calling conventions...
Zoltan Varga [Wed, 22 Feb 2017 17:49:10 +0000 (12:49 -0500)]
[runtime] Use TARGET_WIN32 instead of HOST_WIN32 when setting calling conventions, so cross compilers running on windows do the right thing. (#4412)

7 years ago[runtime] Fix mono_bitset_count () so it works on win64 as well. (#4413)
Zoltan Varga [Wed, 22 Feb 2017 17:47:47 +0000 (12:47 -0500)]
[runtime] Fix mono_bitset_count () so it works on win64 as well. (#4413)

7 years agoBump ikvm
Marek Safar [Wed, 22 Feb 2017 10:19:49 +0000 (11:19 +0100)]
Bump ikvm

7 years ago[System] Test fix for watch
Marek Safar [Wed, 22 Feb 2017 09:35:08 +0000 (10:35 +0100)]
[System] Test fix for watch

7 years ago[Process] Fix NonChildProcessWaitForExit Exited callback (#4409)
Ludovic Henry [Tue, 21 Feb 2017 23:42:42 +0000 (18:42 -0500)]
[Process] Fix NonChildProcessWaitForExit Exited callback (#4409)

7 years agoUpdate bockbuild
Alexis Christoforides [Tue, 21 Feb 2017 23:21:35 +0000 (18:21 -0500)]
Update bockbuild

7 years agoMerge pull request #4380 from alexanderkyte/conflicting_attrs
Rodrigo Kumpera [Tue, 21 Feb 2017 21:45:51 +0000 (16:45 -0500)]
Merge pull request #4380 from alexanderkyte/conflicting_attrs

[runtime] Fail gracefully when method has conflicting attributes

7 years ago[jit] Remove some dead code.
Zoltan Varga [Tue, 21 Feb 2017 21:04:52 +0000 (16:04 -0500)]
[jit] Remove some dead code.

7 years ago[threadpool] Do not swallow exception in RegisterWaitForSingleObject callback (#4408)
Ludovic Henry [Tue, 21 Feb 2017 20:34:03 +0000 (15:34 -0500)]
[threadpool] Do not swallow exception in RegisterWaitForSingleObject callback (#4408)

7 years agoUpdate bockbuild
Alexis Christoforides [Tue, 21 Feb 2017 19:40:14 +0000 (14:40 -0500)]
Update bockbuild

7 years agoRevert "[configure] Remove mcs endianess check (it shouldn't be needed)"
Marek Safar [Tue, 21 Feb 2017 18:49:47 +0000 (19:49 +0100)]
Revert "[configure] Remove mcs endianess check (it shouldn't be needed)"

This reverts commit 9aa9822808a622648d3235bc931c6ca675cf7bf0.