- 12 10月, 2010 4 次提交
-
-
由 Rodrigo Kumpera 提交于
* mini-exceptions.c (mono_find_jit_info): Treat dynamic method wrappers as managed methods. * DynamicMethodTest.cs: Add test for GetCurrentMethod. Fixes #640702
-
由 Rodrigo Kumpera 提交于
-
由 Rodrigo Kumpera 提交于
* verify.c (verify_generic_parameters): If a generic constraint is a generic instance, it must respect the constraint of that type too. Fixes #644935
-
由 Marek Safar 提交于
-
- 11 10月, 2010 5 次提交
-
-
由 Gonzalo Paniagua Javier 提交于
-
由 Zoltan Varga 提交于
-
由 Zoltan Varga 提交于
-
由 Ankit Jain 提交于
-
由 Marek Safar 提交于
-
- 09 10月, 2010 14 次提交
-
-
由 Atsushi Eno 提交于
-
由 Atsushi Eno 提交于
Add couple of (not-working) object reader testcases. Add some comments and commented code on XamlObjectReader.
-
由 Rodrigo Kumpera 提交于
* marshal.c (mono_marshal_get_virtual_stelemref): Add a custom wrapper for interface casts. This was the most frequent array kind left without a fast stelem.ref wrapper. During testing the only easy target left was arrays of arrays, but those are so rare that won't make a different on any workload.
-
由 Rodrigo Kumpera 提交于
* class.c (mono_class_setup_vtable_general): Inject the array stelemref method on vectors of reference types. * class.c (mono_class_init): Properly handle the fact that arrays have different vtable sizes. * marshal.c (mono_marshal_get_virtual_stelemref): New function that returns a better tailored stelemref wrapper for a given array type. * method-to-ir.c (mono_method_to_ir): Emit a virtual call to the new faster stelemref wrapper. This schema uses 4 wrappers instead of one and puts it into the vtable of vectors of reference types. This change improves a synthetic benchmark of an equal mix of stores as compiling corlib by 25%. It improves pystones by 3-4%.
-
由 Sebastien Pouliot 提交于
-
由 Sebastien Pouliot 提交于
-
由 Sebastien Pouliot 提交于
* System.Web/System.Web/HttpResponse.cs: Ensure '?' is not encoded as %3F while redirecting (e.g. aspxerrorpath) since this can cause a loop. i.e. not found leading to not found... * System/System/Test/System/UriBuilderTest.cs: Add test to confirm the right behavior of UriBuilder wrt how it was used by Mono's ASP.NET
-
由 Gonzalo Paniagua Javier 提交于
workingBlock should be the InputBlockSize and currentBlock the OutputBlockSize. Allocate currentBlock lazily. Test contributed by Bassam Tabbara. Fixes bug #644740.
-
由 Gonzalo Paniagua Javier 提交于
Throw on invalid enum value in the ctor.
-
由 Gonzalo Paniagua Javier 提交于
Dispose calls FlushFinalBlock (even for Read mode) and this in turn calls either FlushFinalBlock or Flush on the underlying stream.
-
由 Gonzalo Paniagua Javier 提交于
Marshal.SizeOf is now returning the expected values for explicit layout in 32 and 64 bits systems. Fixes bug #641535.
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
由 Marek Safar 提交于
-
- 08 10月, 2010 17 次提交
-
-
由 Gonzalo Paniagua Javier 提交于
-
由 Marek Safar 提交于
Allow imported members cache to be setup in 2 phases as compiled one is to deal with generics recursions
-
由 Gonzalo Paniagua Javier 提交于
Add mach_dep.c to the sources. Fixes bug #644933. Thanks to Mathias Ruediger.
-
由 Jb Evain 提交于
For ResolveTypeToken, ResolveFieldToken and ResolveMethodToken, resolve definitions directly and try to instantiate only types that can be instantiated, such as MemberRef, MethodSpec and TypeSpec. Also validate the memberref token type for ResolveField and ResolveMethod when passing them a MemberRef token.
-
由 Jb Evain 提交于
-
由 Zoltan Varga 提交于
-
由 Atsushi Eno 提交于
Do not reject contract from the same method, could happen by a type with multiple service contracts within the typie hierarchy. For details, see: http://lists.ximian.com/pipermail/mono-devel-list/2010-September/035940.html
-
由 Kornél Pál 提交于
[asp.net] Fix for bug #643763. BuildManager must not fail with BuildProviders lacking the BuildProviderAppliesTo attribute.
-
由 Gonzalo Paniagua Javier 提交于
Ditto. Fixes bug #644816.
-
由 Zoltan Varga 提交于
-
由 Rolf Bjarne Kvinge 提交于
* eglib/src/glib.h: * eglib/src/gmem.c: Make g_malloc and friends abort in case of failure, like glib does. * eglib/src/eglib-remap.h: Remap all allocation functions.
-
由 Rodrigo Kumpera 提交于
* marshal.c: Add mono_marshal_get_isinst_with_cache and mono_marshal_get_castclass_with_cache. * marshal.h: Export those 2 new functions. * method-to-ir.c: Call those functions instead of their icall versions. This speeds up non gshared cases by up to 3x and gshared by up to 2x. Those wrappers are not inlined since the register allocator doesn't handle well so the minor speedup is not worth be significant bloat introduced.
-
由 Rodrigo Kumpera 提交于
* class-internals.h: Add new kind of rgctx slot. * method-to-ir.c (handle_castclass): Emit gsharing code for cast with caching. * method-to-ir.c (handle_isinst): * mini-generic-sharing.c: Implement MONO_RGCTX_INFO_CAST_CACHE slot type. It's a 2 word domain allocated memory block with the cache on the first word and the vtable on the second. This design does a single rgctx fetch instead of two. It's a bit faster and can potentialy save some slots.
-
由 Rodrigo Kumpera 提交于
* jit-icall.c (mono_object_castclass_with_cache): Check single entry cache before calling mono_object_isinst. * jit-icall.c (mono_object_isinst_with_cache): Check single entry cache before calling mono_object_isinst. This uses a positive and negative cache as it is used for type queries quite often. * jit-icalls.h: Export new icalls. * mini.c (mini_init): Register new icalls. * method-to-ir.c: Call into cache aware version of type test ops for types with variant generic arguments. This patch replaces direct calls to mono_object_castclass mono_object_isisnt to functions that check a cache first. The cache is per managed code callsite so the hit ratio is very high.
-
由 Rodrigo Kumpera 提交于
* method-to-ir.c: Casts to generic types with variant argument can use the regular fast path if all variant arguments are valuetypes.
-
由 Rodrigo Kumpera 提交于
* marshal.c (mono_marshal_load_type_info): Properly check for array types.
-
由 Gonzalo Paniagua Javier 提交于
-Dispose will call TransformFinalBlock() for Read streams. Fixes bug #644648. -Dispose () will call Dispose (bool). Fixes bug #644654. -Stream.Close calls GC.SuppressFinalize(). Fixes bug #644660.
-