mono.git
8 years ago[coop] On OSX, set native_handle to the mac port.
Rodrigo Kumpera [Tue, 18 Aug 2015 22:52:10 +0000 (18:52 -0400)]
[coop] On OSX, set native_handle to the mac port.

8 years ago[jit] Print thread information when doing a gdb crash dump
Rodrigo Kumpera [Tue, 18 Aug 2015 22:25:02 +0000 (18:25 -0400)]
[jit] Print thread information when doing a gdb crash dump

8 years ago[build] Add execv to configure.ac, the runtime now needs it.
Rodrigo Kumpera [Tue, 18 Aug 2015 21:42:46 +0000 (17:42 -0400)]
[build] Add execv to configure.ac, the runtime now needs it.

8 years ago[sdb] Fix the handling of strings with embedded null values. Fixes #33066.
Zoltan Varga [Tue, 18 Aug 2015 21:18:25 +0000 (17:18 -0400)]
[sdb] Fix the handling of strings with embedded null values. Fixes #33066.

8 years ago[jit] Emit the results of the jit regressions tests in nunit format only when running...
Zoltan Varga [Tue, 18 Aug 2015 18:44:42 +0000 (14:44 -0400)]
[jit] Emit the results of the jit regressions tests in nunit format only when running under jenkins.

8 years agoMerge pull request #1983 from saper/noeglibstatic
Zoltan Varga [Tue, 18 Aug 2015 18:38:45 +0000 (14:38 -0400)]
Merge pull request #1983 from saper/noeglibstatic

Do not build libeglib-static.a

8 years ago[runtime] Use the thread_get_tid () in more places.
Zoltan Varga [Tue, 18 Aug 2015 18:38:29 +0000 (14:38 -0400)]
[runtime] Use the thread_get_tid () in more places.

8 years agoRevert "[coop] Avoid taking the gc lock when rehashing mono_g_hash tables, its not...
Zoltan Varga [Tue, 18 Aug 2015 18:30:21 +0000 (14:30 -0400)]
Revert "[coop] Avoid taking the gc lock when rehashing mono_g_hash tables, its not needed with the coop gc since the gc cannot preempnt that code."

This reverts commit ab7929448c37a5caa4e2891d10c929b164eaeaba.

Revert this to see if it fixes wrench failures.

8 years ago[WCF]: Fix non-byref parameters; bug #32886.
Martin Baulig [Tue, 18 Aug 2015 14:09:11 +0000 (16:09 +0200)]
[WCF]: Fix non-byref parameters; bug #32886.

(cherry picked from commit 0b1360c8e35f483c69a3bfef8b3c133e4932da9e)

8 years agoImproved TimeZoneInfo.Local.Id
Marcos Henrich [Tue, 18 Aug 2015 16:44:00 +0000 (17:44 +0100)]
Improved TimeZoneInfo.Local.Id

TimeZoneInfo.Local.Id now returns a Olson id when "/etc/localtime" is a
symbolicate link instead of "Local".

Fixes #24958.

8 years agoTest TimeZoneInfo.Local.Id
Marcos Henrich [Tue, 18 Aug 2015 16:39:48 +0000 (17:39 +0100)]
Test TimeZoneInfo.Local.Id

Ideally TimeZoneInfo.Local.Id should not be equal to "Local" when
/etc/localtime is a symbolic link. Covers #24958.

8 years agoMerge pull request #1988 from BillSeurer/master
Zoltan Varga [Tue, 18 Aug 2015 15:20:53 +0000 (11:20 -0400)]
Merge pull request #1988 from BillSeurer/master

[ppc] Basic changes to allow mono to build and run on power BE

8 years ago[ppc] Basic changes to allow mono to build and run on power BE
Bill Seurer [Tue, 18 Aug 2015 14:36:23 +0000 (09:36 -0500)]
[ppc] Basic changes to allow mono to build and run on power BE

