Rolf Bjarne Kvinge [Fri, 15 Apr 2016 15:38:01 +0000 (17:38 +0200)]
[mono-api-html] Fix path in csproj.
Marek Safar [Fri, 15 Apr 2016 15:28:19 +0000 (17:28 +0200)]
[mcs] Better error message for conflict of types with the same name
monojenkins [Fri, 15 Apr 2016 12:41:00 +0000 (13:41 +0100)]
Merge pull request #2887 from lewurm/fix-jit-pass-name
[jit] fix stats name for method_to_ir pass
we settled for underscores
@monojenkins merge.
Alexander Köplinger [Fri, 15 Apr 2016 11:49:53 +0000 (13:49 +0200)]
Merge pull request #2885 from ntherning/fix_test_op_il_seq_point_sh_on_cygwin_2_4_1
Fixes for 'make check-seq-points' on Cygwin
Rodrigo Kumpera [Fri, 15 Apr 2016 09:11:46 +0000 (02:11 -0700)]
Merge pull request #2878 from kumpera/mach_fixes
Add retry logic to mach function calls.
Marek Safar [Fri, 15 Apr 2016 08:41:05 +0000 (10:41 +0200)]
[mcs] No optional parameters tie breaking rules for delegates overload resolution
Alexander Köplinger [Fri, 15 Apr 2016 00:53:49 +0000 (02:53 +0200)]
[corlib] Fix CspParametersTest.Ctor test
This essentially reapplies
ae2f50e57fb39a005a80303d21a956e89ec36a8b which was inadvertently changed back in
27f07c8095e50cc8be3c5155fcc929a119267db0.
It started failing again after
255ce320b0da31b6e50cef084a4079039ccb39d6 reapplied a fix that was also inadvertently removed (https://github.com/mono/referencesource/commit/
8c7937a9e7cc3f61f9ceb6a9d6f19fefdf1672b0).
Bernhard Urban [Thu, 14 Apr 2016 21:14:45 +0000 (14:14 -0700)]
[jit] fix stats name for method_to_ir pass
we settled for underscores
Zoltan Varga [Thu, 14 Apr 2016 20:39:23 +0000 (16:39 -0400)]
[aot] Enable gsharedvt by default only when using --aot=full or --aot==llvmonly.
Alexander Köplinger [Thu, 14 Apr 2016 20:28:20 +0000 (22:28 +0200)]
Merge pull request #2888 from xmcclure/serialize-exception-bump
Bump corlib version number following PR#2875
Andi McClure [Thu, 14 Apr 2016 20:26:39 +0000 (16:26 -0400)]
Bump corlib version number following PR#2875
Andi McClure [Thu, 14 Apr 2016 20:18:00 +0000 (16:18 -0400)]
Merge pull request #2875 from xmcclure/serialize-exception
Support SerializeObjectState for System.Exception (bug #39824)
Alexis Christoforides [Thu, 14 Apr 2016 19:41:32 +0000 (15:41 -0400)]
Bump to include referencesource/
8c7937a9e7cc3f61f9ceb6a9d6f19fefdf1672b0. Fixes #38712
monojenkins [Thu, 14 Apr 2016 19:15:35 +0000 (20:15 +0100)]
Merge pull request #2803 from BrzVlad/feature-conc-pinned-scan
[sgen] Scan pinned objects in nursery as part of concurrent mark
Objects pinned in the nursery can hide behind them a large graph of objects in the heap which is never scanned because we don't follow references in the nursery. After precleaning, we scan the latest set of pinned objects (while locking in order to make sure that the set doesn't change, so none are moved).
Rodrigo Kumpera [Thu, 14 Apr 2016 00:04:05 +0000 (17:04 -0700)]
[MACH] Add retry logic to all mach api calls in the case of interruption.
One overlooked aspect of mach is that its calls are interruptible and
we never really accounted for that.
This problem turned up when sampling at high frequency as they would
start to randomly fail.
Rodrigo Kumpera [Thu, 14 Apr 2016 00:02:41 +0000 (17:02 -0700)]
[OSX] Drop more support for OSX 10.5 and earlier.
10.5 is ancient enough at this point. Remove code dealing with the exception server
that is not needed after it.
Niklas Therning [Thu, 14 Apr 2016 15:36:30 +0000 (17:36 +0200)]
Renamed SEP variable to PLATFORM_PATH_SEPARATOR.
Niklas Therning [Thu, 14 Apr 2016 14:36:27 +0000 (16:36 +0200)]
* Fixes 'diff: /dev/fd/63: Not a directory' errors when running
'make check-seq-points' on Cygwin 2.4.1 64-bit.
* Added removal of *.exe.dll to the clean_aot() function to delete AOT output
from previous 'make check-seq-points' runs.
* Use ';'' as separator in MONO_PATH if running under Cygwin rather than ':'.
Vlad Brezae [Wed, 23 Mar 2016 19:16:34 +0000 (21:16 +0200)]
[sgen] Scan pinned objects in nursery as part of concurrent mark
Objects pinned in the nursery can hide behind them a large graph of objects in the heap which is never scanned because we don't follow references in the nursery. After precleaning, we scan the latest set of pinned objects (while locking in order to make sure that the set doesn't change, so none are moved).
Alexander Köplinger [Thu, 14 Apr 2016 14:00:31 +0000 (16:00 +0200)]
Fix the referencesource submodule commit
Alexander Köplinger [Thu, 14 Apr 2016 13:58:31 +0000 (15:58 +0200)]
Merge pull request #2884 from ludovic-henry/fix-process-hasexited
[Process] Fix HasExited for non-child process
Ludovic Henry [Thu, 14 Apr 2016 09:53:56 +0000 (11:53 +0200)]
[Process] Fix HasExited for non-child process
NativeMethods.GetExitCodeProcess would inherently be broken on Unix platforms for non-child processes as it can't succesfully get the exit code. This would in turn break Process.HasExited, which should not break, as it is possible to check if a non-child process is alive or dead.
Ludovic Henry [Thu, 14 Apr 2016 09:53:13 +0000 (11:53 +0200)]
[Process] Set haveProcessHandle to true when setting m_processHandle
Jo Shields [Thu, 14 Apr 2016 08:40:29 +0000 (09:40 +0100)]
Revert "Fix missing CommonCrypto/Makefile.include in "make dist" tarballs"
Needed due to Marek's CommonCrypto changes
This reverts commit
c0ea8090525213e5236568f1ae494fac17fdd27b.
Marek Safar [Thu, 14 Apr 2016 06:30:22 +0000 (08:30 +0200)]
Revert "Revert "[Mono.Security] Fixes wrong path in makefile""
This reverts commit
b0c6a92785e5590af777a29600130ff5adb27e30.
Marek Safar [Thu, 14 Apr 2016 06:13:47 +0000 (08:13 +0200)]
Revert "Revert "[build] Clean up common crypto build""
This reverts commit
ba9d141ed8b7680d812e54f5db8adf19e1a3d4f4.
Marek Safar [Thu, 14 Apr 2016 06:06:56 +0000 (08:06 +0200)]
[Mono.Security] Fixes build
Daniel Becker [Thu, 14 Apr 2016 02:53:34 +0000 (19:53 -0700)]
use native realpath() function (#2877)
Instead of opening a file for the sole purpose of calling
F_GETPATH on the resulting descriptor, we can just use the
native realpath() function; as a side benefit, this also works
on *BSD where F_GETPATH isn't supported.
monojenkins [Thu, 14 Apr 2016 02:15:22 +0000 (03:15 +0100)]
Merge pull request #2879 from lewurm/undo-breaking-changes
Undo breaking changes
@monojenkins merge
Bernhard Urban [Thu, 14 Apr 2016 00:21:57 +0000 (17:21 -0700)]
Revert "[build] Clean up common crypto build"
This reverts commit
ecd2f512ced44cd6c6e48594aa27435d0e64eecc.
Bernhard Urban [Thu, 14 Apr 2016 00:20:29 +0000 (17:20 -0700)]
Revert "[Mono.Security] Fixes wrong path in makefile"
This reverts commit
90611f918522633f3d88aff0d54980c6f275f0f6.
Andi McClure [Wed, 13 Apr 2016 22:36:08 +0000 (18:36 -0400)]
Support SerializeObjectState for System.Exception (bug #39824)
Per current .NET, exception serialization may be implemented using the
SerializeObjectState event. Use of this approach is mandatory for
certain classes, such as HttpRequestException subclasses. Mono does
not support it. The solution is to switch out our System.Exception
implementation for the referencesource one.
To accommodate this, classes that access System.Exception internal
fields directly must switch to the new field names; a new support
method is added to System.Environment; the "security level" methods
and icall are added to MonoCMethods; and the field order in
_MonoException must be adjusted. A new test is also added in the
System.Runtime.Serialization assembly.
Zoltan Varga [Wed, 13 Apr 2016 20:28:14 +0000 (16:28 -0400)]
[arm] Use a direct branch in the krait workaround to avoid clang generating extra code and moving it before the inline assembly block. Fixes #40239.
Alexander Köplinger [Wed, 13 Apr 2016 16:58:43 +0000 (18:58 +0200)]
Move remaining System.Net.Http pieces from mono-extensions to mono
Discussed with @rolfbjarne, these were missed in the initial import of the mono-extension sources.
monojenkins [Wed, 13 Apr 2016 16:35:31 +0000 (17:35 +0100)]
Merge pull request #2874 from lateralusX/jlorenss/win-x64-support
jlorenss/win x64 support
Initial fixes needed in order to get pass on mono regression tests for windows x64 visual studio build,
--regression basic.exe basic-float.exe basic-long.exe basic-calls.exe objects.exe arrays.exe basic-math.exe exceptions.exe iltests.exe devirtualization.exe generics.exe basic-simd.exe
Before fixes there were failures in basic.exe, exceptions.exe and objects.exe for windows x64 Visual studio build.
Failures in basic.exe and exceptions.exe was due to a mix up of signal defines on windows platform in Visual Studio build where SIGILL and SIGFPE was defined differently in different source files causing incorrect signal handler to be invoked at runtime, causing incorrect thrown .NET exception. Fix is to make sure signal.h is always included giving the same value for SIGILl and SIGFPE over all source files.
Failures in objects.exe test_0_mul_ovf_regress_36052 caused a stack overflow crash when running togehter with branch optimization mode. This was due to incorrect lowering of x64 test instruction when optimization moved over to use R8 instead of RAX and current lowering didn't handle that correctly meaning that the actual test was performed against wrong register causing a loop that caused a stack overflow error. The specific amd64 codegen , amd64_test_reg_imm, is currently only used on x64 windows platform for the stackalloc call.
Marek Safar [Wed, 13 Apr 2016 16:18:37 +0000 (18:18 +0200)]
[Mono.Security] Fixes wrong path in makefile
Marek Safar [Wed, 13 Apr 2016 15:46:25 +0000 (17:46 +0200)]
[build] Clean up common crypto build
Martin Baulig [Wed, 13 Apr 2016 14:21:29 +0000 (16:21 +0200)]
Update X509CertificateImplApple.
Martin Baulig [Wed, 13 Apr 2016 13:45:42 +0000 (15:45 +0200)]
[corlib]: Add X509CertificateImpl.GetNativeAppleCertificate().
In SSCX.OSX509Certificates.GetCertificate(), we cannot simply use
'X509Certificate.Handle' because it may point to something that's
not a SecCertificate.
(cherry picked from commit
3fc068f7e283a3d7e2e78ff2d0e3cec492c87cc6)
Vlad Brezae [Wed, 13 Apr 2016 08:51:25 +0000 (16:51 +0800)]
Merge pull request #2800 from BrzVlad/feature-lazy-sweep
[sgen] Enable lazy sweep by default
Vlad Brezae [Thu, 10 Mar 2016 18:16:52 +0000 (20:16 +0200)]
[sgen] Enable lazy sweep by default
Vlad Brezae [Thu, 10 Mar 2016 16:59:20 +0000 (18:59 +0200)]
[sgen] Concurrently sweep blocks also in the lazy sweep case
In the lazy sweep case, the sweep job doesn't sweep the blocks. Instead, the blocks are swept when they are actually needed (when we want to allocate in the block, scan the block etc.). This delays the mutator or increases the nursery pauses. Try to sweep as many blocks as possible concurrently, immediately after we finish the sweep job.
Vlad Brezae [Tue, 12 Apr 2016 21:32:39 +0000 (05:32 +0800)]
Merge pull request #2822 from BrzVlad/feature-lshift-decomposition
[jit] Decompose long immediate shifts
Marek Safar [Tue, 12 Apr 2016 14:44:58 +0000 (16:44 +0200)]
[corlib] Handle CreateDirectory with relative paths. Fixes #40187
Marek Safar [Tue, 12 Apr 2016 14:10:17 +0000 (16:10 +0200)]
Bump reference source
Alex Rønne Petersen [Tue, 12 Apr 2016 13:31:31 +0000 (15:31 +0200)]
Merge pull request #2872 from alexrp/timer-dispose2-test
[corlib] Fix TimerTest.TestDispose2 () test.
Marek Safar [Tue, 12 Apr 2016 13:17:53 +0000 (15:17 +0200)]
[corlib] SymbolType from reference source. Fixes #39911
lateralusX [Tue, 12 Apr 2016 09:25:51 +0000 (11:25 +0200)]
Fixed incorrect lowering on x64 for test instruction when register r8-r15 where used.
Currently only triggered by objects.exe regression test on windows x64 with branch opt, since stackalloc gets lowered to this test and branch will start using R8 instead of RAX for the test.
lateralusX [Tue, 12 Apr 2016 09:25:02 +0000 (11:25 +0200)]
Fixed issue on x64 windows Visual Studio builds where signal define values got mixedup.
Caused incorrect exception behavior and failures in basic.exe, exceptions.exe regression test on x64 windows. This was due to the fact that some source files didn't include signal.h while others did. In case where signal.h was not included incompatible defines were used for SIGILL and SIGFPE in mini-amd64.h.
Marek Safar [Tue, 12 Apr 2016 09:29:38 +0000 (11:29 +0200)]
Bump referencesource
Alex Rønne Petersen [Tue, 12 Apr 2016 05:01:01 +0000 (07:01 +0200)]
[corlib] Fix TimerTest.TestDispose2 () test.
monojenkins [Tue, 12 Apr 2016 03:45:27 +0000 (04:45 +0100)]
Merge pull request #2870 from madewokherd/arginfo
x86 cleanups for register arguments
Best I can tell, cinfo->args and cfg->args need to be independent before implementing calling conventions where some arguments are in registers, at least if we want to do it cleanly. Also, storing the argument offset in a cfg->args instruction that claims to be for a register seems hacky and confusing to me.
Vlad Brezae [Mon, 11 Apr 2016 23:26:52 +0000 (02:26 +0300)]
[sgen] Fix compare function
Zoltan Varga [Mon, 11 Apr 2016 22:44:51 +0000 (18:44 -0400)]
[runtime] Avoid printing out the corlib version when running -v --version, it requires a working runtime. Fixes #40175.
Zoltan Varga [Mon, 11 Apr 2016 22:33:25 +0000 (18:33 -0400)]
[runtime] Fix the build of cominterop.c with DISABLE_JIT.
Vlad Brezae [Mon, 11 Apr 2016 20:38:19 +0000 (04:38 +0800)]
Merge pull request #2802 from BrzVlad/feature-evacuation-opt2
[sgen] Reduce number of evacuated objects
Vincent Povirk [Mon, 11 Apr 2016 19:16:05 +0000 (14:16 -0500)]
[x86] Don't use the inst_offset field of OP_REGVAR arguments.
Vincent Povirk [Mon, 11 Apr 2016 19:15:20 +0000 (14:15 -0500)]
[x86] Store CallInfo in MonoCompileArch structure.
Marek Safar [Mon, 11 Apr 2016 18:35:31 +0000 (20:35 +0200)]
[build] Remove unused lib paths
Marek Safar [Mon, 11 Apr 2016 18:33:47 +0000 (20:33 +0200)]
[mcs] Dynamic context in constructor initializers or field initializers is static. Fixes #40088
Vlad Brezae [Mon, 11 Apr 2016 16:23:50 +0000 (00:23 +0800)]
Merge pull request #2819 from BrzVlad/fix-major-log
[sgen] Fix major size logging
Vlad Brezae [Wed, 10 Feb 2016 09:55:17 +0000 (11:55 +0200)]
[jit] Decompose long immediate shifts
We decompose them as part of the cprop pass to handle more immediates and to further propagate copies.
The native backend of some architectures (for example x86) may support long shifts with specialized instructions. Even there, this still makes immediate shifts 2 times faster because long ops are poorly handled by the jit.
On arm, where we were emulating, this makes long immediate shifts 3-5 times faster.
monojenkins [Mon, 11 Apr 2016 16:15:24 +0000 (17:15 +0100)]
Merge pull request #2867 from alexrp/sgen-block-size-ppc
[sgen] Set ARCH_MIN_MS_BLOCK_SIZE to 64k on both ppc32 and ppc64.
This fixes a problem that was happening on Debian ppc32 build machines. Since
they are set up as a 32-bit userland on a 64-bit kernel, Mono would be compiled
with an ARCH_MIN_MS_BLOCK_SIZE value of 16k. However, at runtime, the system
page size would be 64k (due to the 64-bit kernel with PPC_64K_PAGES set).
Signed-off-by: `Alex Rønne Petersen <alexrp@xamarin.com>`
Alex Rønne Petersen [Mon, 11 Apr 2016 16:12:09 +0000 (18:12 +0200)]
Merge pull request #2866 from alexrp/solaris-10-tls
[configure] Use __thread instead of pthread TLS on Solaris/x86.
Marek Safar [Mon, 11 Apr 2016 15:59:17 +0000 (17:59 +0200)]
[mcs] Use Array.Empty for empty arrays when available
Marek Safar [Mon, 11 Apr 2016 14:11:34 +0000 (16:11 +0200)]
[mcs] Tie-breaking rules are applied also for non-equivalent parameter types. Fixess #40183
Marek Safar [Sat, 9 Apr 2016 14:34:56 +0000 (16:34 +0200)]
[mcs] Add tie breaking rule when candidate is in expanded form only and best has default arguments
monojenkins [Mon, 11 Apr 2016 15:50:26 +0000 (16:50 +0100)]
Merge pull request #2868 from akoeplinger/maccore-fixes
[metadata] Ifdef out an icall that is not available in the DISABLE_REFLECTION_EMIT case
It caused errors like the following on the maccore builds:
```
CCLD libmonosgen-2.0.la
Undefined symbols for architecture armv7k:
"_mono_reflection_get_custom_attrs_blob_checked", referenced from:
_ves_icall_System_Reflection_Emit_CustomAttributeBuilder_GetBlob in libmonoruntimesgen.a(libmonoruntimesgen_la-icall.o)
ld: symbol(s) not found for architecture armv7k
```
---
This is the last patch required for getting maccore master to build again with mono master.
@monojenkins merge
Miguel de Icaza [Mon, 11 Apr 2016 14:42:51 +0000 (10:42 -0400)]
Compiler-less mkbundle support in Mono.
This is the support that makes it so that mkbundle can create self-contained executables without requiring a native toolchain to be present. Also is the foundation to allow cross-compilation of self-contained executables.
This works by concatenating the runtime with the various dependencies and configuration files, attaching a directory at the end of the file and a signature to flag this as a runtime that has embedded resources in the executable file itself.
This works by modifying the runtime startup to check for a special signature at the end of the main executable, if it is not present, execution resumes as usual. Otherwise a directory is read from the end of the file which contains both the kind of file (assembly, configuration file, and so on), as well as pointer to the contents in the file. Then the regular Mono APIs to load resources are used to load these.This is the support that makes it so that mkbundle can create self-contained executables without requiring a native toolchain to be present. Also is the foundation to allow cross-compilation of self-contained executables.
This works by concatenating the runtime with the various dependencies and configuration files, attaching a directory at the end of the file and a signature to flag this as a runtime that has embedded resources in the executable file itself.
This works by modifying the runtime startup to check for a special signature at the end of the main executable, if it is not present, execution resumes as usual. Otherwise a directory is read from the end of the file which contains both the kind of file (assembly, configuration file, and so on), as well as pointer to the contents in the file. Then the regular Mono APIs to load resources are used to load these.
Alexander Köplinger [Mon, 11 Apr 2016 13:50:42 +0000 (15:50 +0200)]
[metadata] Ifdef out an icall that is not available in the DISABLE_REFLECTION_EMIT case
It caused errors like the following on the maccore builds:
```
CCLD libmonosgen-2.0.la
Undefined symbols for architecture armv7k:
"_mono_reflection_get_custom_attrs_blob_checked", referenced from:
_ves_icall_System_Reflection_Emit_CustomAttributeBuilder_GetBlob in libmonoruntimesgen.a(libmonoruntimesgen_la-icall.o)
ld: symbol(s) not found for architecture armv7k
```
Alexander Köplinger [Mon, 11 Apr 2016 12:05:06 +0000 (14:05 +0200)]
Merge pull request #2865 from akoeplinger/maccore-fixes
A few small fixes for maccore
Mathieu Malaterre [Mon, 11 Apr 2016 09:04:47 +0000 (11:04 +0200)]
[sgen] Set ARCH_MIN_MS_BLOCK_SIZE to 64k on both ppc32 and ppc64.
This fixes a problem that was happening on Debian ppc32 build machines. Since
they are set up as a 32-bit userland on a 64-bit kernel, Mono would be compiled
with an ARCH_MIN_MS_BLOCK_SIZE value of 16k. However, at runtime, the system
page size would be 64k (due to the 64-bit kernel with PPC_64K_PAGES set).
Signed-off-by: Alex Rønne Petersen <alexrp@xamarin.com>
Alex Rønne Petersen [Mon, 11 Apr 2016 07:41:12 +0000 (09:41 +0200)]
[configure] Use __thread instead of pthread TLS on Solaris/x86.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=32020
Tested on Solaris/x86 by Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>.
Alexander Köplinger [Mon, 11 Apr 2016 00:38:22 +0000 (02:38 +0200)]
[mini] Add a stub for mono_arch_create_handler_block_trampoline to tramp-arm64.c
Otherwise it's not defined in the DISABLE_JIT case.
Alexander Köplinger [Sun, 10 Apr 2016 23:34:11 +0000 (01:34 +0200)]
[metadata] reflection.c: add missing MonoError parameter for mono_reflection_lookup_dynamic_token
It was missed in the recent refactoring in
96373eb62e4a73876b5ded49449ccb0fd16c40e8
Alexander Köplinger [Sun, 10 Apr 2016 23:29:10 +0000 (01:29 +0200)]
[metadata] Guard access to mb->locals_list with DISABLE_JIT ifdef
The field is only available when DISABLE_JIT is not defined.
Alexander Köplinger [Sun, 10 Apr 2016 16:46:37 +0000 (18:46 +0200)]
[build] Remove EXTENSION_include and _exclude from library.make
We do not have any .sources or .exclude.sources in mono-extensions anymore so this is no longer needed.
Alexander Köplinger [Sun, 10 Apr 2016 16:02:35 +0000 (18:02 +0200)]
Merge pull request #2864 from cptjazz/python3_compatibility
Make versions script compatible to python3: Add () when using `print'.
Miguel de Icaza [Sun, 10 Apr 2016 14:44:18 +0000 (10:44 -0400)]
Merge pull request #2854 from alexrp/lock-free-queue-docs
[utils/lfq] Clarify and document the lock-free queue API.
Alexander Jesner [Sun, 10 Apr 2016 14:19:56 +0000 (16:19 +0200)]
Make versions script compatible to python3: Add () when using `print'.
Vlad Brezae [Tue, 22 Mar 2016 19:11:39 +0000 (21:11 +0200)]
[sgen] Evacuate from emptier blocks to fuller ones
We don't evacuate from full blocks. When it comes to blocks that have free slots, instead of evacuating all of them to a new set of blocks, aim to keep the fuller blocks around and evacuate the emptier ones into them.
Vlad Brezae [Tue, 22 Mar 2016 18:16:07 +0000 (20:16 +0200)]
[sgen] Don't evacuate full blocks
Alexis Christoforides [Sun, 10 Apr 2016 00:07:58 +0000 (20:07 -0400)]
Merge pull request #2851 from mono/mono-symbolicate-ikvm-master
[mono-symbolicate] Use IKVM.Reflection instead of System.Reflection
Marek Safar [Sat, 9 Apr 2016 07:44:25 +0000 (09:44 +0200)]
[mcs] Codegen of try-catch-finally with await inside both try and catch. Fixes #39866
monojenkins [Fri, 8 Apr 2016 22:45:18 +0000 (23:45 +0100)]
Merge pull request #2860 from lewurm/fix-cfgdump-related-stuff
Fix `cfgdump` related stuff
Bernhard Urban [Fri, 8 Apr 2016 19:03:30 +0000 (12:03 -0700)]
[jit] include cfgdump.h in common_sources
Bernhard Urban [Fri, 8 Apr 2016 18:59:51 +0000 (11:59 -0700)]
[cfg-dump] fix warning
monojenkins [Fri, 8 Apr 2016 17:55:19 +0000 (18:55 +0100)]
Merge pull request #2856 from alexrp/profiler-fix-sem
[profiler] Fix incorrect initial writer semaphore value.
This was used during debugging. I forgot to revert it back to 0 before posting
the pull request (#2838). This led to ~3-5% more CPU usage by the writer thread
than actually necessary; it now sits around 0-1% for typical workloads.
Alex Rønne Petersen [Fri, 8 Apr 2016 01:48:42 +0000 (03:48 +0200)]
[utils/lfq] Clarify and document the lock-free queue API.
Martin Baulig [Fri, 8 Apr 2016 12:18:46 +0000 (14:18 +0200)]
[corlib]: Add internal callback to 'X509Helper' to use System's X509Helper2.
(cherry picked from commit
5eaf4db0918f4e59c47b22e6379236a55f6c813e)
Martin Baulig [Fri, 8 Apr 2016 13:41:13 +0000 (15:41 +0200)]
[Mono.Security]: Cleanup 'CertificateValidationHelper'.
The overloaded GetValidator() which takes both 'MonoTlsSettings'
and 'MonoTlsProvider' is actually used by the test suite, so let's
keep it public.
(cherry picked from commit
0977d531d2579c9051a6a2e6d0cb47e4f720bea4)
monojenkins [Fri, 8 Apr 2016 16:40:17 +0000 (17:40 +0100)]
Merge pull request #2857 from malaterre/master
Remove an undefined behavior
Found using gcc -fsanitize=bounds
Alexander Köplinger [Fri, 8 Apr 2016 15:22:23 +0000 (17:22 +0200)]
[ci] Don't use babysitter on Windows/cygwin
babysitter generates some temp paths in python when running under cygwin, which breaks down
when those paths are passed to the native Windows mono.exe during testing:
Exception in TestRunnerThread ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\cygdrive\c\WINDOWS\TEMP\tmpC4K5yK\babysitter_report_current_test_file.txt".
Martin Baulig [Fri, 8 Apr 2016 12:57:26 +0000 (14:57 +0200)]
[System]: Use MonoTlsProviderFactory.GetDefaultProviderInternal() to cache the result.
(cherry picked from commit
6d41d1562f6cec0da94229fb33e0c42ae2bf22e9)
Mathieu Malaterre [Fri, 8 Apr 2016 10:49:17 +0000 (12:49 +0200)]
Remove an undefined behavior
Found using gcc -fsanitize=bounds
Alex Rønne Petersen [Fri, 8 Apr 2016 10:44:17 +0000 (12:44 +0200)]
Merge pull request #2855 from malaterre/master
Remove a simple memory leak
Alex Rønne Petersen [Fri, 8 Apr 2016 10:36:20 +0000 (12:36 +0200)]
[profiler] Fix incorrect initial writer semaphore value.
This was used during debugging. I forgot to revert it back to 0 before posting
the pull request (#2838). This led to ~3-5% more CPU usage by the writer thread
than actually necessary; it now sits around 0-1% for typical workloads.
Mathieu Malaterre [Fri, 8 Apr 2016 06:50:19 +0000 (08:50 +0200)]
Remove a simple memory leak
monojenkins [Fri, 8 Apr 2016 04:20:40 +0000 (05:20 +0100)]
Merge pull request #2852 from alexrp/master
[profiler] Fix usage of the lock-free queue API.
* Free nodes hazardously.
* No need to unpoison nodes since we're not reusing them.
* Fix memory leak when emptying coverage queues.
Alex Rønne Petersen [Fri, 8 Apr 2016 00:49:22 +0000 (02:49 +0200)]
[profiler] Fix a warning.