2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / ChangeLog
index c0efe9b23efecd9f5034d1da0fe498b0044be548..750968bf383200b0bb191eafba1a320a06fa1d89 100644 (file)
@@ -1,3 +1,174 @@
+2010-05-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * reflection.c (mono_type_get_object): Remove chunk of code
+       no longer in use.
+
+2010-05-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall-def.h
+       * icall.c: Delete some unused icalls.
+
+2010-05-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * appdomain.c (mono_domain_has_type_resolve): Check for
+       NULL domain objects to make pedump happy.
+
+       * object.c (mono_field_get_value): Assert on NULL object.
+       It's the caller resposibility to check for this.
+
+       * object.c (mono_field_get_value_object): Ditto.
+
+       Fixes #601384.
+
+2010-05-07 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * icall.c (ves_icall_type_is_subtype_of): Non iface subtype
+       checks can avoid doing a mono_class_init.
+
+       * icall.c: Remove mono_class_init from a bunch of icalls that
+       don't need it.
+
+       Hopefully we're now lazy enough to fix most victims of #601431.
+
+2010-05-07  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Remove REMSET_ROOT_LOCATION.
+
+2010-05-07  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Remove unnecessary checks in domain clearing code.
+
+2010-05-07  Marek Habersack  <mhabersack@novell.com>
+
+       * culture-info-tables.h: updated to include en-TT culture. Fixes
+       bug #594035
+
+2010-05-06 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       Move mono_class_init from mono_type_get_object to icalls.
+       This causes massive memory savings for Assembly::GetTypes () and
+       make it fail a lot less due to missing dependencies.
+
+       This is a conservative, naive change as it doesn't remove some
+       mono_class_init from places that might not need them. Carefull
+       review of those should follow.
+
+       * reflection.c (mono_type_get_object): Don't mono_class_init the
+       returning type.
+
+       * reflection.c:
+       * cominterop.c:
+       * icall.c:
+       * marshal.c: Call mono_class_init in functions receiving a MonoType
+       object.
+
+       First step into fixing #601431.
+
+2010-05-06 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * gc-internal.h: Add new functions required for ephemeron support.
+
+       * gc.c: Implement ves_icall_System_GC_register_ephemeron_array.
+
+       * icall-def.h: Add GC::register_ephemeron_array.
+
+       * object.c (compute_class_bitmap): sys.rt.cs.Ephemeronis an opaque type
+       under sgen. Its fields must not be marked.
+
+       * sgen-gc.c (mono_gc_clear_domain): Call cleanup function for ephemerons.
+
+       * sgen-gc.c (finish_gray_stack): Mark all reachable ephemerons before
+       handling finalizable objects. Clean dead ones after all finalizable
+       handling.
+
+       * sgen-gc.c (dump_heap): Add new kind of internal memory.
+
+       * sgen-gc.c (null_ephemerons_for_domain): Remove from the list ephemeron
+       arrays from the dead domain.
+
+       * sgen-gc.c (clear_unreachable_ephemerons): Clear dead ephemerons entries.
+
+       * sgen-gc.c (mark_ephemerons_in_range): Mark/Copy all ephemeron values
+       whose keys are reachable.
+
+       * sgen-gc.c (mono_gc_ephemeron_array_add): Register the array into the
+       list of live ephemeron arrays.
+
+2010-05-05 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * class.c (mono_class_layout_fields): Don't perform alignment
+       if align is zero.
+
+       * class.c (mono_class_layout_fields): Init field related information
+       to sane defaults.
+
+2010-05-05 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * verify.c (mono_verifier_verify_class): Verify the constraint
+       of generic type definitions.
+
+2010-05-04  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-marksweep.c: Simplify free list maintenance in sweep.
+
+2010-05-02  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Unify
+       major_do_collection() across the two major collectors.
+
+2010-05-02  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c: Add heavy statistics counter for re-added global
+       remsets.
+
+2010-05-02  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-marksweep.c, sgen-gc.c: Use one mark bit per ALLOC_ALIGN to
+       get rid of a division in critical code.
+
+2010-04-29  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Have separate
+       blocks for objects without references in mark&sweep, to improve
+       performance.
+
+2010-04-28  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Bring heavy
+       statistics up-to-date.
+
+2010-04-27  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Support
+       heap-dump for mark&sweep.
+
+2010-04-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * loader.c (mono_method_get_header): Move the is_inflated case before the
+       wrapper case, as a method can be both.
+
+2010-04-27  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Don't do a
+       separate pass to scan pinned and large object but use the gray
+       queue like for regular objects.
+
+2010-04-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * boehm-gc.c: Applied patch from Robert Nagy (robert@openbsd.org). Include
+       string.h for memmove.
+
+       socket-io.c: Applied patch from Robert Nagy (robert@openbsd.org).
+       ipaddress_to_struct_in6_addr() is only needed when
+       defined(HAVE_STRUCT_IP_MREQN) || defined(HAVE_STRUCT_IP_MREQ).
+
+2010-04-25  Mark Probst  <mark.probst@gmail.com>
+
+       * sgen-gc.c, sgen-marksweep.c, sgen-major-copying.c: Properly
+       separate copy_object functions for major vs nursery.  Allows us to
+       get rid of a few checks and the start and end parameters for many
+       functions.
+
 2010-04-25  Mark Probst  <mark.probst@gmail.com>
 
        * sgen-marksweep.c, sgen-gc.c, sgen-major-copying.c,