8 years ago[tests] Disable a Unix signal test on Android
Marek Habersack [Tue, 18 Aug 2015 12:55:09 +0000 (14:55 +0200)]
[tests] Disable a Unix signal test on Android

The test causes the runtime to silently crash in fashion similar to what
real-time signals do to the runtime (a segfault without a single trace
of a crash, causing the process to just hang)

8 years ago[WindowsBase] Fix PackagePart.GetRelationships for readonly files
ash-lshift [Thu, 4 Sep 2014 13:03:41 +0000 (14:03 +0100)]
[WindowsBase] Fix PackagePart.GetRelationships for readonly files

Do not throw an exception when we are creating the PackageRelationship.
We should only do that if the user tries to add a new one.

Fixes https://bugzilla.novell.com/show_bug.cgi?id=675379

8 years ago[test-suite] Enable sgen test that forgot to be added.
Rodrigo Kumpera [Tue, 18 Aug 2015 06:48:39 +0000 (02:48 -0400)]
[test-suite] Enable sgen test that forgot to be added.

8 years ago[coop] Wrap thread initialization start wait code in a GC safe block.
Rodrigo Kumpera [Tue, 18 Aug 2015 06:39:50 +0000 (02:39 -0400)]
[coop] Wrap thread initialization start wait code in a GC safe block.

This is needed since the starting thread might block in the threads_lock
waiting for a GC to finish before posting to the completed semaphore.

This will cause the thread creating it to block indefinitely.

8 years ago[coop] Code calls into the GC while holding the handles lock. Wrap it around a MONO_T...
Rodrigo Kumpera [Tue, 18 Aug 2015 06:38:35 +0000 (02:38 -0400)]
[coop] Code calls into the GC while holding the handles lock. Wrap it around a MONO_TRY_BLOCKING.

8 years ago[checked-build] Adjust the assertof mono_runtime_class_init.
Rodrigo Kumpera [Mon, 17 Aug 2015 23:56:47 +0000 (19:56 -0400)]
[checked-build] Adjust the assertof mono_runtime_class_init.

8 years ago[coop] mono_thread_info_suspend_lock is a non-leaf lock so we need to checkpoint...
Rodrigo Kumpera [Mon, 17 Aug 2015 23:52:15 +0000 (19:52 -0400)]
[coop] mono_thread_info_suspend_lock is a non-leaf lock so we need to checkpoint around it so it works with coop.

mono_thread_info_suspend_lock is, on first sight, a leaf lock. But since it can suspend a thread that is holding other locks,
it has the same global effect of one.

8 years ago[checked-build] Add a check in mono-hash for the right GC mode.
Rodrigo Kumpera [Tue, 18 Aug 2015 05:19:43 +0000 (01:19 -0400)]
[checked-build] Add a check in mono-hash for the right GC mode.

8 years agoadd some assets to reflection.c
Rodrigo Kumpera [Sun, 16 Aug 2015 05:59:32 +0000 (01:59 -0400)]
add some assets to reflection.c

8 years ago[coop] Mark the locking in mono_thread_info_safe_suspend_and_run () as blocking,...
Zoltan Varga [Mon, 17 Aug 2015 23:32:34 +0000 (19:32 -0400)]
[coop] Mark the locking in mono_thread_info_safe_suspend_and_run () as blocking, it can block during an stw.

8 years ago[coop] Shorten the blocking section in threadpool cleanup.
Zoltan Varga [Mon, 17 Aug 2015 22:35:53 +0000 (18:35 -0400)]
[coop] Shorten the blocking section in threadpool cleanup.

8 years ago[coop] Disable exception checks in mono_threads_state_poll (), it could lead to infin...
Zoltan Varga [Mon, 17 Aug 2015 20:45:19 +0000 (16:45 -0400)]
[coop] Disable exception checks in mono_threads_state_poll (), it could lead to infinite recursion.

8 years ago[lock tracer] Initialize all of frame array
Alexis Christoforides [Sat, 15 Aug 2015 00:57:21 +0000 (20:57 -0400)]
[lock tracer] Initialize all of frame array

