KISHIMOTO, Makoto [Fri, 7 Dec 2012 02:30:43 +0000 (11:30 +0900)]
* inotify lib in FreeBSD is in /usr/local
* libinotify check only FreeBSD
Rodrigo Kumpera [Wed, 12 Dec 2012 23:15:04 +0000 (18:15 -0500)]
Add a monotouch Mono.Security source file.
Rodrigo Kumpera [Wed, 12 Dec 2012 22:53:45 +0000 (17:53 -0500)]
Simple Automake concatenation is not enough to do all the evil things.
* autogen.sh: Automake does support adding files to the list of program
sources using += but has no -= to remove them. This means that it's
not possible to replace a source file at all.
Given that, the only option is to patch automake. Call an external
script that apply the whole patch queue instead of doing it there.
Rodrigo Kumpera [Wed, 12 Dec 2012 22:53:14 +0000 (17:53 -0500)]
Kill this failed attemp at automake configuration extension.
Rodrigo Kumpera [Wed, 12 Dec 2012 16:16:51 +0000 (11:16 -0500)]
Add 6 sgen configurations with ssb to our test suite.
Atsushi Eno [Wed, 9 May 2012 19:16:06 +0000 (04:16 +0900)]
Now this somehow needed fix, resulted in invalid two-lines-joined-into-one-line output...
Sebastien Pouliot [Tue, 3 Apr 2012 12:51:23 +0000 (08:51 -0400)]
Match the existing name for Aes implementation for source/binary compatibility
Sebastien Pouliot [Mon, 26 Mar 2012 19:09:32 +0000 (15:09 -0400)]
Adjust System.Core and Mono.Security builds to use MonoTouch's CommonCrypto source files
Rodrigo Kumpera [Wed, 12 Dec 2012 16:24:33 +0000 (08:24 -0800)]
Merge pull request #522 from kosumosu/master
Fix for bug #2907 XML "choice" not correclty processed during deserialization
Marek Safar [Wed, 12 Dec 2012 14:42:44 +0000 (15:42 +0100)]
Bump ikvm module
Marek Safar [Wed, 12 Dec 2012 14:29:32 +0000 (15:29 +0100)]
Don't use IteratorStateMachineAttribute it makes us csc incompatible
Marek Safar [Wed, 12 Dec 2012 14:04:53 +0000 (15:04 +0100)]
Import caller attributes from referenced assemblies. Fixes #8829
Jeremie Laval [Fri, 30 Nov 2012 13:44:15 +0000 (13:44 +0000)]
[monkeydoc] Sanitize namespace/path names
Mark Probst [Wed, 12 Dec 2012 10:45:24 +0000 (11:45 +0100)]
[sgen] Try to fix Win32 build.
Roman Zavalov [Wed, 12 Dec 2012 08:33:26 +0000 (12:33 +0400)]
Fixed Choice ordered read bug #2907
Jérémie Laval [Tue, 11 Dec 2012 22:36:21 +0000 (22:36 +0000)]
[monkeydoc] Optimize Lucene index creation in ecma-provider by avoiding allocation and generic string matching
Jérémie Laval [Tue, 11 Dec 2012 17:19:00 +0000 (18:19 +0100)]
[monkeydoc] Add back Lucene search creation for ecma-provider, switching from manually generated XPath to XLinq.
Jérémie Laval [Tue, 11 Dec 2012 17:15:16 +0000 (18:15 +0100)]
[monkeydoc] Correctly compute internal id
Jérémie Laval [Tue, 11 Dec 2012 17:13:42 +0000 (18:13 +0100)]
[monkeydoc] Correctly append kind caption to types
Jérémie Laval [Tue, 11 Dec 2012 17:13:12 +0000 (18:13 +0100)]
[monkeydoc] Set things right
Jérémie Laval [Tue, 11 Dec 2012 17:12:02 +0000 (18:12 +0100)]
[monkeydoc] Use HelpSource's name to compute the cache key
Jérémie Laval [Tue, 11 Dec 2012 12:27:02 +0000 (13:27 +0100)]
[doc] Disable mono-tracing as an documented API in TOC as it's not generated anymore.
Rodrigo Kumpera [Tue, 11 Dec 2012 20:42:12 +0000 (15:42 -0500)]
Revert "Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes"
This reverts commit
8bb9b4409d3f73fdf5ec2afc3b9add6bd33f712f, reversing
changes made to
a5dd9d6910896c4d38e1b7d956f1124ab744bc67.
Atsushi Eno [Tue, 11 Dec 2012 19:03:23 +0000 (04:03 +0900)]
Fix reactive.pc file name in rpm spec.
Rodrigo Kumpera [Tue, 11 Dec 2012 17:04:01 +0000 (12:04 -0500)]
Automake can't handle missing conditional includes. Shell script our way out.
* autogen.sh: The extension module conditional include can't be done from automake
given this wonderful piece of engineering can't handle missing conditional includes
in any sane way. So what we do is to include them at autogen.sh time.
* Makefile.am.in: This puppy now needs to be pre-processed before all the automake
shinning glory kicks in.
Mark Probst [Tue, 11 Dec 2012 17:27:47 +0000 (18:27 +0100)]
[sgen] Fix SGen tests.
Concurrent sweep is gone, and concurrent M&S is in.
Jérémie Laval [Tue, 11 Dec 2012 12:06:19 +0000 (13:06 +0100)]
[build] Update Lucene.net submodule to use mono org URL
Atsushi Eno [Tue, 11 Dec 2012 08:31:00 +0000 (17:31 +0900)]
oops, forgot to bring reactive.pc back after some attempts to fix master build.
Marek Safar [Tue, 11 Dec 2012 08:28:25 +0000 (00:28 -0800)]
Merge pull request #519 from Youscribe/execution_context_call
add LogicalCallContext to ExecutionContext
Marek Safar [Tue, 11 Dec 2012 08:03:43 +0000 (00:03 -0800)]
Merge pull request #521 from DavidS/stub-ServiceInstaller-4-0
ServiceInstaller: add DelayedAutoStart property for NET_4_0
Atsushi Eno [Tue, 11 Dec 2012 06:46:02 +0000 (15:46 +0900)]
fix build so far.
Atsushi Eno [Tue, 11 Dec 2012 06:34:19 +0000 (15:34 +0900)]
Add Reactive Extensions as installed libs, take 2 (with fixed rpmspec this time).
David Schmitt [Tue, 11 Dec 2012 06:28:39 +0000 (07:28 +0100)]
ServiceInstaller: add DelayedAutoStart property for NET_4_0
Rodrigo Kumpera [Mon, 10 Dec 2012 22:15:16 +0000 (17:15 -0500)]
Introduce hooks for parallel build scripts.
* configure.in: Add new configure option that allows a parallel set of
build scripts to contribute to the current one.
* mono/mini/Makefile.am: Include the parallel build scripts when generating
Makefiles.
* mcs/build/gensources.sh:
* mcs/build/library.make: Probe for parallel source lists when building the
class libs.
Paolo Molaro [Wed, 14 Nov 2012 14:03:41 +0000 (15:03 +0100)]
Introduce support for unlimited trampolines.
With this new code there is no longer an AOT compiler limit on the number of
trampolines, as they are allocated at runtime as necessary on iOS systems.
We use iOS's ability to remap a page to a different address in memory
and we replicate the trampolines we generate in the binary file to a
location in memory near a writable page where the trampolines can find the
specific runtime data needed (basically building writable constant pools).
On a big app like bcltests, this saves more than 900KB of binary size.
There is still the option to use the old code, by passing the "nopagetrampolines"
option tp the AOT compiler (the new code is the default).
Sebastien Pouliot [Tue, 17 Apr 2012 14:17:59 +0000 (10:17 -0400)]
Simplify a bit FULL_AOT_RUNTIME build wrt use of CommonCrypto. Ref: assistly #9858
Yann ROBIN [Mon, 10 Dec 2012 21:37:38 +0000 (22:37 +0100)]
fix code according to mono coding guidelines
Yann ROBIN [Mon, 10 Dec 2012 19:55:14 +0000 (20:55 +0100)]
fix code according to mono coding guidelines
Mark Probst [Mon, 10 Dec 2012 17:50:58 +0000 (18:50 +0100)]
[sgen] Build fix.
Jonathan Pryor [Mon, 10 Dec 2012 17:15:57 +0000 (12:15 -0500)]
[monodoc] Look for docs in LocalApplicationData
Problem: At present, the MonoTouch installer merges MonoTouch
documentation "stubs" with the locally installed iOS documentation,
and installs them into
/Library/Frameworks/Mono.framework/External/monodoc. Since this
directory isn't world writable, you need to be root to do it.
Previously this wasn't a major problem ("just" run the updater as
root), but Apple is now suggesting the use of a setuid binary to do
this instead of privilege escalation:
http://blog.neteril.org/blog/2012/12/06/a-better-monomac-privilege-elevation/
The problem is that setuid binaries are notoriously difficult to write
properly, and have a large number of ways to be exploited. This is bad.
To avoid this, we instead want to stick the merged documentation into
the per-user directory, which means the updater does NOT need to run
as root, we don't need to write the documentation to a protected
directory, and the security concerns are significantly saner.
This in turn means that monodoc.dll needs to be able to look for docs
in a per-user directory, thus this patch:
Update monodoc.dll to look for documentation in the directory:
Path.Combine (
Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData),
"monodoc")
(On OS X/Unix, this is ~/.local/share/monodoc.)
This is a per-user directory, writable by the user.
Mark Probst [Sun, 9 Dec 2012 13:26:17 +0000 (14:26 +0100)]
[sgen] Mention marksweep-conc in the man page.
Mark Probst [Sun, 2 Dec 2012 13:48:00 +0000 (14:48 +0100)]
[sgen] Debugging code to check gray queue section's states.
Mark Probst [Fri, 30 Nov 2012 22:00:35 +0000 (23:00 +0100)]
[sgen] Just pass one struct around, instead of scan_func, copy_func and queue.
Mark Probst [Fri, 30 Nov 2012 20:57:16 +0000 (21:57 +0100)]
[sgen] Use SGEN_ATOMIC_ADD instead of doing it by hand.
Mark Probst [Thu, 29 Nov 2012 15:37:54 +0000 (16:37 +0100)]
[sgen] Define all dummy DTrace macros.
Mark Probst [Thu, 29 Nov 2012 14:23:13 +0000 (15:23 +0100)]
[sgen] A few assertions.
Mark Probst [Thu, 29 Nov 2012 14:22:33 +0000 (15:22 +0100)]
[sgen] Start the workers before pinning when concurrent.
Mark Probst [Thu, 29 Nov 2012 14:21:01 +0000 (15:21 +0100)]
[sgen] Disable redirection to distribute queue after workers have stopped.
Mark Probst [Thu, 29 Nov 2012 10:26:18 +0000 (11:26 +0100)]
[sgen] Fix weak tracking links in concurrent mark.
This was broken because nursery objects were not marked pinned
at the time references were checked, so they were considered dead
and the links were nulled.
We solve this by not unpinning them in the finishing nursery collection
but instead leaving them pinned during the finish-up of the major
collection and unpinning them afterwards.
Mark Probst [Tue, 27 Nov 2012 17:07:48 +0000 (18:07 +0100)]
Make weak links initialized to NULL before calling mono_gc_weak_link_add().
This has no effect, but the weak link DTrace probes don't get uninitialized
pointers anymore.
Mark Probst [Tue, 27 Nov 2012 17:01:02 +0000 (18:01 +0100)]
[sgen] DTrace probes for finalisers and weak links.
Mark Probst [Sat, 24 Nov 2012 16:03:40 +0000 (17:03 +0100)]
[sgen] Remove workers_gc_thread_data.
It's not used anymore.
Mark Probst [Thu, 22 Nov 2012 12:11:35 +0000 (13:11 +0100)]
[sgen] Number of major objects marked in concurrent DTrace probes.
Can be enabled/disabled via #define in sgen-conf.h. Disabled by default
because it's a small performance hit.
Mark Probst [Thu, 22 Nov 2012 11:56:20 +0000 (12:56 +0100)]
[sgen] Remove debugging printfs.
Mark Probst [Sun, 18 Nov 2012 16:52:29 +0000 (17:52 +0100)]
[sgen] Handle all blocks without mod union tables, not just the small object ones.
Mark Probst [Sun, 18 Nov 2012 16:45:29 +0000 (17:45 +0100)]
[sgen] Handle major object remembers happening outside of nursery collections.
Mark Probst [Fri, 16 Nov 2012 17:24:57 +0000 (18:24 +0100)]
[sgen] Option to disable lazy sweep in MONO_GC_PARAMS.
Mark Probst [Fri, 16 Nov 2012 17:21:27 +0000 (18:21 +0100)]
[sgen] Don't try to wake up workers before they've been started.
We enqueue gray objects before starting the workers, so queue section redirection
can also happen before. Don't crash with an assertion.
Mark Probst [Fri, 16 Nov 2012 16:29:08 +0000 (17:29 +0100)]
[sgen] Remove stupid old concurrent sweep.
Mark Probst [Fri, 16 Nov 2012 10:53:01 +0000 (11:53 +0100)]
[sgen] Sweep blocks in cardtable scans only if there are marked cards in the block.
Mark Probst [Fri, 16 Nov 2012 10:52:06 +0000 (11:52 +0100)]
[sgen] Don't try to wait for workers unless we're concurrent and/or parallel.
Mark Probst [Fri, 16 Nov 2012 10:48:05 +0000 (11:48 +0100)]
[sgen] More information in sweep and world restart DTrace probes.
Pass to the sweep probes whether a full sweep (including memset and resetting
mark bitmaps) was performed.
Pass to the world restart probes the oldest generation collected during
the pause.
Mark Probst [Thu, 15 Nov 2012 15:05:20 +0000 (16:05 +0100)]
[sgen] Fix locking of the worker distribute gray queue.
The worker distribute gray queue is written to by the main GC thread
and read from by the worker thread(s) for work distribution. Locking it is
therefore necessary, but we weren't doing it properly.
Previously I implemented optional locking for gray queues, but that's a
bad idea because it makes the enqueue fast path slower. Now gray queues
are back to non-locking, but we have a new queue type, the section gray
queue, which is only accessible on a gray queue section granularity, not
on an individual object granularity, like regular gray queues. Performance
there is not as critical, so locking is no problem.
Mark Probst [Tue, 13 Nov 2012 19:42:41 +0000 (20:42 +0100)]
[sgen] Remove gray queue balance.
Old, unmaintained debugging stuff.
Mark Probst [Wed, 7 Nov 2012 16:06:43 +0000 (17:06 +0100)]
[sgen] DTrace probes for sweep begin/end and concurrent start/finish begin/end.
Mark Probst [Wed, 7 Nov 2012 15:58:43 +0000 (16:58 +0100)]
[sgen] Workers dequeue from the distribute gray queue directly.
Previously we manually fed the workers, only restarting the world
when the distribute gray queue was empty, which neglected most of the
benefit of concurrent collection. Now we use locking for the queue and
let workers drain it while the world runs again.
If the locking turns out to be a bottleneck we could implement a lock-free
queue.
Mark Probst [Tue, 6 Nov 2012 14:11:46 +0000 (15:11 +0100)]
[sgen] Always allocate objects with a vtable.
Mark Probst [Mon, 5 Nov 2012 11:08:41 +0000 (12:08 +0100)]
[sgen] DTrace probes for world stop/restart.
Mark Probst [Fri, 2 Nov 2012 20:26:16 +0000 (21:26 +0100)]
[sgen] Only scan marked objects when processing the mod union card table.
Mark Probst [Thu, 1 Nov 2012 18:30:41 +0000 (19:30 +0100)]
[sgen] Make nursery-is-clean check a MONO_GC_DEBUG option.
Mark Probst [Thu, 1 Nov 2012 18:28:02 +0000 (19:28 +0100)]
[sgen] Debugging checks on gray object enqueues.
Have an optional (compile-time #define) hook in gray object queues to
check references whenever they are enqueued. Currently we only check
that we never enqueue nursery pointers in the concurrent collector.
Mark Probst [Thu, 1 Nov 2012 18:24:44 +0000 (19:24 +0100)]
[sgen] Never enqueue nursery pointers for the concurrent collector.
The concurrent collector must never touch the nursery because it can change
during nursery collections. During the initial scan we process all pinned objects
in the nursery. This must be done non-concurrently.
Mark Probst [Thu, 1 Nov 2012 13:08:09 +0000 (14:08 +0100)]
[sgen] Major collection concurrent with nursery collections.
Mark Probst [Thu, 1 Nov 2012 13:03:35 +0000 (14:03 +0100)]
[sgen] Separate binary protocol entries for collection begin and end.
Mark Probst [Thu, 1 Nov 2012 13:00:51 +0000 (14:00 +0100)]
[sgen] Objects promoted during concurrent collections must be marked, too.
Mark Probst [Thu, 1 Nov 2012 12:52:31 +0000 (13:52 +0100)]
[sgen] Clear nursery fragments before whole heap check.
Mark Probst [Sun, 28 Oct 2012 11:21:10 +0000 (12:21 +0100)]
[sgen] Enqueue objects allocated during minor collections for concurrent.
Mark Probst [Sun, 28 Oct 2012 10:56:00 +0000 (11:56 +0100)]
[sgen] Pass scan function to sgen_drain_gray_stack().
Mark Probst [Sun, 28 Oct 2012 10:48:22 +0000 (11:48 +0100)]
[sgen] Handle forwarded objects better in describe_ptr().
Mark Probst [Sat, 27 Oct 2012 13:12:14 +0000 (15:12 +0200)]
[sgen] Do concurrent collection concurrently.
Finish before the next collection.
Mark Probst [Fri, 26 Oct 2012 20:22:10 +0000 (22:22 +0200)]
[sgen] Allocate job data dynamically.
Mark Probst [Fri, 26 Oct 2012 18:33:16 +0000 (20:33 +0200)]
[sgen] Scan cardtable mod union when finishing up major collection.
Mark Probst [Fri, 26 Oct 2012 07:27:06 +0000 (09:27 +0200)]
[sgen] Do another copy/mark pass when finishing up concurrent collection.
Mark Probst [Fri, 26 Oct 2012 07:24:50 +0000 (09:24 +0200)]
[sgen] Assert that concurrent mark never pins major objects.
Mark Probst [Fri, 26 Oct 2012 00:06:50 +0000 (02:06 +0200)]
[sgen] Factor out major copying and marking from roots, waiting for workers.
Mark Probst [Thu, 25 Oct 2012 22:23:47 +0000 (00:23 +0200)]
[sgen] Don't check the value for nursery in the concurrent wbarrier.
Mark Probst [Thu, 25 Oct 2012 19:53:11 +0000 (21:53 +0200)]
[sgen] Mod-union card tables.
Mark Probst [Thu, 25 Oct 2012 15:50:34 +0000 (17:50 +0200)]
[sgen] Don't pin when doing concurrent collections.
The mutator can't handle the pin bit, and the concurrent collector
doesn't move objects out of the nursery, so pinning is neither
required nor allowed.
Mark Probst [Thu, 25 Oct 2012 15:02:18 +0000 (17:02 +0200)]
[sgen] Reset pinning early in concurrent collector.
The concurrent collector doesn't do anything with pinning data, and
pinning must be reset for intervening minor collections.
Mark Probst [Thu, 25 Oct 2012 14:45:52 +0000 (16:45 +0200)]
[sgen] Separate function for finishing major collections.
Mark Probst [Thu, 25 Oct 2012 14:01:38 +0000 (16:01 +0200)]
[sgen] Only allow the card table wbarrier for concurrent collections.
Mark Probst [Mon, 22 Oct 2012 23:35:48 +0000 (01:35 +0200)]
[sgen] Some nursery stuff isn't necessary for concurrent mark.
Concurrent mark requires that it's preceded by a nursery collection,
so we don't need to do some stuff again.
Mark Probst [Mon, 22 Oct 2012 23:30:35 +0000 (01:30 +0200)]
[sgen] Separate mark for concurrent collector. Not concurrent yet.
Mark Probst [Mon, 22 Oct 2012 14:30:15 +0000 (16:30 +0200)]
[sgen] Concurrent flag for major collectors.
Mark Probst [Sun, 21 Oct 2012 20:34:53 +0000 (22:34 +0200)]
[sgen] Mark/pin large objects in the LOS header, not the vtable word.
This is necessary for the concurrent collector because we are not
allowed to change the vtable pointer while the mutator is running.
Mark Probst [Sun, 21 Oct 2012 18:08:44 +0000 (20:08 +0200)]
[sgen] Split major collection into startup and work.
Startup is everything that's done to feed the workers. The rest is
waiting for the workers to finish, and sweep/cleanup.
Mark Probst [Sun, 21 Oct 2012 18:02:53 +0000 (20:02 +0200)]
[sgen] Tiny code cleanup.
Mark Probst [Sun, 21 Oct 2012 17:43:48 +0000 (19:43 +0200)]
[sgen] Remove superfluous fields from LOSObject.
Mark Probst [Sun, 21 Oct 2012 16:40:04 +0000 (18:40 +0200)]
[sgen] Mark unused gray queue as invalid.
For parallel collections we don't use the main thread's gray queue, so
assert in case there's something enqueued.
Mark Probst [Sun, 9 Dec 2012 14:00:06 +0000 (15:00 +0100)]
Properly (?) fix TimeZoneInfo.cs build.
I'm just taking a wild guess that this is the proper fix. Please review.