mono.git
13 years agoMerge branch 'master' of github.com:mono/mono
Marek Safar [Fri, 27 Aug 2010 07:42:49 +0000 (08:42 +0100)]
Merge branch 'master' of github.com:mono/mono

13 years agoNew test
Marek Safar [Fri, 27 Aug 2010 07:42:15 +0000 (08:42 +0100)]
New test

13 years agoAdd IsSystemEndpoint property and treat system endpoints as non-service.
Atsushi Eno [Fri, 27 Aug 2010 07:34:53 +0000 (16:34 +0900)]
Add IsSystemEndpoint property and treat system endpoints as non-service.

13 years agoStore information about file shares in a hash table instead of a 4MB array if
Zoltan Varga [Thu, 26 Aug 2010 21:47:34 +0000 (23:47 +0200)]
Store information about file shares in a hash table instead of a 4MB array if
SHM is disabled. Fixes #634529.

13 years ago[PLinq] Add Cancellation checks even deeper. Introduce merge token.
Jérémie Laval [Thu, 26 Aug 2010 21:24:47 +0000 (22:24 +0100)]
[PLinq] Add Cancellation checks even deeper. Introduce merge token.

Merge token are simply the combined cancellation source of user (i.e. token supplied with PLinq operator WithCancellation) and internal tokens (supplied with WithImplementerToken).

13 years agoFix the changelog script to work in MonkeyWrench
Andrew Jorgensen [Thu, 26 Aug 2010 18:38:00 +0000 (12:38 -0600)]
Fix the changelog script to work in MonkeyWrench

* Makefile.am: Check for GIT_DIR if defined (rather than .git)
* commits-to-changelog.py: BUILD_REVISION rather than HEAD if defined

13 years agoFix the build
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:08:23 +0000 (15:08 -0400)]
Fix the build

13 years agoAdd more info for -z parameter
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:07:02 +0000 (15:07 -0400)]
Add more info for -z parameter

Mention that zlib development package is needed for that option to
work.

13 years agoFree allocated unmanaged memory.
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:01:15 +0000 (15:01 -0400)]
Free allocated unmanaged memory.

Ditto.

13 years agoTranslate socket error to match .NET
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 18:10:56 +0000 (14:10 -0400)]
Translate socket error to match .NET

send(2) does not return ETIMEDOUT for a blocking socket with a write
timeout set, which causes the wrong error code to be reported to the
managed world.
Fixes bug #599488.

13 years agoBump version to 2.8.1
Andrew Jorgensen [Thu, 26 Aug 2010 15:51:57 +0000 (09:51 -0600)]
Bump version to 2.8.1

2.8.ODD will mean git master and 2.8.EVEN will mean a release branch

13 years agoAdd the mono-api-info man page
Andrew Jorgensen [Thu, 26 Aug 2010 14:51:50 +0000 (08:51 -0600)]
Add the mono-api-info man page

13 years agoAvoid warnings on machines with cpus > 16.
Zoltan Varga [Thu, 26 Aug 2010 14:17:50 +0000 (16:17 +0200)]
Avoid warnings on machines with cpus > 16.

13 years agoAdd timeout in duplex (UDP) client. Set Via URI to not raise scheme mismatch.
Atsushi Eno [Thu, 26 Aug 2010 14:16:53 +0000 (23:16 +0900)]
Add timeout in duplex (UDP) client. Set Via URI to not raise scheme mismatch.

13 years agoJagged arrays have to be imported not created
Marek Safar [Thu, 26 Aug 2010 10:52:39 +0000 (11:52 +0100)]
Jagged arrays have to be imported not created

13 years agoRun event type detection on actual and not context type
Marek Safar [Thu, 26 Aug 2010 10:33:42 +0000 (11:33 +0100)]
Run event type detection on actual and not context type

13 years ago[PLinq] Reactivate a bunch more of unit tests
Jérémie Laval [Thu, 26 Aug 2010 11:05:44 +0000 (12:05 +0100)]
[PLinq] Reactivate a bunch more of unit tests

