Zoltan Varga [Sat, 16 May 2015 06:49:01 +0000 (08:49 +0200)]
[jit] Allow the inlining of generic class init trampolines on some platforms. Enable it for amd64.
Alex Rønne Petersen [Fri, 15 May 2015 21:17:52 +0000 (23:17 +0200)]
[runtime] Fix endianness issue with special static offsets.
On big endian systems, this code would break because we reinterpret the
structure as a `guint32` via memory. Fix this by reversing the order of
the fields on big endian systems.
Zoltan Varga [Fri, 15 May 2015 23:50:10 +0000 (01:50 +0200)]
[runtime] Disable spawning lldb on a native crash, since it doesn't quit automatically.
Zoltan Varga [Fri, 15 May 2015 23:11:24 +0000 (01:11 +0200)]
[aot] Avoid defining symbols starting with numbers. Fixes #30099.
Miguel de Icaza [Fri, 15 May 2015 22:27:31 +0000 (18:27 -0400)]
Add tests for #3811
Alex Rønne Petersen [Fri, 15 May 2015 19:29:48 +0000 (21:29 +0200)]
Merge pull request #1801 from alexrp/profiler-allocs
[runtime] Improve profiler allocation reporting
Rodrigo Kumpera [Fri, 15 May 2015 19:24:44 +0000 (15:24 -0400)]
Merge pull request #1654 from alexanderkyte/xunit-fixes
Fix various bugs causing hangs on Xunit
Miguel de Icaza [Fri, 15 May 2015 19:08:48 +0000 (15:08 -0400)]
Merge pull request #1805 from martincostello/master
Fix typos in man content for sn
Marek Safar [Fri, 15 May 2015 18:52:21 +0000 (20:52 +0200)]
[corlib] Fixes mobile tests
Alex Rønne Petersen [Thu, 14 May 2015 12:46:49 +0000 (14:46 +0200)]
[runtime] Use slow path managed allocators when profiling a FullAOT image.
This is needed because the fast paths in managed allocators (by design) don't
report allocations to the profiler. In regular JIT/AOT mode, managed allocators
are simply disabled to work around this when profiling. However, in FullAOT
mode, an image may have been compiled with managed allocators enabled which
results in the managed allocator actually being emitted into the AOT image.
So, when we want to profile a FullAOT image, we need to replace the regular
managed allocator with one that always goes through the slow path (i.e. calls
straight into the runtime). To that end, when we decode a MONO_WRAPPER_ALLOC
method ref, we redirect it to the appropriate slow path allocator if allocation
profiling is enabled.
João Matos [Fri, 15 May 2015 15:50:59 +0000 (16:50 +0100)]
[aot] Added command-line parsing support for hybrid AOT mode.
João Matos [Fri, 15 May 2015 15:50:24 +0000 (16:50 +0100)]
[aot] Migrate the AOT compiler code to use MonoAotMode.
No behavioural changes intended.
João Matos [Fri, 15 May 2015 15:48:58 +0000 (16:48 +0100)]
[runtime] Introduce new `mono_jit_set_aot_mode` public AOT API.
We're also deprecating `mono_jit_set_aot_only` which is a strictly on-off API and of limited value in the face of the new AOT modes.
João Matos [Fri, 15 May 2015 15:47:12 +0000 (16:47 +0100)]
[runtime] Introduce MonoAotMode enum to the public API.
This will be used throughout the runtime to bookkeep the selected AOT code model.
Alex Rønne Petersen [Fri, 15 May 2015 14:09:02 +0000 (16:09 +0200)]
Merge pull request #1656 from alexanderkyte/webservice_27561
[System.ServiceModel] Fix timeout defaulting to 0 seconds
Alex Rønne Petersen [Thu, 14 May 2015 20:27:01 +0000 (22:27 +0200)]
[runtime] Regenerate opcodef.def.
Note: Don't modify this file by hand.
Alex Rønne Petersen [Wed, 13 May 2015 11:57:31 +0000 (13:57 +0200)]
[mini] Add regressionexitcode.out to .gitignore.
Alex Rønne Petersen [Wed, 13 May 2015 11:53:52 +0000 (13:53 +0200)]
[runtime] Move profiler allocation reporting to GC implementations.
By reporting allocations in the GC implementations, we significantly reduce the
odds of someone forgetting to add a mono_profiler_allocation () call. These
previously had to be placed at all call sites of mono_gc_alloc_* () which was
in some cases forgotten, resulting in the profiler seeing objects in GC events
which appeared to not have been allocated.
Alex Rønne Petersen [Wed, 13 May 2015 11:25:08 +0000 (13:25 +0200)]
[runtime] Move object allocation into GC implementations.
This was already done for SGen, but Boehm and the null GC still had a bunch of
code in object.c to allocate and prepare objects. This has now been moved into
mono_gc_alloc_* () functions so that all 3 GC backends have the same interface
for allocation.
Alex Rønne Petersen [Wed, 13 May 2015 09:05:38 +0000 (11:05 +0200)]
[runtime] Drop support for external libgc.
This has not been supported for a while, so remove it.
Marek Safar [Fri, 15 May 2015 07:16:43 +0000 (09:16 +0200)]
[System.Data.DataSetExtensions] Switch to reference sources
Alexander Köplinger [Thu, 14 May 2015 23:24:10 +0000 (01:24 +0200)]
[System.Data] Fix make dist
martincostello [Thu, 14 May 2015 17:58:50 +0000 (18:58 +0100)]
Fix typos in "man sn".
João Matos [Thu, 14 May 2015 14:46:37 +0000 (15:46 +0100)]
[aot] Fixed linker invocation when cross-compiling to Android.
Fixes an Android AOT regression introduced by https://github.com/mono/mono/commit/
b41ed5db82ad82f0540eef70d821318836fba107.
Marek Safar [Thu, 14 May 2015 17:07:14 +0000 (19:07 +0200)]
[System.Data] Remove obsolete files
Marek Safar [Thu, 14 May 2015 16:26:41 +0000 (18:26 +0200)]
[system.data] More api from reference sources
Marek Safar [Thu, 14 May 2015 15:35:58 +0000 (17:35 +0200)]
[system.data] SqlXml from reference sources
Zoltan Varga [Thu, 14 May 2015 16:38:09 +0000 (18:38 +0200)]
[runtime] Fix the signature of native-func-aot wrappers. AOT the delegate invoke wrapper which is used to invoke it. Fixes #29970.
Miguel de Icaza [Thu, 14 May 2015 16:29:13 +0000 (12:29 -0400)]
Merge pull request #1793 from rolfbjarne/subminute-dstoffset-fix
[corlib] Tweak the fix for the reference sources' inability to support sub-minute DST offsets.
Alexander Kyte [Thu, 14 May 2015 16:05:28 +0000 (12:05 -0400)]
[runtime] Made mono_marshal_get_castclass_with_cache use the isinst fixes, refactored
Marek Safar [Thu, 14 May 2015 12:06:11 +0000 (14:06 +0200)]
[corlib] Remove unused code
Marek Safar [Thu, 14 May 2015 11:44:34 +0000 (13:44 +0200)]
[corlib] More reference code for string class
Marek Safar [Thu, 14 May 2015 11:32:24 +0000 (13:32 +0200)]
[corlib] Remove unused code
Ludovic Henry [Thu, 14 May 2015 09:56:02 +0000 (10:56 +0100)]
[corlib] Remove unused code
Ludovic Henry [Thu, 14 May 2015 09:24:08 +0000 (10:24 +0100)]
[threadpool-ms] Fix compilation warning
Ludovic Henry [Thu, 14 May 2015 09:22:41 +0000 (10:22 +0100)]
[null-gc] Ensure mono_gc_set_skip_thread is compiled
Ludovic Henry [Thu, 14 May 2015 08:27:08 +0000 (09:27 +0100)]
Zoltan Varga [Thu, 14 May 2015 07:21:59 +0000 (09:21 +0200)]
[arm64] Increase max length of seq_point instruction.
Zoltan Varga [Thu, 14 May 2015 07:17:44 +0000 (09:17 +0200)]
[aot] Avoid generating instances of AsyncMethodBuilderCore/AsyncVoidMethodBuilder methods, use the gsharedvt versions instead. Fixes part of #29615.
Marek Safar [Thu, 14 May 2015 06:39:53 +0000 (08:39 +0200)]
[corlib] Remove unused code
Alexander Kyte [Mon, 20 Apr 2015 17:28:45 +0000 (13:28 -0400)]
[runtime] Do not cache isinstance for TransparentProxies
When using a TransparentProxy, we run into the problem that the cache is
shared between all marshalbyrefobjects. The fix here is to not update
the cache when using a TransparentProxy, so that the correct slow path
is used.
Ludovic Henry [Wed, 13 May 2015 19:46:37 +0000 (20:46 +0100)]
[threads] Remove dead code
Ludovic Henry [Wed, 13 May 2015 19:44:41 +0000 (20:44 +0100)]
[threads] Remove thread_exit callback as the logic is redundant between the GCs
Ludovic Henry [Wed, 13 May 2015 19:27:16 +0000 (20:27 +0100)]
[threads] Remove dead code
Ludovic Henry [Wed, 13 May 2015 19:24:16 +0000 (20:24 +0100)]
[sgen] Remove unnecessary #define
Ludovic Henry [Wed, 13 May 2015 19:16:28 +0000 (20:16 +0100)]
[threads] Remove useless indirection for thread creation on Posix platforms
Marek Safar [Wed, 13 May 2015 18:14:46 +0000 (20:14 +0200)]
Alexander Kyte [Tue, 24 Mar 2015 21:50:14 +0000 (17:50 -0400)]
[System.ServiceModel] Fix timeout defaulting to 0 seconds
Marek Safar [Wed, 13 May 2015 17:46:16 +0000 (19:46 +0200)]
Marek Safar [Wed, 13 May 2015 17:44:07 +0000 (19:44 +0200)]
[system.web] Add System.Design reference instead of referencing files
Ludovic Henry [Wed, 13 May 2015 16:20:58 +0000 (17:20 +0100)]
[referencesource] Import System.Double and System.Simple
Alex Rønne Petersen [Wed, 13 May 2015 17:02:50 +0000 (19:02 +0200)]
Merge pull request #1784 from alexrp/profiler-init
[profiler] Initialize threads in runtime initialization callback
Marek Safar [Wed, 13 May 2015 15:41:08 +0000 (17:41 +0200)]
[system.web.service] desktop version from reference sources
Marek Safar [Wed, 13 May 2015 15:38:43 +0000 (17:38 +0200)]
[System.Data.Design] Make TypedDataSetSchemaImporterExtension not working instead of throwing NIE
Marek Safar [Tue, 12 May 2015 16:52:30 +0000 (18:52 +0200)]
[system.xml] Serialization from reference sources for desktop
Alex Rønne Petersen [Wed, 13 May 2015 16:42:52 +0000 (18:42 +0200)]
Merge pull request #1797 from schani/feature-pinning-stats
[sgen] Fix pinning statistics
Zoltan Varga [Wed, 13 May 2015 16:40:53 +0000 (18:40 +0200)]
[runtime] Fix the initialization of the pid array in ves_icall_System_Diagnostics_Process_GetProcesses_internal ().
Alex Rønne Petersen [Wed, 13 May 2015 11:48:09 +0000 (13:48 +0200)]
Merge pull request #1799 from evincarofautumn/fix-heavy-stat-warnings
[sgen] Fix warnings with heavy stats.
Jon Purdy [Tue, 12 May 2015 22:41:18 +0000 (15:41 -0700)]
[sgen] Fix warnings with heavy stats.
The types of these counters were changed in
5f33085d, so the atomic
updates (should have) stopped working. We can just mutate them
non-atomically.
Mark Probst [Tue, 12 May 2015 21:16:06 +0000 (14:16 -0700)]
[sgen] Make pinning stats operational again.
Mark Probst [Tue, 12 May 2015 21:15:25 +0000 (14:15 -0700)]
[sgen] `mono_gc_printf` should not append newlines.
Mark Probst [Tue, 12 May 2015 00:41:05 +0000 (17:41 -0700)]
[sgen] Simplify `sgen_conservatively_pin_objects_from()`.
We're doing essentially the same check twice, and not doing the
pinning stats correctly.
Mark Probst [Tue, 12 May 2015 21:39:25 +0000 (14:39 -0700)]
Merge pull request #1796 from evincarofautumn/fix-heavy-stats-2
[sgen] Actually fix heavy stats.
Jon Purdy [Tue, 12 May 2015 21:31:29 +0000 (14:31 -0700)]
[sgen] Actually fix heavy stats.
Mark Probst [Tue, 12 May 2015 21:18:40 +0000 (14:18 -0700)]
Merge pull request #1795 from evincarofautumn/fix-heavy-stats
[sgen] Fix heavy statistics.
Jon Purdy [Tue, 12 May 2015 21:15:22 +0000 (14:15 -0700)]
[sgen] Fix heavy statistics.
Rodrigo Kumpera [Tue, 12 May 2015 21:11:18 +0000 (17:11 -0400)]
Merge pull request #1668 from alexanderkyte/bug1856
[runtime] Overwrite stacktrace for exception on re-throw. Fixes #1856.
Alexis Christoforides [Tue, 12 May 2015 20:07:54 +0000 (16:07 -0400)]
[runtime] Fixed typo in previous commit, added sleep
Alexis Christoforides [Tue, 12 May 2015 19:30:18 +0000 (15:30 -0400)]
[runtime] When attaching a tools thread, spin-wait for thread system init. Fixes #29538
Marek Safar [Tue, 12 May 2015 14:47:05 +0000 (16:47 +0200)]
[system.xml] System.Xml.Serialization.Advanced from reference sources
Marek Safar [Tue, 12 May 2015 14:50:07 +0000 (16:50 +0200)]
Merge pull request #1794 from jbevain/monofield_getmodule
[corlib] Implement MonoField Module property
Jb Evain [Tue, 12 May 2015 14:40:33 +0000 (16:40 +0200)]
Add unit test for FieldInfo.Module
Marek Safar [Tue, 12 May 2015 14:29:29 +0000 (16:29 +0200)]
Bump reference sources
Jb Evain [Tue, 12 May 2015 14:22:18 +0000 (16:22 +0200)]
[corlib] Implement MonoField Module property
Zoltan Varga [Tue, 12 May 2015 14:08:52 +0000 (16:08 +0200)]
[runtime] Really fix --disable-visibility-hidden.
Marek Safar [Tue, 12 May 2015 14:00:32 +0000 (16:00 +0200)]
Bump reference sources
Marek Safar [Tue, 12 May 2015 14:00:03 +0000 (16:00 +0200)]
[corlib] Fix Test attribute name collisiong causing all tests to be ignored
Marek Safar [Tue, 12 May 2015 12:39:05 +0000 (14:39 +0200)]
[System.ComponentModel.DataAnnotations] Remove unused types
Marek Safar [Tue, 12 May 2015 12:08:12 +0000 (14:08 +0200)]
[build] Don't set special library path for monolite boostrap. It causes issue when system and other assemblies during bootrap need to access mscorlib api which is newer than monolite.
Rolf Bjarne Kvinge [Tue, 12 May 2015 10:22:35 +0000 (12:22 +0200)]
[corlib] Tweak the fix for the reference sources' inability to support sub-minute DST offsets.
It seems the base utc offset can also have a sub-minute resolution
in Unix, which means we need to apply the whole-minute rounding to
the final result (dstDelta) instead of the intermediate ttype.Offset
value.
We need to try to fetch the exact timezone id to expose this bug,
since fetching all system timezones will just not return any
problematic timezones (and there is thus no way to distinguish
inexistent timezones from timezones that failed to load).
Rolf Bjarne Kvinge [Tue, 12 May 2015 11:09:00 +0000 (13:09 +0200)]
[corlib] Update SecurityCriticalAttribute test for updated mobile API.
Marek Safar [Tue, 12 May 2015 09:47:17 +0000 (11:47 +0200)]
[system.xml] Resource string from reference sources
Marek Safar [Tue, 12 May 2015 09:43:07 +0000 (11:43 +0200)]
[mcs] Support multiple string resource files
Atsushi Eno [Tue, 12 May 2015 06:54:34 +0000 (14:54 +0800)]
bump referencesource for System.Data (remove wrong MDAC ver. check for Odbc)
Atsushi Eno [Tue, 12 May 2015 06:53:05 +0000 (14:53 +0800)]
Fix System.dll mobile builds.
Atsushi Eno [Tue, 12 May 2015 06:44:59 +0000 (14:44 +0800)]
Revert "[system.xml] System.Xml.Serialization.Advanced from reference sources"
This reverts commit
e66d448104cf2c11d5fcfdaf47b12382cbc9c249.
Atsushi Eno [Tue, 12 May 2015 06:42:19 +0000 (14:42 +0800)]
Revert "[system.xml] Serialization from reference sources for desktop"
This reverts commit
6ae517ea65af8cf7585c3a080caaa53d05447cc1.
Rodrigo Kumpera [Mon, 11 May 2015 18:59:04 +0000 (14:59 -0400)]
Merge pull request #1783 from alexanderkyte/thread_transition_crash
[runtime] Make thread abort synchronous
Ludovic Henry [Mon, 11 May 2015 16:38:29 +0000 (17:38 +0100)]
[bcl] Fix Process.OnExited multiple call with the MS ThreadPool
Alexis Christoforides [Mon, 11 May 2015 15:52:07 +0000 (11:52 -0400)]
[runtime] Add a couple of asserts to thread attach methods
Marek Safar [Mon, 11 May 2015 14:55:52 +0000 (16:55 +0200)]
[system] CompilerParameters from reference sources
Marek Safar [Mon, 11 May 2015 13:36:03 +0000 (15:36 +0200)]
[system.xml] Serialization from reference sources for desktop
Marek Safar [Mon, 11 May 2015 07:40:06 +0000 (09:40 +0200)]
[System.Runtime.Caching] Fix warnings
Marek Safar [Mon, 11 May 2015 13:33:23 +0000 (15:33 +0200)]
Merge pull request #1788 from ermshiperete/master-Xamarin-29935
Unit test that demonstrates Xamarin-29935
Eberhard Beilharz [Mon, 11 May 2015 13:04:41 +0000 (15:04 +0200)]
Unit test that demonstrates Xamarin-29935
Change-Id: I3510a2ccb897e0a0baf03af3a34bb74d6b700e03
Ludovic Henry [Mon, 11 May 2015 12:37:25 +0000 (13:37 +0100)]
[threadpool-ms] Remove thread waiting and memory cleanup
This could lead to hangs because threadpool->counter._.active would not be decremented. It means we cannot cleanup memory as the threads may still try to access the threadpool global variable.
Ludovic Henry [Sat, 9 May 2015 17:20:07 +0000 (18:20 +0100)]
[threadpool-ms] Fix assertion error "threadpool-ms.c:731, condition `counter._.working >= 0' not met"
Zoltan Varga [Mon, 11 May 2015 07:24:14 +0000 (03:24 -0400)]
[runtime] Implement support for locals info for portable pdb files.
Zoltan Varga [Sun, 10 May 2015 09:43:53 +0000 (05:43 -0400)]
[runtime] Finish support for sequence point info for the portable pdb format.
Zoltan Varga [Sun, 10 May 2015 08:27:32 +0000 (04:27 -0400)]
[runtime] Fix some FIXMEs in mono_ppdb_get_seq_points ().