8 years ago[coop] Avoid taking the gc lock when rehashing mono_g_hash tables, its not needed...
Zoltan Varga [Mon, 17 Aug 2015 19:21:25 +0000 (15:21 -0400)]
[coop] Avoid taking the gc lock when rehashing mono_g_hash tables, its not needed with the coop gc since the gc cannot preempnt that code.

8 years ago[msvc] Remove 64-bit/SGen build specific DLL export definition file.
triton [Mon, 17 Aug 2015 18:32:33 +0000 (19:32 +0100)]
[msvc] Remove 64-bit/SGen build specific DLL export definition file.

8 years ago[msvc] Update the DLL export definition files.
triton [Mon, 17 Aug 2015 18:31:04 +0000 (19:31 +0100)]
[msvc] Update the DLL export definition files.

8 years ago[runtime] Fixed Valgrind support to compile against Win64.
triton [Mon, 17 Aug 2015 18:30:20 +0000 (19:30 +0100)]
[runtime] Fixed Valgrind support to compile against Win64.

8 years ago[runtime] Fixed sgen_suspend_thread to work with Win64 MonoContext.
triton [Mon, 17 Aug 2015 18:28:44 +0000 (19:28 +0100)]
[runtime] Fixed sgen_suspend_thread to work with Win64 MonoContext.

8 years agoMerge pull request #1967 from D-POWER/master
João Matos [Mon, 17 Aug 2015 17:05:35 +0000 (18:05 +0100)]
Merge pull request #1967 from D-POWER/master

Fixed MSVC solution to compile straight out of the box

8 years ago[system] Keep excluded socket mobile tests in sync
Marek Safar [Mon, 17 Aug 2015 16:46:45 +0000 (18:46 +0200)]
[system] Keep excluded socket mobile tests in sync

8 years ago[corlib] Update incorrect test
Marek Safar [Mon, 17 Aug 2015 14:30:03 +0000 (16:30 +0200)]
[corlib] Update incorrect test

8 years ago[corlib] Propagate captured ExceptionDispatchInfo to user's StackTrace copies. Fixes...
Marek Safar [Mon, 17 Aug 2015 14:25:04 +0000 (16:25 +0200)]
[corlib] Propagate captured ExceptionDispatchInfo to user's StackTrace copies. Fixes #32918

8 years agoMerge pull request #1870 from saper/langinfo_h
Rodrigo Kumpera [Mon, 17 Aug 2015 13:39:49 +0000 (09:39 -0400)]
Merge pull request #1870 from saper/langinfo_h

[eglib] Prefer <langinfo.h> to <localcharset.h>

8 years ago[mcs] Reduced statement expressions can still be used as statements. Fixes #33142
Marek Safar [Mon, 17 Aug 2015 09:42:43 +0000 (11:42 +0200)]
[mcs] Reduced statement expressions can still be used as statements. Fixes #33142

8 years ago[jit] Avoid taking the domain lock in mono_icall_get_wrapper_full (), do most work...
Zoltan Varga [Sun, 16 Aug 2015 23:41:04 +0000 (19:41 -0400)]
[jit] Avoid taking the domain lock in mono_icall_get_wrapper_full (), do most work outside the loader lock.

8 years ago[runtime] Remove unused mono_delegate_section variable.
Zoltan Varga [Sun, 16 Aug 2015 23:32:07 +0000 (19:32 -0400)]
[runtime] Remove unused mono_delegate_section variable.

8 years ago[runtime] Change a few g_assert (foo != NULL) to g_assert (foo).
Zoltan Varga [Sun, 16 Aug 2015 23:22:27 +0000 (19:22 -0400)]
[runtime] Change a few g_assert (foo != NULL) to g_assert (foo).