13 years ago[PLinq] Add a more specialized visitor object for checking query ordering.
Jérémie Laval [Thu, 26 Aug 2010 10:54:38 +0000 (11:54 +0100)]
[PLinq] Add a more specialized visitor object for checking query ordering.

13 years ago[PLinq] Implement SelectMany ordered mode
Jérémie Laval [Thu, 26 Aug 2010 10:26:02 +0000 (11:26 +0100)]
[PLinq] Implement SelectMany ordered mode

13 years ago[PLinq] Add SelectMany unit tests
Jérémie Laval [Thu, 26 Aug 2010 10:25:26 +0000 (11:25 +0100)]
[PLinq] Add SelectMany unit tests

13 years ago[PLinq] Refactor underlying enumerator management in OrderingEnumerator
Jérémie Laval [Thu, 26 Aug 2010 10:24:38 +0000 (11:24 +0100)]
[PLinq] Refactor underlying enumerator management in OrderingEnumerator

13 years agoAdd a new test for SerializationInfo.SetType.
Carlos Alberto Cortez [Thu, 26 Aug 2010 09:38:01 +0000 (11:38 +0200)]
Add a new test for SerializationInfo.SetType.

* SerializationInfoTest.cs: Add a SetType test.

13 years agoSet 4.0 members in SerializationInfo.SetType.
Carlos Alberto Cortez [Wed, 25 Aug 2010 21:24:23 +0000 (23:24 +0200)]
Set 4.0 members in SerializationInfo.SetType.

* SerializationInfo.cs: Set/reset the new 4.0 members in SetType
based on the new type.

13 years ago[PLinq] Add dummy GetEnumerator override in OrderedParallelQuery to make gui-compare...
Jérémie Laval [Thu, 26 Aug 2010 12:49:11 +0000 (13:49 +0100)]
[PLinq] Add dummy GetEnumerator override in OrderedParallelQuery to make gui-compare happy

13 years ago[PLinq] Enable First and FirstOrDefault unit tests
Jérémie Laval [Thu, 26 Aug 2010 12:45:27 +0000 (13:45 +0100)]
[PLinq] Enable First and FirstOrDefault unit tests

13 years ago[PLinq] Include Cancellation checks deeper in the pipeline processing
Jérémie Laval [Thu, 26 Aug 2010 12:44:44 +0000 (13:44 +0100)]
[PLinq] Include Cancellation checks deeper in the pipeline processing

13 years agoPrepare duplex client types for Adhoc mode for DiscoveryClient.
Atsushi Eno [Thu, 26 Aug 2010 11:36:18 +0000 (20:36 +0900)]
Prepare duplex client types for Adhoc mode for DiscoveryClient.

13 years agoAdd missing constructors (new in 4.0 ones as well as old 3.0 ones).
Atsushi Eno [Thu, 26 Aug 2010 11:33:15 +0000 (20:33 +0900)]
Add missing constructors (new in 4.0 ones as well as old 3.0 ones).

13 years agoImport private event backing fields in dynamic context
Marek Safar [Thu, 26 Aug 2010 09:40:10 +0000 (10:40 +0100)]
Import private event backing fields in dynamic context

13 years agoSpecial case unbox SLE conversion
Marek Safar [Thu, 26 Aug 2010 07:53:14 +0000 (08:53 +0100)]
Special case unbox SLE conversion

13 years agoMaintain only one place with dynamic explicit conversions
Marek Safar [Wed, 25 Aug 2010 15:34:59 +0000 (16:34 +0100)]
Maintain only one place with dynamic explicit conversions

13 years agoDefer null check to resolver
Marek Safar [Wed, 25 Aug 2010 13:56:04 +0000 (14:56 +0100)]
Defer null check to resolver

13 years agoRemove mono-abi-info from the .spec file
Andrew Jorgensen [Wed, 25 Aug 2010 22:03:46 +0000 (16:03 -0600)]
Remove mono-abi-info from the .spec file

