Skip to content

Instantly share code, notes, and snippets.

View kumpera's full-sized avatar

Rodrigo Kumpera kumpera

View GitHub Profile
Thread 9 (process 40231):
#0 0x9b021fda in __wait4 ()
#1 0x96c074ec in waitpid$UNIX2003 ()
#2 0x00090142 in mono_handle_native_sigsegv (signal=11, ctx=0xb078e920) at mini-exceptions.c:2241
#3 0x0000506a in mono_sigsegv_signal_handler (_dummy=10, info=0xb078e8e0, context=0xb078e920) at mini.c:5934
#4 <signal handler called>
#5 slow_object_get_size [inlined] () at /Users/kumpera/src/mono/mono/metadata/sgen-gc.h:529
#6 0x001c8712 in mono_sgen_par_object_get_size (vtable=0x0, o=0x311ad48) at sgen-gc.h:567
#7 0x001c8acd in major_copy_or_mark_object (ptr=0xb078e990, queue=0x2ffbb0) at sgen-gc.h:578
#8 0x001ad7b9 in mono_gc_scan_object (obj=0x311ad48) at sgen-gc.c:4069
diff --git a/mono/metadata/sgen-gc.c b/mono/metadata/sgen-gc.c
index 39c53ef..5fb2436 100644
--- a/mono/metadata/sgen-gc.c
+++ b/mono/metadata/sgen-gc.c
@@ -391,7 +391,7 @@ struct _RootRecord {
};
#ifdef HAVE_KW_THREAD
-static __thread RememberedSet *remembered_set MONO_TLS_FAST;
+__thread RememberedSet *remembered_set MONO_TLS_FAST;
#import <Foundation/Foundation.h>
#include <stdio.h>
#include <objc/objc.h>
#include <objc/runtime.h>
#include <objc/message.h>
@interface Obj :NSObject
-(NSRect) test ;
@end
using System;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
unsafe class Driver {
private unsafe static byte *category_data;
[MethodImpl (MethodImplOptions.AggressiveInlining)]
public static bool IsWhiteSpace (char c)
diff --git a/mcs/class/System.Core/System.Linq/Enumerable.cs b/mcs/class/System.Core/System.Linq/Enumerable.cs
index b128543..bc4d8db 100644
--- a/mcs/class/System.Core/System.Linq/Enumerable.cs
+++ b/mcs/class/System.Core/System.Linq/Enumerable.cs
@@ -2834,6 +2834,9 @@ namespace System.Linq
Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
{
Check.SourceAndKeySelector (source, keySelector);
+ var oe = source as OrderedEnumerable <TSource>;
+ if (oe != null)
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index e0ba446..d38f196 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -3050,6 +3050,34 @@ add_instances_of (MonoAotCompile *acfg, MonoClass *klass, MonoType **insts, int
}
}
+static void
+add_types_from_method_header (MonoAotCompile *acfg, MonoMethod *method)
26 System.Array:InternalArray__IEnumerable_GetEnumerator<T> ()
10 System.Decimal:op_Explicit (System.Decimal)
10 System.Collections.Generic.KeyValuePair`2<string, int>:get_Value ()
10 System.Collections.Generic.KeyValuePair`2<string, int>:get_Key ()
10 System.Collections.Generic.KeyValuePair`2<string, int>:ToString ()
10 System.Collections.Generic.KeyValuePair`2<string, int>:.ctor (string,int)
10 System.Collections.Generic.GenericEqualityComparer`1<int>:GetHashCode (int)
10 System.Collections.Generic.GenericEqualityComparer`1<int>:Equals (int,int)
10 System.Collections.Generic.GenericEqualityComparer`1<int>:.ctor ()
10 System.Collections.Generic.EqualityComparer`1<int>:get_Default ()
Target _GetMonoPlatformJarPath:
/Users/kumpera/src/monodroid/monodroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets: error : Could not find mono.android.jar
Task "GetMonoPlatformJar" execution -- FAILED
Done building target "_GetMonoPlatformJarPath" in project "/Users/kumpera/src/monodroid/monodroid/samples/Hello/Hello.csproj".-- FAILED
Done building project "/Users/kumpera/src/monodroid/monodroid/samples/Hello/Hello.csproj".-- FAILED
Build FAILED.
Warnings:
diff --git a/mono/metadata/sgen-gc.c b/mono/metadata/sgen-gc.c
index 20d6447..ffb4a57 100644
--- a/mono/metadata/sgen-gc.c
+++ b/mono/metadata/sgen-gc.c
@@ -2575,6 +2575,8 @@ finish_gray_stack (char *start_addr, char *end_addr, int generation, GrayQueue *
*/
mono_sgen_bridge_reset_data ();
+ DEBUG (2, fprintf (gc_debug_file, "Bridge reset done"));
+
Running libtoolize...
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
Running aclocal -I m4 -I . ...