8 years ago[coop] Make type_initialization_lock () a blocking lock, since some critical sections...
Zoltan Varga [Sun, 16 Aug 2015 21:02:45 +0000 (17:02 -0400)]
[coop] Make type_initialization_lock () a blocking lock, since some critical sections protected by it can block. Reorganize mono_runtime_class_init_full (), avoid putting the majority of the function inside an if.

8 years ago[coop] Make threadpool->active_threads_lock a blocking lock, since some critical...
Zoltan Varga [Sun, 16 Aug 2015 21:01:39 +0000 (17:01 -0400)]
[coop] Make threadpool->active_threads_lock a blocking lock, since some critical sections protected by it can block.

8 years agoMerge pull request #1981 from akoeplinger/ilasm
Zoltan Varga [Sun, 16 Aug 2015 20:42:28 +0000 (16:42 -0400)]
Merge pull request #1981 from akoeplinger/ilasm

[ilasm] Add stubs for the "legacy library" and "auto" keywords in .assembly

8 years agoDo not build libeglib-static.a
Marcin Cieslak [Wed, 17 Jun 2015 11:54:51 +0000 (11:54 +0000)]
Do not build libeglib-static.a

1) libeglib.a is already a static library
2) It is not used anywhere, unlike other lib*-static.a
   libraries in the Mono runtime

8 years ago[ilasm] Add stubs for the "auto" keyword in .assembly
Alexander Köplinger [Sun, 16 Aug 2015 15:58:53 +0000 (17:58 +0200)]
[ilasm] Add stubs for the "auto" keyword in .assembly

Example IL: ".assembly extern mscorlib {auto}"

8 years ago[ilasm] Add stubs for the "legacy library" keyword in .assembly
Alexander Köplinger [Sun, 16 Aug 2015 15:58:53 +0000 (17:58 +0200)]
[ilasm] Add stubs for the "legacy library" keyword in .assembly

Example IL:

".assembly extern legacy library mscorlib {}"
".assembly legacy library test {}"

8 years ago[bcl] Fix test failures in the System.ServiceModel tests after 9ffb681d06858ed5474320...
Zoltan Varga [Sun, 16 Aug 2015 02:26:59 +0000 (22:26 -0400)]
[bcl] Fix test failures in the System.ServiceModel tests after 9ffb681d06858ed5474320ca2e7a82ccf2ce8be3.

8 years agoMerge pull request #1979 from kumpera/conc_fix
Zoltan Varga [Sun, 16 Aug 2015 01:54:56 +0000 (21:54 -0400)]
Merge pull request #1979 from kumpera/conc_fix

[utils] Change mono_conc_hashtable write operations to rely on external locking.

8 years agoMerge pull request #1980 from akoeplinger/fix-monoevent
Zoltan Varga [Sat, 15 Aug 2015 18:21:51 +0000 (14:21 -0400)]
Merge pull request #1980 from akoeplinger/fix-monoevent

[corlib] Implement MonoEvent Module property

8 years ago[corlib] Implement MonoEvent Module property
Alexander Köplinger [Sat, 15 Aug 2015 18:01:31 +0000 (20:01 +0200)]
[corlib] Implement MonoEvent Module property

Add tests for Event-, Method- and ConstructorInfo to verify accessing .Module works (the latter two already worked before this change).

8 years ago[utils] Change mono_conc_hashtable write operations to rely on external locking.
Rodrigo Kumpera [Fri, 14 Aug 2015 23:20:37 +0000 (19:20 -0400)]
[utils] Change mono_conc_hashtable write operations to rely on external locking.

The original design was to pass a lock to the mono_conc_hashtable constructor and
then the write operations would do locking themselves.

That turned out to be a problem for two reasons:

First, it hidden the fact that locking was happening. Every other data structure in
the runtime rely on the caller to perform locking - thus that design ended up been
a lie.

Second, under coop, taking the lock became a problem as leak locks should be taken
in GC Safe mode and other locks should be taken under GC Unsafe mode. Taking a lock
in the wrong GC mode makes the suspend watchdog bark really loudly.