13 years agoMultiple compatibility fixes for web headers on Moonlight
Sebastien Pouliot [Wed, 25 Aug 2010 14:06:28 +0000 (10:06 -0400)]
Multiple compatibility fixes for web headers on Moonlight

* HttpWebRequest_2_1.cs: Avoid using AllKeys (unneeded allocations)
* WebClient_2_1.cs: Copy headers to WebRequest (some special cases are
now considered) then clear them. Expose SecurityException (unwrapped)
and closely match SL4 exceptions (including inner exceptions).
* WebHeaderCollection_2_1.cs: Add missing validations on header names
and values (from original WebHeaderCollection.cs + small fix)

13 years agoAdd sgen-cardtable.c to sgen_sources (for dist)
Andrew Jorgensen [Wed, 25 Aug 2010 18:37:20 +0000 (12:37 -0600)]
Add sgen-cardtable.c to sgen_sources (for dist)

13 years agoAdd test for #633671
Rodrigo Kumpera [Wed, 25 Aug 2010 17:08:26 +0000 (14:08 -0300)]
Add test for #633671

13 years agoFix value returned by PropertyInfo::DeclaringType
Rodrigo Kumpera [Wed, 25 Aug 2010 16:41:22 +0000 (13:41 -0300)]
Fix value returned by PropertyInfo::DeclaringType

in mcs/class/corlib/System.Reflection:

* MonoProperty.cs: Don't share the same field with
DeclaringType and ReflectedType.

in mcs/class/corlib/System:

* Environment.cs: Dump corlib version.

in mono/metadata:

* appdomain.c: Bump corlib version.

* object-internals.h: Add new field to MonoPropertyInfo.

* icall.c (ves_icall_get_property_info): Store the
declaring type into the new field.

Fixes #633671

13 years agoAdd --quiet-build (on by default)
Gonzalo Paniagua Javier [Wed, 25 Aug 2010 16:30:25 +0000 (12:30 -0400)]
Add --quiet-build (on by default)

13 years agoIgnore removed ChangeLog files
Gonzalo Paniagua Javier [Wed, 25 Aug 2010 15:28:49 +0000 (11:28 -0400)]
Ignore removed ChangeLog files

If a ChangeLog has been removed, don't try to open the file.

13 years agoFix a warning.
Zoltan Varga [Wed, 25 Aug 2010 15:22:18 +0000 (17:22 +0200)]
Fix a warning.

13 years ago[sgen] Fix build.
Mark Probst [Wed, 25 Aug 2010 15:12:23 +0000 (17:12 +0200)]
[sgen] Fix build.

13 years agoFlush updated expected output due to compiler /doc improvements.
Jonathan Pryor [Wed, 25 Aug 2010 12:52:52 +0000 (08:52 -0400)]
Flush updated expected output due to compiler /doc improvements.

'gmcs /doc' now properly generates explicitly implemented interface member
//member/@name values, so mdoc-update can now find them for the import.  Yay!

13 years agoFix explicitly-implemented interface member cref generation.
Jonathan Pryor [Wed, 25 Aug 2010 12:41:59 +0000 (08:41 -0400)]
Fix explicitly-implemented interface member cref generation.

The //member/@name for explicitly implemented interface members needs to
contain the fully-qualified interface name, including type parameters (if
necessary), so we need to generate
"M:Container`2.Element.System#ICloneable#Clone", not
"M:Container`2.Element.ICloneable.Clone".

