Zoltan Varga [Thu, 6 Jul 2017 18:45:35 +0000 (14:45 -0400)]
Revert "[arm] Fix the handler block trampoline, it didn't actually call the helper function."
This reverts commit
745a6bec4a1fab5a5f56e00fc8efda84341b0634.
Revert this as it wasn't tested properly.
Zoltan Varga [Thu, 6 Jul 2017 18:30:13 +0000 (14:30 -0400)]
[arm] Fix the handler block trampoline, it didn't actually call the helper function.
Zoltan Varga [Thu, 6 Jul 2017 18:27:08 +0000 (14:27 -0400)]
[arm64] Fix the handler block trampoline, it didn't actually call the helper function.
Rodrigo Kumpera [Wed, 5 Jul 2017 22:25:10 +0000 (18:25 -0400)]
Merge pull request #5172 from kumpera/proc-handles-pt2
[System] Fix handle leak in Process::GetProcess.
Rodrigo Kumpera [Tue, 4 Jul 2017 02:59:49 +0000 (19:59 -0700)]
[System] Fix handle leak in Process::GetProcess.
The runtime returns a inc'd handle to managed, so the SafeHandle should decrement on dispose.
Aleksey Kliger [Wed, 5 Jul 2017 14:33:26 +0000 (10:33 -0400)]
[sgen] Use an OS mutex for memory governor log entries
The mutex is used by sgen worker threads that are not attached to the mono
runtime - they cannot use a coop mutex.
Alexander Köplinger [Wed, 5 Jul 2017 16:02:54 +0000 (18:02 +0200)]
[tools] Fixup
098de0b8, inadvertently deleted the wrong csproj
monojenkins [Wed, 5 Jul 2017 14:10:14 +0000 (16:10 +0200)]
[msvc] Update csproj files (#5170)
Alexander Köplinger [Wed, 5 Jul 2017 14:10:06 +0000 (16:10 +0200)]
[packaging] Fixup mistake from f7c9be
Alexander Köplinger [Wed, 5 Jul 2017 14:01:14 +0000 (16:01 +0200)]
[tools] Cleanup unused files in mdoc
mdoc now lives in https://github.com/mono/api-doc-tools
Bernhard Urban [Tue, 4 Jul 2017 09:34:30 +0000 (11:34 +0200)]
[offsets-tool] allow to set targetdir for iOS targets, so it's possible to dump offsets without maccore
Zoltan Varga [Tue, 4 Jul 2017 17:02:05 +0000 (13:02 -0400)]
[jit] Optimize ldloc+ldfld operations for valuetypes, so they don't require making a copy of the valuetype. Hopefully fixes #56452. (#5166)
Zoltan Varga [Tue, 4 Jul 2017 14:08:27 +0000 (10:08 -0400)]
Revert "[jit] Optimize ldloc+ldfld operations for valuetypes, so they don't require making a copy of the valuetype. Hopefully fixes #56452. (#5166)"
This reverts commit
025ee6399bfa229fedee3c2b8527cd9d1b9886e7.
Revert this as it seems to break the f# build.
Alexander Köplinger [Tue, 4 Jul 2017 12:57:55 +0000 (14:57 +0200)]
[packaging] Add Windows hostfxr.dll to MSBuild in MSI
Part of https://bugzilla.xamarin.com/show_bug.cgi?id=57930
Ankit Jain [Tue, 4 Jul 2017 01:47:26 +0000 (21:47 -0400)]
Revert "[packaging/msbuild] Bump to get new changes on xplat-master (#5145)"
This reverts commit
94dcde72917979d9b25b3786e214f08cbc4d2299.
Alexander Köplinger [Mon, 3 Jul 2017 21:35:53 +0000 (23:35 +0200)]
Bump corefx (#5167)
* Bump corefx
* Bump API snapshot submodule
Zoltan Varga [Mon, 3 Jul 2017 20:53:56 +0000 (16:53 -0400)]
[jit] Optimize ldloc+ldfld operations for valuetypes, so they don't require making a copy of the valuetype. Hopefully fixes #56452. (#5166)
Alexander Köplinger [Mon, 3 Jul 2017 19:09:11 +0000 (21:09 +0200)]
[ci] Tell babysitter where profiler stress result XML lives
This allows it to parse the XML and provide better results
about which tests failed.
Alexander Köplinger [Sun, 2 Jul 2017 22:43:55 +0000 (00:43 +0200)]
[Microsoft.Build] Improve assert in BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion
It started failing more frequently, let's see if we can get better data.
Also did the same change to a similar test.
Zoltan Varga [Sun, 2 Jul 2017 22:05:18 +0000 (18:05 -0400)]
[jit] Fix mono_debug_count () so it doesn't confuse COUNT=0 with COUNT not being used.
Alexander Köplinger [Sun, 2 Jul 2017 16:35:51 +0000 (18:35 +0200)]
[System.ServiceModel] Don't use DateTime.Now for measuring elapsed time
Use Stopwatch or DateTime.UtcNow instead which aren't affected
by things like daylight-saving time
Alexander Köplinger [Sun, 2 Jul 2017 11:28:40 +0000 (13:28 +0200)]
[Mono.Posix] Don't use DateTime.Now for measuring elapsed time
Use Stopwatch or DateTime.UtcNow instead which aren't affected
by things like daylight-saving time
Alexander Köplinger [Sun, 2 Jul 2017 11:16:30 +0000 (13:16 +0200)]
[System] Don't use DateTime.Now for measuring elapsed time
Use Stopwatch or DateTime.UtcNow instead which aren't affected
by things like daylight-saving time
Alexander Köplinger [Sun, 2 Jul 2017 11:02:31 +0000 (13:02 +0200)]
[corlib] Don't use DateTime.Now for measuring elapsed time
Use Stopwatch or DateTime.UtcNow instead which aren't affected
by things like daylight saving time
Zoltan Varga [Sun, 2 Jul 2017 06:08:44 +0000 (02:08 -0400)]
[jit] Use the right type when handling shared versions of RuntimeHelpers.IsReferenceOrContainsReferences (). The previous version only worked by accident. (#5160)
Alexander Köplinger [Sat, 1 Jul 2017 19:06:24 +0000 (21:06 +0200)]
[utils] Fix CppCheck warning in mono-threads-posix.c (#5161)
After the refactoring in
9aaa0083d0def5b940372dbd9375336b036249fd
CppCheck complained about using 'result' uninitialized (looks like
it can't deduce that g_error will abort the process anyway).
monojenkins [Sat, 1 Jul 2017 16:53:58 +0000 (18:53 +0200)]
[msvc] Update csproj files (#5162)
Marek Safar [Fri, 30 Jun 2017 22:34:37 +0000 (00:34 +0200)]
[mcs] C#7 tuples var deconstruct
Marek Safar [Fri, 30 Jun 2017 18:22:27 +0000 (20:22 +0200)]
[mcs] Adds missing file
Marek Safar [Fri, 30 Jun 2017 17:44:41 +0000 (19:44 +0200)]
[mcs] C# 7 tuple (foundation only).
Still couple of advanced features not implemented and parser cannot
deal with unnamed tuple type at type declaration level.
Rodrigo Kumpera [Fri, 30 Jun 2017 16:18:20 +0000 (12:18 -0400)]
Merge pull request #5159 from MaurGi/patch-1
Console.Error.WriteLine in System.Net.NetworkInformation
Mauro Giusti [Fri, 30 Jun 2017 16:13:31 +0000 (09:13 -0700)]
Console.Error.WriteLine in System.Net.NetworkInformation
Console.Error.WriteLine ("Got a bad hardware address length for an AF_PACKET {0} {1}",...
This Console.WriteLine interferes with Apache Storm that reads from the console I/O.
See bug: https://bugzilla.xamarin.com/show_bug.cgi?id=57887
Rodrigo Kumpera [Fri, 30 Jun 2017 14:56:08 +0000 (10:56 -0400)]
Merge pull request #5144 from kumpera/handle-fixes-part1
[io-layer] Fix two race conditions, one on FD handle creation and one on interrupt install.
Rodrigo Kumpera [Fri, 30 Jun 2017 14:55:20 +0000 (10:55 -0400)]
Merge branch 'master' into handle-fixes-part1
Aleksey Kliger (λgeek) [Fri, 30 Jun 2017 14:24:57 +0000 (10:24 -0400)]
Merge pull request #5156 from lambdageek/bug-57850+57851
[sre] Deal with ResolveEventHandler returning an AssemblyBuilder (Fixes #57850, #57851)
Fix a couple of bugs in the situation where a `ResolveEventHandler` happens to return an `AssemblyBuilder`.
* [#57850](https://bugzilla.xamarin.com/show_bug.cgi?id=57850) - if the `ResolveEventHandler` returns a reflection only assembly, throw a `FileNotFoundException`
* [#57851](https://bugzilla.xamarin.com/show_bug.cgi?id=57851) - don't look for a `ReferenceAssemblyAttribute` on assemblies returned by a `ResolveEventHandler` if they happen to be an `AssemblyBuilder`. (the native code path to get there is to try and instantiate a custom attribute in some other assembly, hence the fairly convoluted test in `assemblyresolve_event5` and its helper files)
Aleksey Kliger [Thu, 29 Jun 2017 22:12:34 +0000 (18:12 -0400)]
[loader] Don't try to look for ReferenceAssemblyAttribute on dynamic assemblies (Fixes #57851)
.NETFramework seems to ignore this custom attribute and allows instantiating
types from on assembly builders.
Aleksey Kliger [Thu, 29 Jun 2017 16:52:52 +0000 (12:52 -0400)]
[loader] Throw exn if ResolveEventHandler returns a refonly assembly (Fixes #57850)
(Also depends on previous commit to ensure that MonoAssembly:refonly is set
correctly for dynamic assemblies)
Aleksey Kliger [Thu, 29 Jun 2017 19:06:01 +0000 (15:06 -0400)]
[sre] Mark AssemblyBuilderAccess.ReflectionOnly assemblies as refonly
This will ensure they show up in AppDomain.ReflectionOnlyGetAssemblies(), and
won't be allowed to execute
Aleksey Kliger [Thu, 29 Jun 2017 19:01:41 +0000 (15:01 -0400)]
[sre] use AssemblyBuilderAccess bitmask to set MonoDynamicImage flags
In particular this makes sure that AssemblyBuilderAccess.ReflectionOnly aren't
allowed to run. And AssemblyBuilderAccess.CollectAndRun aren't allowed to save.
Aleksey Kliger [Thu, 29 Jun 2017 18:58:20 +0000 (14:58 -0400)]
[sre] Add MonoAssemblyBuilderAccess enum in native code
in sync with System.Reflection.Emit.AssemblyBuilderAccess
Aleksey Kliger [Thu, 29 Jun 2017 16:52:15 +0000 (12:52 -0400)]
[mono-error] Add mono_error_set_file_not_found
To throw System.IO.FileNotFoundException
Aleksey Kliger [Thu, 29 Jun 2017 23:23:44 +0000 (19:23 -0400)]
[tests] ResolveEventHandler that returns an AssemblyBuilder shouldn't crash mono
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=57851
Zoltan Varga [Fri, 30 Jun 2017 03:05:00 +0000 (23:05 -0400)]
[runtime] Use pthread_cond_timedwait_relative_np () function on osx if available. (#5147)
Zoltan Varga [Fri, 30 Jun 2017 02:02:08 +0000 (22:02 -0400)]
[aot] Load aot images only in the root domain. (#5151)
Aleksey Kliger [Thu, 29 Jun 2017 22:42:12 +0000 (18:42 -0400)]
[tests] Throw an error if ResolveEventHandler returns a reflection only AssemblyBuilder
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=57850
Aleksey Kliger [Thu, 29 Jun 2017 23:22:51 +0000 (19:22 -0400)]
[tests] Add some missing files to EXTRA_DIST
Zoltan Varga [Thu, 29 Jun 2017 22:10:34 +0000 (18:10 -0400)]
[runtime] Make runtime invoke wrappers for dynamic methods non-shareable, so they can be freed when the dynamic method is freed. (#5152)
Eberhard Beilharz [Thu, 29 Jun 2017 16:50:25 +0000 (18:50 +0200)]
[System] Request 32-bit capabilities
This fixes a crash that happened when running in the debugger.
This fixes Xamarin-21261.
Change-Id: I0ccda9f3c11ec02457a932073665721be5e4e83e
Alex Rønne Petersen [Thu, 29 Jun 2017 16:52:20 +0000 (18:52 +0200)]
Merge pull request #5140 from alexrp/profiler-stress-fpe-fix
[acceptance-tests] Don't pass a zero sampling/heapshot frequency in the profiler stress runner.
monojenkins [Thu, 29 Jun 2017 16:21:43 +0000 (18:21 +0200)]
[msvc] Update csproj files (#5149)
Ankit Jain [Thu, 29 Jun 2017 12:41:29 +0000 (08:41 -0400)]
[packaging/msbuild] Bump to get new changes on xplat-master (#5145)
Alexander Köplinger [Thu, 29 Jun 2017 11:21:49 +0000 (13:21 +0200)]
[bcl] Drop a bunch of unused _2_1.cs files (#5112)
* [bcl] Drop a bunch of unused _2_1.cs files
They weren't used anywhere, not even mobile, so we can remove them.
Zoltan Varga [Thu, 29 Jun 2017 06:20:50 +0000 (02:20 -0400)]
Revert "[runtime] Use pthread_cond_timedwait_relative_np () function on osx if available. (#5143)"
This reverts commit
616ea50718aba3af237637f77d9c58acdca9a61f.
Revert this as it fails to build on wrench.
Zoltan Varga [Thu, 29 Jun 2017 05:02:53 +0000 (01:02 -0400)]
[runtime] Use pthread_cond_timedwait_relative_np () function on osx if available. (#5143)
Rodrigo Kumpera [Wed, 28 Jun 2017 22:48:28 +0000 (15:48 -0700)]
[io-layer] Fix two race conditions, one on FD handle creation and one on interrupt install.
mono_w32handle_new_fd: We must hold scan_mutex while initializing an unallocated handle otherwise
mono_w32handle_foreach might think it's a valid handle.
mono_w32handle_timedwait_signal_handle: We must increment the refcount before installing the interrupt handle
as the other end can be called right after we finish installing and would trigger a failure.
Ludovic Henry [Wed, 28 Jun 2017 22:42:35 +0000 (18:42 -0400)]
[w32handle] Replace mono_w32handle_{ref,unref} by mono_w32handle_{duplicate, close} (#5106)
* [w32handle] Fix handle dumped ref
* [w32handle] Replace exposing mono_w32handle_{ref,unref} by mono_w32handle_{duplicate,close}, it is closer to what the win32 API exposes.
* [w32handle] Remove unrefing of handles on shutdown
If one of the handle is a file handle for example, then w32file has already be cleaned up, so we cannot guarantee that the handle we are going to close is not going to call into w32file code.
Jonathan Chambers [Tue, 27 Jun 2017 04:45:26 +0000 (00:45 -0400)]
Implement GC roots ourselves in Boehm rather than relying on their concept of roots which is mainly for static data segments in binaries and not implemented on all platforms (cannot remove roots on Windows) (#564)
Alexander Köplinger [Wed, 28 Jun 2017 17:42:46 +0000 (19:42 +0200)]
[packaging] Remove git_branch from msbuild and mono-extensions (#5141)
We're checking out a specific commit for both now so the git branch
is no longer required.
Also fixes warnings that a 2017-06 branch doesn't exist in mono-extensions.
Jo Shields [Wed, 28 Jun 2017 17:41:25 +0000 (18:41 +0100)]
Manually invoke Xvfb, don't depend on the xvfb plugin (#5132)
Marek Safar [Tue, 27 Jun 2017 18:47:19 +0000 (20:47 +0200)]
[build] Add a new profile
Aleksey Kliger [Tue, 27 Jun 2017 14:33:23 +0000 (10:33 -0400)]
[nullgc] When building nullgc, don't try to link Boehm libs
Previous nullgc commit (
52d9a55a861527ed4027f8e10a97e3cc880baf4a) didn't actually work in a clean tree.
Alex Rønne Petersen [Wed, 28 Jun 2017 12:07:39 +0000 (14:07 +0200)]
[acceptance-tests] Don't pass a zero sampling/heapshot frequency in the profiler stress runner.
Also change the code to make it more likely that we actually do some runs
without sampling or heapshot enabled.
Zoltan Varga [Tue, 27 Jun 2017 23:44:58 +0000 (19:44 -0400)]
[w32handle] Add some debugging code to help track down handle wait problems. (#5136)
Zoltan Varga [Tue, 27 Jun 2017 22:05:34 +0000 (18:05 -0400)]
[w32handle] Zero out the handle specific data in the handle dtor to help debugging. (#5135)
monojenkins [Tue, 27 Jun 2017 16:32:41 +0000 (18:32 +0200)]
[msvc] Update csproj files (#5131)
Alexander Köplinger [Tue, 27 Jun 2017 14:58:46 +0000 (16:58 +0200)]
[man] Fix AOT temp path option description
It's `temp-path` in the code, not `temp_path`
Aleksey Kliger (λgeek) [Tue, 27 Jun 2017 14:44:30 +0000 (10:44 -0400)]
Merge pull request #5120 from lambdageek/bug-57744
[reflection] Convert correct MonoError to an exn in Assembly.GetTypes ()
cherusker [Tue, 27 Jun 2017 14:21:34 +0000 (16:21 +0200)]
Fix various compiler warnings (#5064)
* Fix compiler warnings (w32)
- add explicit (long long (unsigned)) type casts
- change %ld to %lld once, to match the general style of these logging messages
* Fix compiler warnings (threadpool)
- add explicit (void *) type casts
* Fix compiler warnings (boehm)
- add an explicit (long) type cast; the values are defined as gint64, an upgrade to at least "%ld" seems like a good idea
- about dropping const: const does not seem to be necessary as g_getenv() returns pointers to freshly allocated buffers whenever called. const might have been used to protect the return value of g_getenv() on unix systems with earlier versions of Mono (as a comment in gmisc-unix.c suggests). keeping const here causes a compiler warning, as the const qualifier gets dropped when *env is being used with g_free(). that led to the decision to drop the qualifier altogether.
* Fix compiler warnings (sgen)
- specify the arguments (void) to avoid -Wstrict-prototypes warnings
* Fix compiler warnings (misc - metadata)
- specify the arguments (void) to avoid -Wstrict-prototypes warnings
* Fix compiler warnings (misc)
- specify the arguments (void) to avoid -Wstrict-prototypes warnings
- add an explicit (void *) type cast; changing the return type to char* might be more usable and could be discussed
- ret is not being used and can be removed; fixes a -Wunused-but-set-variable warning
* Fix compiler warnings (mini)
- specify the arguments (void) to avoid -Wstrict-prototypes warnings
* [fixup!] Correct indentation
* [fixup!] Correct (void *)
- use GUINT_TO_POINTER and MONO_NATIVE_THREAD_ID_TO_UINT instead of (void *) to cast mono_native_thread_id_get () to %p
* [fixup!] Correct indentation of boehm-gc.c and add FIXME
* include <inttypes.h> and test the G_GINT64_FORMAT macro
* [fixup!] Use G_G*_FORMAT and PRIx32 macros instead of type casts wherever possible
Ankit Jain [Tue, 27 Jun 2017 04:57:07 +0000 (00:57 -0400)]
[packaging/msbuild] Bump to get new changes on xplat-master (#5127)
Zoltan Varga [Tue, 27 Jun 2017 03:19:07 +0000 (23:19 -0400)]
[jit] Avoid emitting op_load_got_addr opcodes on x86 when using llvmonly, its not needed. (#5125)
Aleksey Kliger [Mon, 26 Jun 2017 19:52:08 +0000 (15:52 -0400)]
[reflection] Convert correct MonoError to an exn in Assembly.GetTypes () (Fixes #57744)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=57744
Aleksey Kliger [Mon, 26 Jun 2017 19:58:12 +0000 (15:58 -0400)]
[bcl] Delete our ReflectionTypeLoadException
We use the referencesource version
Alexander Köplinger [Mon, 26 Jun 2017 17:16:47 +0000 (19:16 +0200)]
[cil-strip] Move comment out of .sources file
I forgot that we only run gensources.sh on libraries but not
tools so the comments don't get stripped out...
Zoltan Varga [Mon, 26 Jun 2017 17:04:36 +0000 (13:04 -0400)]
[runtime] Add more logging in case mono_os_cond_timedwait () fails.
Alexander Köplinger [Mon, 26 Jun 2017 15:13:11 +0000 (17:13 +0200)]
Bump API snapshot
Marius Ungureanu [Sat, 24 Jun 2017 18:48:17 +0000 (21:48 +0300)]
[System.Core] Implement MemoryMappedFile.OpenExisting
Reuse the existing icall infrastructure to give the same handle back.
This PR implements all OpenExisting methods (with the access rights parameter discarded) and the SafeHandle property.
In the runtime, we don't check the capacity parameter if we try to open a mmap file, and we fallthrough the handle refcount case.
Alexander Köplinger [Mon, 26 Jun 2017 10:32:33 +0000 (12:32 +0200)]
Revert "[cil-strip] Remove old private copy of Mono.Cecil"
(reverted from commit
4ea31227587b9df3a244d9c32a5a87a7afa70436)
Alexander Köplinger [Mon, 26 Jun 2017 10:32:22 +0000 (12:32 +0200)]
Revert "[cil-strip] Upgrade to latest Mono.Cecil API"
(reverted from commit
0c9eb70a4646364f4b425f69b366be766043bef9)
Using newer Cecil means metadata tokens will be different which
breaks AOT compilation: https://github.com/mono/mono/pull/5102#issuecomment-
310801767
monojenkins [Sun, 25 Jun 2017 16:20:22 +0000 (16:20 +0000)]
[msvc] Update csproj files
Zoltan Varga [Sat, 24 Jun 2017 19:12:38 +0000 (15:12 -0400)]
[llvm] Align aot variables to 8 bytes, parts of the aot code depend on it.
Aleksey Kliger [Fri, 23 Jun 2017 21:43:02 +0000 (17:43 -0400)]
[null_gc] Get null GC building again.
- Had to borrow a gchandles implementation from mono/metadata/boehm-gc.c
- Added coop handles support for NULL GC
- Fixed typos in configure.ac
- To use: `./configure --with-libgc=none --without-sgen --enable-boehm`
You get a mono-boehm which actually is not collecting anything.
Ankit Jain [Sat, 24 Jun 2017 03:35:53 +0000 (23:35 -0400)]
[packaging/msbuild] Bump to get new changes on xplat-master (#5113) (#5114)
Ludovic Henry [Fri, 23 Jun 2017 23:32:35 +0000 (19:32 -0400)]
[System] Fix compilation on watchos (#5108)
Alexander Köplinger [Fri, 23 Jun 2017 14:05:11 +0000 (16:05 +0200)]
[cil-strip] Remove old private copy of Mono.Cecil
No longer needed now that we're using the new Cecil.
Alexander Köplinger [Fri, 23 Jun 2017 14:03:36 +0000 (16:03 +0200)]
[cil-strip] Upgrade to latest Mono.Cecil API
This greatly simplifies the code and as a bonus also shaves off
about 300ms when stripping mscorlib.dll.
Rodrigo Kumpera [Fri, 23 Jun 2017 22:30:14 +0000 (15:30 -0700)]
Merge pull request #5103 from alexrp/profiler-signal-ack-fix
[profiler] Do the signal ack after checking that the thread is detached.
Zoltan Varga [Fri, 23 Jun 2017 20:16:41 +0000 (16:16 -0400)]
[aot] Fix aot image loading messages in static mode.
Vlad Brezae [Fri, 23 Jun 2017 18:10:18 +0000 (21:10 +0300)]
Merge pull request #5084 from BrzVlad/feature-worker-context
[sgen] Implement sgen worker context
Vlad Brezae [Wed, 21 Jun 2017 10:43:39 +0000 (13:43 +0300)]
[sgen] Use concurrent mark concurrently with parallel minors
Vlad Brezae [Thu, 15 Jun 2017 22:15:51 +0000 (01:15 +0300)]
[sgen] Implement work context for thread pool threads
We need to run jobs on the thread pool threads for parallel minor, parallel major, concurrent mark and concurrent sweep, some of which can run simultaneously. Instead of making separate threads reserved for each type of work, we create a work context abstraction (this contains a set of pending jobs to run and the sgen-worker callbacks). When a thread pool thread looks for work, it searches for work (jobs and idle work) through all contexts and finishes work from each one of them, from the highest to the lowest priority.
This is implemented by having different thread pool contexts (which contain the job list, work callbacks that indicate whether it should work and its ineherent priority), overall unrelated to the GC. The sgen worker infrastructure also creates separate worker contexts (which contain the object ops to be used and information about each worker, like the state and the private gray queue). We use at most two worker contexts (for minor and for major) and each worker context makes use of a sgen thread pool context.
Vlad Brezae [Wed, 21 Jun 2017 11:09:12 +0000 (14:09 +0300)]
[sgen] Remove redundant code
We always init worker distribute gray queue when initialising worker infrastructure.
Vlad Brezae [Wed, 21 Jun 2017 10:55:57 +0000 (13:55 +0300)]
[sgen] Include split count in the parallel job
We were getting the split_count at job run time which makes little sense. Include it in the job, alongside the job index.
Vlad Brezae [Tue, 20 Jun 2017 12:22:39 +0000 (15:22 +0300)]
[sgen] Run the scan pinned object job concurrently with minors
Concurrent mark doesn't normally scan objects in the nursery since they can be moved. At the end of the concurrent mark, we were locking over the entire gc pause in order to make sure that the we can scan the latest pinned object list (aka none of those objects can be moved). Lock only over the pinning phase of the collection, since it is enough.
Vlad Brezae [Fri, 23 Jun 2017 17:06:51 +0000 (20:06 +0300)]
Merge pull request #5098 from BrzVlad/fix-sgen-pagesize
[sgen] Fix sgen pagesize
Marius Ungureanu [Fri, 23 Jun 2017 16:08:23 +0000 (19:08 +0300)]
Merge pull request #5104 from mono/bump-bockbuild
Bump bockbuild
Marius Ungureanu [Fri, 23 Jun 2017 16:05:48 +0000 (19:05 +0300)]
Bump bockbuild
Alex Rønne Petersen [Fri, 23 Jun 2017 14:52:24 +0000 (16:52 +0200)]
[profiler] Do the signal ack after checking that the thread is detached.
Otherwise we could crash in mono_thread_info_current ().
Chris Lapa [Fri, 23 Jun 2017 13:30:23 +0000 (23:30 +1000)]
[aot] fixes temp-path argument only working when using LLVM compiler. (#5099)
Signed-off-by: Chris Lapa <chris@lapa.com.au>
Ankit Jain [Fri, 23 Jun 2017 06:16:31 +0000 (02:16 -0400)]
[packaging/msbuild] Bump to get new changes on xplat-master
Ankit Jain [Fri, 23 Jun 2017 01:35:09 +0000 (21:35 -0400)]
[packaging/msbuild] Update commit hash to point to xplat-master HEAD (#5100)