The runtime, funny enough has 2 usages of the conc hashtable, one with the image lock
and one with the domain lock - and each must be taken in a different GC mode. That
meant that either overcomplicating the design, or just removing locking from it.

This commit does that. It removes the mutex from mono_conc_hashtable and hoist locking
around the calls that used to do it.

8 years ago[jit] Reorganize the code in mini.c to reduce the number of DISABLE_JIT blocks.
Zoltan Varga [Sat, 15 Aug 2015 04:37:12 +0000 (00:37 -0400)]
[jit] Reorganize the code in mini.c to reduce the number of DISABLE_JIT blocks.

8 years ago[jit] Remove some dead code.
Zoltan Varga [Sat, 15 Aug 2015 03:12:03 +0000 (23:12 -0400)]
[jit] Remove some dead code.

8 years ago[sdb] Document the locks protecting various data structures.
Zoltan Varga [Sat, 15 Aug 2015 03:02:53 +0000 (23:02 -0400)]
[sdb] Document the locks protecting various data structures.

8 years ago[sdb] Simplify the locking in set_breakpoint() a bit.
Zoltan Varga [Sat, 15 Aug 2015 02:55:58 +0000 (22:55 -0400)]
[sdb] Simplify the locking in set_breakpoint() a bit.

8 years ago[sdb] Revert 6f41607cc3b9c34e54716efe35d22d31132545d9, simplify the code inside the...
Zoltan Varga [Sat, 15 Aug 2015 02:50:57 +0000 (22:50 -0400)]
[sdb] Revert 6f41607cc3b9c34e54716efe35d22d31132545d9, simplify the code inside the domain lock instead.

8 years ago[sdb] Protect MonoJitDomainInfo->seq_points by the loader lock instead of the domain...
Zoltan Varga [Sat, 15 Aug 2015 02:24:58 +0000 (22:24 -0400)]
[sdb] Protect MonoJitDomainInfo->seq_points by the loader lock instead of the domain dock, since accesses to it from sdb are not simple code paths.

8 years ago[sdb] Make the locking simpler and finer grained.
Zoltan Varga [Sat, 15 Aug 2015 02:10:21 +0000 (22:10 -0400)]
[sdb] Make the locking simpler and finer grained.

8 years ago[runtime] Initialize the class name cache using double checked locking.
Zoltan Varga [Fri, 14 Aug 2015 23:02:24 +0000 (19:02 -0400)]
[runtime] Initialize the class name cache using double checked locking.

8 years ago[gsharedvt] Don't pass non-variable size gsharedvt types by ref. Fixes #32931.
Zoltan Varga [Fri, 14 Aug 2015 22:47:55 +0000 (18:47 -0400)]
[gsharedvt] Don't pass non-variable size gsharedvt types by ref. Fixes #32931.

8 years ago[jit] Fix a crash by using mono_field_get_type () instead of accessing field->type...
Zoltan Varga [Fri, 14 Aug 2015 22:36:47 +0000 (18:36 -0400)]
[jit] Fix a crash by using mono_field_get_type () instead of accessing field->type directly. Fixes #32907.

8 years ago[coop] Fix ves_icall_System_IO_MonoIO_GetFileSystemEntries.
Rodrigo Kumpera [Fri, 14 Aug 2015 06:28:09 +0000 (02:28 -0400)]
[coop] Fix ves_icall_System_IO_MonoIO_GetFileSystemEntries.

We were calling mono_string_to_utf8 while in GC safe mode.

It's technically ok'ish to do it as it will probably be pinned by the called, but
we're better off by reducing the surface as much as we can.

8 years ago[coop] Fix crasher during shutdown initialization.
Rodrigo Kumpera [Fri, 14 Aug 2015 01:55:27 +0000 (21:55 -0400)]
[coop] Fix crasher during shutdown initialization.

Make it possible to suspend the main thread when starting the shutdown of the thread pool.

The problem is that cleanup can take an unbound amount of time.