Furthermore, explicitly implemented generic interface methods within a generic
type were always getting the type parameter count appended to them (which
somewhat makes sense, as they're on a generic type...) which is counter to what
CSC generates, e.g. we need to generate
"P:Container`2.System#Collections#Generic#IList<TValue>#Item(System.Int32)"
not "P:Container`2.IList`1.Item``1(System.Int32)".

13 years ago[PLinq] Use default comparer instead of throwing an ANE in PLinq operators
Jérémie Laval [Wed, 25 Aug 2010 12:16:58 +0000 (13:16 +0100)]
[PLinq] Use default comparer instead of throwing an ANE in PLinq operators

13 years agoShow better message when assigning to the type
Marek Safar [Wed, 25 Aug 2010 11:36:59 +0000 (12:36 +0100)]
Show better message when assigning to the type

13 years agoflush pending DiscoveryClientBindingElement work.
Atsushi Eno [Wed, 25 Aug 2010 10:01:42 +0000 (19:01 +0900)]
flush pending DiscoveryClientBindingElement work.

13 years ago[PLinq] Add GroupBy unit tests
Jérémie Laval [Wed, 25 Aug 2010 09:54:16 +0000 (10:54 +0100)]
[PLinq] Add GroupBy unit tests

13 years agoImport private members too when using dynamic context
Marek Safar [Wed, 25 Aug 2010 09:20:03 +0000 (10:20 +0100)]
Import private members too when using dynamic context

13 years agoImport all delegates as sealed
Marek Safar [Tue, 24 Aug 2010 17:11:55 +0000 (18:11 +0100)]
Import all delegates as sealed

13 years agoProbing dynamic compatibility is identical to object
Marek Safar [Tue, 24 Aug 2010 14:23:50 +0000 (15:23 +0100)]
Probing dynamic compatibility is identical to object

13 years ago[sgen] Inline card table wbarrier with nursery check.
Mark Probst [Sat, 21 Aug 2010 18:36:29 +0000 (20:36 +0200)]
[sgen] Inline card table wbarrier with nursery check.

Our previous inline card table write barrier did not perform
any checks on the pointers, which means that it marked cards
for the major heap even if the references stored there were
not to nursery objects.  Doing that is slightly faster in the
mutator but the nursery collections might take a lot longer
because objects might have to scanned unnecessarily.

This patch implements an inline write barrier that also
performs a nursery check.  To that end we introduce a new
IL opcode, OP_CARD_TABLE_WBARRIER.

It is currently only implemented on x86.  For architectures
that don't support it (yet), we automatically regress to the
old, non-checking write barrier.

13 years agoAvoid NRE when ServiceEndpoint neither have Binding nor Contract.
Atsushi Eno [Wed, 25 Aug 2010 08:28:23 +0000 (17:28 +0900)]
Avoid NRE when ServiceEndpoint neither have Binding nor Contract.

13 years ago[sgen] Properly update heap boundaries for fixed-heap mark&sweep.
Mark Probst [Wed, 25 Aug 2010 03:52:03 +0000 (05:52 +0200)]
[sgen] Properly update heap boundaries for fixed-heap mark&sweep.

We didn't update the heap boundaries correctly in the fixed-heap
mark&sweep collector, which could lead to pins being lost.

13 years ago[sgen] Make binary protocol thread-safe for real.
Mark Probst [Wed, 25 Aug 2010 03:49:16 +0000 (05:49 +0200)]
[sgen] Make binary protocol thread-safe for real.

There was still an issue with thread-safety of binary protocols: If
the world was stopped while a thread was in the process of using a
binary protocol buffer, the GC would write all buffers to the file and
release the memory, making the thread crash once it restarted.

We fix this here by keeping a count of how many threads currently use
the buffers.  If they are in use when we try to save and free them, we
don't.  They'll be saved and freed eventually.

13 years agoongoing DiscoveryClientBindingElement implementation.
Atsushi Eno [Wed, 25 Aug 2010 04:02:46 +0000 (13:02 +0900)]
ongoing DiscoveryClientBindingElement implementation.

13 years agoAdd regression test for 633291.
Rodrigo Kumpera [Tue, 24 Aug 2010 19:10:47 +0000 (16:10 -0300)]
Add regression test for 633291.

13 years agoFix EH handling corner case.
Rodrigo Kumpera [Tue, 24 Aug 2010 19:04:48 +0000 (16:04 -0300)]
Fix EH handling corner case.

* mini.c (create_jit_info): Handle the case where the basic
block right after a try block is dead. For example:
.try {
....
leave ...
}
nop //HERE
.catch {
...
}

The above nop is dead code and the branch opts will nullify it
which caused the code in create_jit_info to assert when
calculating the try block lenght.

This is a very rare case since only obfuscators or broken
compilers would put instruction between the try and handler
blocks.

The fix is to simply iterate over all CIL addresses of the
try block in reverse order looking for the first block which
was not removed.

Fixes 633291

13 years agoDo some refactoring in the local register allocator.
Zoltan Varga [Tue, 24 Aug 2010 19:19:53 +0000 (21:19 +0200)]
Do some refactoring in the local register allocator.

Rename a few functions to better reflect their purpose, Use free_up_hreg in
more places.

13 years agoFix a problem introduced by the last CAS regalloc change.
Zoltan Varga [Tue, 24 Aug 2010 18:55:44 +0000 (20:55 +0200)]
Fix a problem introduced by the last CAS regalloc change.

13 years agoMake sgen compile on OpenBSD, by adding the missing stuff
Robert Nagy [Tue, 24 Aug 2010 18:25:22 +0000 (02:25 +0800)]
Make sgen compile on OpenBSD, by adding the missing stuff

13 years agoFix permissions
Gonzalo Paniagua Javier [Tue, 24 Aug 2010 18:32:21 +0000 (14:32 -0400)]
Fix permissions

13 years ago[PLinq] Implement GroupBy operator
Jérémie Laval [Tue, 24 Aug 2010 16:37:18 +0000 (17:37 +0100)]
[PLinq] Implement GroupBy operator

13 years ago[PLinq] Turn Wrap into an extension method
Jérémie Laval [Tue, 24 Aug 2010 16:36:35 +0000 (17:36 +0100)]
[PLinq] Turn Wrap into an extension method

13 years agoCorrectly support calling lazily factory lambdas in ConcurrentDictionary.
Jérémie Laval [Tue, 24 Aug 2010 16:35:19 +0000 (17:35 +0100)]
Correctly support calling lazily factory lambdas in ConcurrentDictionary.

13 years agoRevert "Close mscorlib on shutdown to avoid leaking it."
Zoltan Varga [Tue, 24 Aug 2010 15:57:19 +0000 (17:57 +0200)]
Revert "Close mscorlib on shutdown to avoid leaking it."

This was only needed because of the buggy assemblyref in mscorlib to itself.

This reverts commit 77d0ee57abd056c3c04f645c9324ee4c4a937b8c.

13 years agoFix the generation of debug information in AOT files which got broken by
Zoltan Varga [Tue, 24 Aug 2010 15:20:16 +0000 (17:20 +0200)]
Fix the generation of debug information in AOT files which got broken by
the last change to dwarfwriter.c.

13 years agoRemove obsolete profiles.
Zoltan Varga [Mon, 23 Aug 2010 23:20:06 +0000 (01:20 +0200)]
Remove obsolete profiles.

13 years agoDisable W1699 in the basic profile too.
Zoltan Varga [Mon, 23 Aug 2010 23:12:18 +0000 (01:12 +0200)]
Disable W1699 in the basic profile too.

13 years agoUpdate the message in the mcs dir-check.
Zoltan Varga [Mon, 23 Aug 2010 23:11:04 +0000 (01:11 +0200)]
Update the message in the mcs dir-check.

13 years ago[PLinq] Really add QueryJoinNode
Jérémie Laval [Tue, 24 Aug 2010 14:56:28 +0000 (15:56 +0100)]
[PLinq] Really add QueryJoinNode

13 years ago[PLinq] Add test for Join operator
Jérémie Laval [Tue, 24 Aug 2010 13:08:45 +0000 (14:08 +0100)]
[PLinq] Add test for Join operator

13 years ago[PLinq] Plug in QueryJoinNode for Join operator
Jérémie Laval [Tue, 24 Aug 2010 12:47:19 +0000 (13:47 +0100)]
[PLinq] Plug in QueryJoinNode for Join operator

13 years agoUse Interlocked.Read (long) call directly in CyclicDeque.
Jérémie Laval [Tue, 24 Aug 2010 12:45:50 +0000 (13:45 +0100)]
Use Interlocked.Read (long) call directly in CyclicDeque.

Since the call is also implemented as a simple long load operation in the runtime when on x86-64 there is no need to do the differentiation in managed code.

13 years agoFlush expected output for mdoc unit tests.
Jonathan Pryor [Tue, 24 Aug 2010 12:50:35 +0000 (08:50 -0400)]
Flush expected output for mdoc unit tests.

No mdoc changes, but since 'mdoc update --exceptions=all' scans across
assemblies, and since System.Delegate.Combine() now throws additional
exceptions (according to our IL scanning algorithm), the expected output
differs, leading to false negatives about regressions.

Furthermore, 'gmcs /doc' has been fixed (it used to cause a compilation
error) and improved, so more XML documentation is now imported because gmcs is
generating the correct XML documentation crefs.  (Go gmcs, go!)

13 years agoImprove XML documentation support for generic type parameters.
Jonathan Pryor [Tue, 24 Aug 2010 12:43:39 +0000 (08:43 -0400)]
Improve XML documentation support for generic type parameters.

Fixes #624242

This also allows master 'gmcs /doc' to build OpenTK, gitorious.org/cadenza,
and build the mcs/tools/mdoc unit tests w/o compilation error.

The bug was caused by a NotSupportedException when calling ArrayContainer.Name
within DocUtil.GetSignatureForDoc(TypeSpec).  This is directly fixed by
checking explicitly for ArrayContainer.

Another bug fixed was wrt type parameter indexing in nested types, hence
"counting" the number of type parameters declared in all declaring types.

13 years agoMore variance best candidate tweaks
Marek Safar [Tue, 24 Aug 2010 12:49:40 +0000 (13:49 +0100)]
More variance best candidate tweaks

13 years ago[633674] Consider nested inflated types when mutating fields and methods
Marek Safar [Tue, 24 Aug 2010 11:38:47 +0000 (12:38 +0100)]
[633674] Consider nested inflated types when mutating fields and methods

13 years agoOngoing discovery client and service implementation.
Atsushi Eno [Tue, 24 Aug 2010 11:22:09 +0000 (20:22 +0900)]
Ongoing discovery client and service implementation.

13 years ago[633277] Import type parameters used as type parameter constraints
Marek Safar [Tue, 24 Aug 2010 09:57:55 +0000 (10:57 +0100)]
[633277] Import type parameters used as type parameter constraints

13 years agoFire AnnouncementService events when messages are arrived.
Atsushi Eno [Tue, 24 Aug 2010 09:57:45 +0000 (18:57 +0900)]
Fire AnnouncementService events when messages are arrived.

13 years agoDisable separate loop for HttpListener context acquisition. It prevents HttpStandalon...
Atsushi Eno [Tue, 24 Aug 2010 09:33:12 +0000 (18:33 +0900)]
Disable separate loop for HttpListener context acquisition. It prevents HttpStandaloneChannelListener from closing itself.

13 years agoRecreate proxy parameters for imported methods
Marek Safar [Tue, 24 Aug 2010 09:17:57 +0000 (10:17 +0100)]
Recreate proxy parameters for imported methods

13 years agoFixes bootstrap corlib build
Marek Safar [Tue, 24 Aug 2010 08:02:38 +0000 (09:02 +0100)]
Fixes bootstrap corlib build

13 years agoDynamic shares object members internally
Marek Safar [Tue, 24 Aug 2010 07:25:17 +0000 (08:25 +0100)]
Dynamic shares object members internally

13 years agoFixed type inference between upper and lower bounds
Marek Safar [Mon, 23 Aug 2010 21:29:29 +0000 (22:29 +0100)]
Fixed type inference between upper and lower bounds

13 years agoAdd explicit variant delegates conversion
Marek Safar [Mon, 23 Aug 2010 15:56:25 +0000 (16:56 +0100)]
Add explicit variant delegates conversion

13 years agoAdd the Sgen license text to the new sgen files
Miguel de Icaza [Tue, 24 Aug 2010 01:21:23 +0000 (21:21 -0400)]
Add the Sgen license text to the new sgen files

13 years ago[asp.net] Fix for bug #633756. Children processed as properties must be instantiated...
Marek Habersack [Mon, 23 Aug 2010 22:57:29 +0000 (00:57 +0200)]
[asp.net] Fix for bug #633756. Children processed as properties must be instantiated before using.

When a server-side control processes its children (in the markup) as properties, it needs to instantiate
an object of the property type and assign it to the appropriate property of the control. Failing to do so
will cause markup which references properties to fail in certain cases (for instance when the control's
property type is a class and it is not instantiated by the control's constructor).

13 years agoDisable W1699.
Zoltan Varga [Mon, 23 Aug 2010 22:32:13 +0000 (00:32 +0200)]
Disable W1699.

13 years agoAdd a CAS regalloc test.
Zoltan Varga [Mon, 23 Aug 2010 22:25:00 +0000 (00:25 +0200)]
Add a CAS regalloc test.

13 years agoMore CAS regalloc fixes.
Zoltan Varga [Mon, 23 Aug 2010 22:23:37 +0000 (00:23 +0200)]
More CAS regalloc fixes.

Set sreg_masks [j] correctly for CAS, spill sreg1/2 if they are assigned to
dest_sreg. Set dest:a for the CAS opcodes on amd64.

13 years agoMerge branch 'cardtable-inline-nofix'
Mark Probst [Mon, 23 Aug 2010 21:10:01 +0000 (23:10 +0200)]
Merge branch 'cardtable-inline-nofix'

13 years ago[Documentation] Update man page with write barrier setting.
Mark Probst [Fri, 20 Aug 2010 21:51:41 +0000 (23:51 +0200)]
[Documentation] Update man page with write barrier setting.

13 years ago[sgen] Shorter IR for inlined write barrier.
Mark Probst [Fri, 13 Aug 2010 22:23:46 +0000 (00:23 +0200)]
[sgen] Shorter IR for inlined write barrier.

13 years ago[sgen] Inline card table write barrier.
Mark Probst [Fri, 13 Aug 2010 19:23:51 +0000 (21:23 +0200)]
[sgen] Inline card table write barrier.

If the card table write barrier is used, emit it inline.
It's a quick address calculation and a single store, so
it's much more efficient than our old write barrier.

13 years ago[mini] Factor out function for emitting write barriers.
Mark Probst [Fri, 13 Aug 2010 17:53:20 +0000 (19:53 +0200)]
[mini] Factor out function for emitting write barriers.

13 years ago[sgen] Use cardtable for all wbarriers, not just generic store.
Rodrigo Kumpera [Fri, 20 Aug 2010 19:36:53 +0000 (21:36 +0200)]
[sgen] Use cardtable for all wbarriers, not just generic store.

13 years ago[sgen] Use mincore to dump faulted pages in the cardtable.
Rodrigo Kumpera [Fri, 20 Aug 2010 19:22:00 +0000 (21:22 +0200)]
[sgen] Use mincore to dump faulted pages in the cardtable.

Debug printing code, currently disabled.

13 years ago[sgen] Direct card table implementation.
Rodrigo Kumpera [Fri, 20 Aug 2010 19:13:02 +0000 (21:13 +0200)]
[sgen] Direct card table implementation.

This is a direct card table, meaning there is only card table
level, which makes it very simple and efficient.  It only works
on 32 bits at this point, and only for Mark&Sweep.

13 years agoremove unused variable
Robert Nagy [Mon, 23 Aug 2010 20:19:50 +0000 (04:19 +0800)]
remove unused variable