8 years ago[coop] Add a workaround in mono_marshal_get_thunk_invoke_wrapper.
Rodrigo Kumpera [Thu, 13 Aug 2015 05:54:59 +0000 (01:54 -0400)]
[coop] Add a workaround in mono_marshal_get_thunk_invoke_wrapper.

This is a workaround until we figure out what to do with the embedding API.

We ensure we transition the executed managed code into unsafe mode.

Maybe the right call would be to assert if the caller is not already on it, but that's too soon of a decision to make.

8 years ago[coop] Fix coop support for mono_method_get_unmanaged_thunk.
Rodrigo Kumpera [Thu, 13 Aug 2015 04:18:26 +0000 (00:18 -0400)]
[coop] Fix coop support for mono_method_get_unmanaged_thunk.

Ensure we create the wrapper in GC Unsafe mode, which is the default one for runtime code.

8 years ago[checked-build] Annotate object.c with GC state asserts.
Rodrigo Kumpera [Thu, 13 Aug 2015 04:18:01 +0000 (00:18 -0400)]
[checked-build] Annotate object.c with GC state asserts.

8 years ago[coop] Add performance counters for frequent transitions.
Rodrigo Kumpera [Fri, 14 Aug 2015 18:50:35 +0000 (14:50 -0400)]
[coop] Add performance counters for frequent transitions.

8 years ago[checked-build] Initial implementation of checked build asserts.
Rodrigo Kumpera [Tue, 11 Aug 2015 20:53:24 +0000 (16:53 -0400)]
[checked-build] Initial implementation of checked build asserts.

To enable checked builds pass --with-checked-build=yes to autogen/configure.

The current set of checked build macros verify the GC state on function entry.

8 years ago[threads] Add function to stringify thread state names.
Rodrigo Kumpera [Wed, 12 Aug 2015 05:31:44 +0000 (01:31 -0400)]
[threads] Add function to stringify thread state names.

8 years ago[coop] Make state-machine asserts print the tid as it's the same used by other parts...
Rodrigo Kumpera [Tue, 11 Aug 2015 21:55:32 +0000 (17:55 -0400)]
[coop] Make state-machine asserts print the tid as it's the same used by other parts of the runtime.

8 years ago[arm] Add support for split reg-stack argument passing to the dyn call code. Fixes...
Zoltan Varga [Fri, 14 Aug 2015 18:05:24 +0000 (14:05 -0400)]
[arm] Add support for split reg-stack argument passing to the dyn call code. Fixes #33080.

8 years agoFix configure.ac to detect WatchOS and define TARGET_WATCHOS.
Rolf Bjarne Kvinge [Fri, 14 Aug 2015 15:38:21 +0000 (17:38 +0200)]
Fix configure.ac to detect WatchOS and define TARGET_WATCHOS.

8 years agoMerge pull request #1972 from esdrubal/proc_pidpath
Marcos Henrich [Fri, 14 Aug 2015 09:08:23 +0000 (10:08 +0100)]
Merge pull request #1972 from esdrubal/proc_pidpath

[runtime] GetModuleFileNameEx

8 years agoMerge pull request #1975 from alexrp/profiler-gch-bt
Alex Rønne Petersen [Fri, 14 Aug 2015 08:44:56 +0000 (10:44 +0200)]
Merge pull request #1975 from alexrp/profiler-gch-bt

[profiler] Add GC handle events with backtraces.

8 years ago[tests] Remove CWL from test catch clause as it can be confused with a real error...
Sebastien Pouliot [Thu, 13 Aug 2015 20:43:00 +0000 (16:43 -0400)]
[tests] Remove CWL from test catch clause as it can be confused with a real error [#32593]

8 years ago[referencesource] Import System.Math
Ludovic Henry [Mon, 25 May 2015 14:12:32 +0000 (11:12 -0300)]
[referencesource] Import System.Math

8 years agoAdd specific configure option to enable the WatchOS BCL libraries.
Rolf Bjarne Kvinge [Thu, 13 Aug 2015 15:31:34 +0000 (17:31 +0200)]
Add specific configure option to enable the WatchOS BCL libraries.

8 years agoBuild an initial version of System.Net.Http.dll for monotouch as part of the regular...
Rolf Bjarne Kvinge [Thu, 13 Aug 2015 09:13:53 +0000 (11:13 +0200)]
Build an initial version of System.Net.Http.dll for monotouch as part of the regular BCL build.

We have Facade assemblies that depend on System.Net.Http.dll to exist, so
we can't delay building it (at least one version of it).

8 years agoAdded support for WatchOS's armv7k to configure.ac.
João Matos [Thu, 13 Aug 2015 15:07:17 +0000 (16:07 +0100)]
Added support for WatchOS's armv7k to configure.ac.

8 years agoPosix RTS test fixes and Android compatibility
Marek Habersack [Mon, 3 Aug 2015 14:48:25 +0000 (10:48 -0400)]
Posix RTS test fixes and Android compatibility

Android's libc (bionic) defines the _GNU_SOURCE macro but fails to adhere
to the GNU sematics in (at least) one case - the strerror_r function.
The function follows XSI semantics instead of the GNU one which caused our
code to segfault on Android. This patch special-cases Android to use the XSI
semantics for strerror_r. This un-breaks some POSX real-time singals tests.

It also makes provisions for detecting whether the real-time signals are safe
to use on the current platform. They are safe for all platforms desktop Mono
runs on, but they're not safe on most Android platforms.

8 years ago[corlib] Remove unused code
Marek Safar [Thu, 13 Aug 2015 09:17:25 +0000 (11:17 +0200)]
[corlib] Remove unused code

8 years ago[profiler] Add GC handle events with backtraces.
Alex Rønne Petersen [Wed, 12 Aug 2015 06:20:39 +0000 (08:20 +0200)]
[profiler] Add GC handle events with backtraces.

8 years ago[profiler] Remove CodeAnalyst profiler module.
Alex Rønne Petersen [Wed, 12 Aug 2015 04:28:16 +0000 (06:28 +0200)]
[profiler] Remove CodeAnalyst profiler module.

This product has been discontinued by AMD and we don't even have support for
building this profiler module in the build system anyway; chances are pretty
good that bitrot has set in.

8 years ago[jit] Add another suspend check to the JIT.
Zoltan Varga [Wed, 12 Aug 2015 02:26:56 +0000 (22:26 -0400)]
[jit] Add another suspend check to the JIT.

8 years ago[jit] Avoid asserts during stack walks if the thread is not attached.
Zoltan Varga [Wed, 12 Aug 2015 01:49:45 +0000 (21:49 -0400)]
[jit] Avoid asserts during stack walks if the thread is not attached.

8 years ago[runtime] Make sure Monitor.Enter () is always inlined since it consists only of...
Zoltan Varga [Wed, 12 Aug 2015 01:11:40 +0000 (21:11 -0400)]
[runtime] Make sure Monitor.Enter () is always inlined since it consists only of a call to an icall.

8 years ago[aot] Fix the calculate of the llvm code range for aot image with only 1 llvm method.
Zoltan Varga [Tue, 11 Aug 2015 19:54:07 +0000 (15:54 -0400)]
[aot] Fix the calculate of the llvm code range for aot image with only 1 llvm method.

8 years agoUn-revoke fix in BNC#144655 - mono-find-provides should ONLY work on GAC libraries...
Jo Shields [Tue, 11 Aug 2015 18:41:23 +0000 (19:41 +0100)]
Un-revoke fix in BNC#144655 - mono-find-provides should ONLY work on GAC libraries, and any packages which break on this behaviour should be fixed - rather than generating utterly broken Provides.

(cherry picked from commit 1f4133a06f252ec1b78637dd91e49f50836cf570)

8 years ago[runtime] Move the kevent() calls from KeventWatcher to the runtime, add support...
Zoltan Varga [Tue, 11 Aug 2015 18:37:47 +0000 (14:37 -0400)]
[runtime] Move the kevent() calls from KeventWatcher to the runtime, add support for interrupts.

8 years agoMerge pull request #1973 from rolfbjarne/bug32947
Ludovic Henry [Tue, 11 Aug 2015 17:20:36 +0000 (14:20 -0300)]
Merge pull request #1973 from rolfbjarne/bug32947

[threadpool-ms-io] Remove unnecessary asserts. Fixes #32947.

8 years ago[threadpool-ms-io] Remove unnecessary asserts. Fixes #32947.
Rolf Bjarne Kvinge [Tue, 11 Aug 2015 13:07:10 +0000 (15:07 +0200)]
[threadpool-ms-io] Remove unnecessary asserts. Fixes #32947.

Neither is_socket_async_callback nor is_async_read_handler need to
actually successfully load the classes they're comparing against;
if the classes can't be loaded, then the input class is obviously
not of that class.

This occurs when mscorlib is linked, the classes to compare against
might be linked away.

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

8 years ago[runtime] GetModuleFileNameEx
Marcos Henrich [Tue, 11 Aug 2015 11:51:12 +0000 (12:51 +0100)]
[runtime] GetModuleFileNameEx

GetModuleFileNameEx now returns a full path instead of the process name.
Fixes #32579

8 years agoMerge pull request #1952 from esdrubal/proc_name
Marcos Henrich [Tue, 11 Aug 2015 12:10:27 +0000 (13:10 +0100)]
Merge pull request #1952 from esdrubal/proc_name

Fixes process names trimmed to 15 chars.

8 years ago[coop] Handle blocking in parked threads correctly.
Zoltan Varga [Tue, 11 Aug 2015 03:20:43 +0000 (23:20 -0400)]
[coop] Handle blocking in parked threads correctly.

8 years ago[runtime] Add a missing MONO_FINISH_BLOCKING to ves_icall_System_Net_Dns_GetHostByNam...
Zoltan Varga [Tue, 11 Aug 2015 02:20:10 +0000 (22:20 -0400)]
[runtime] Add a missing MONO_FINISH_BLOCKING to ves_icall_System_Net_Dns_GetHostByName_internal.

8 years ago[jit] Emit the seq point for filter clauses after the op_get_exc instruction.
Zoltan Varga [Tue, 11 Aug 2015 00:55:32 +0000 (20:55 -0400)]
[jit] Emit the seq point for filter clauses after the op_get_exc instruction.

8 years agoRevert "[runtime] Move the kevent() calls from KeventWatcher to the runtime, add...
Zoltan Varga [Mon, 10 Aug 2015 19:51:39 +0000 (15:51 -0400)]
Revert "[runtime] Move the kevent() calls from KeventWatcher to the runtime, add support for interrupts."

This reverts commit 7f4428165809bed674697d482f76c7e9446bae4e.

Revert this as icalls don't marshal kevent structures correctly.

8 years ago[runtime] Remove some debug printfs.
Zoltan Varga [Mon, 10 Aug 2015 19:25:03 +0000 (15:25 -0400)]
[runtime] Remove some debug printfs.

8 years ago[coop] Fix a crash introduced by edb4d8f3faef5f5d0ad3fc639d58b4d490c82c94, some wrapp...
Zoltan Varga [Mon, 10 Aug 2015 18:33:30 +0000 (14:33 -0400)]
[coop] Fix a crash introduced by edb4d8f3faef5f5d0ad3fc639d58b4d490c82c94, some wrappers don't have wrapper infos.

8 years ago[runtime] Move the kevent() calls from KeventWatcher to the runtime, add support...
Zoltan Varga [Mon, 10 Aug 2015 18:32:37 +0000 (14:32 -0400)]
[runtime] Move the kevent() calls from KeventWatcher to the runtime, add support for interrupts.