This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __asm ( | |
| "#include <sys/linux-syscalls.h>" | |
| " .text" | |
| " .type sigaltstack, #function" | |
| " .globl sigaltstack" | |
| " .align 4" | |
| " .fnstart" | |
| "sigaltstack:" | |
| " .save {r4, r7}" | |
| " stmfd sp!, {r4, r7}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Threading; | |
| class Driver { | |
| static void Main () { | |
| var timer = new Timer (o => Console.WriteLine ("o2"), null, new TimeSpan (1042, 0, 0, 0), new TimeSpan (0,0,1)); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| E/AndroidRuntime(10725): FATAL EXCEPTION: main | |
| E/AndroidRuntime(10725): java.lang.RuntimeException: Unable to get provider mono.MonoRuntimeProvider: java.lang.RuntimeException: Unable to find application Mono.Android.DebugRuntime or Mono.Android.Platform.ApiLevel_10! | |
| E/AndroidRuntime(10725): at android.app.ActivityThread.installProvider(ActivityThread.java:3888) | |
| E/AndroidRuntime(10725): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3640) | |
| E/AndroidRuntime(10725): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3596) | |
| E/AndroidRuntime(10725): at android.app.ActivityThread.access$2200(ActivityThread.java:124) | |
| E/AndroidRuntime(10725): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1042) | |
| E/AndroidRuntime(10725): at android.os.Handler.dispatchMessage(Handler.java:99) | |
| E/AndroidRuntime(10725): at android.os.Looper.loop(Looper.java:132) | |
| E/AndroidRuntime(10725): at android.app.ActivityThread.main(ActivityThread.java:4030) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Test Case Failures: | |
| 1) MonoTests.System.Linq.ParallelEnumerableTests.TakeTestCase : System.InvalidOperationException : The event is already set | |
| at System.Threading.CountdownEvent.Signal (Int32 signalCount) [0x00047] in /Users/kumpera/src/mono/mcs/class/corlib/System.Threading/CountdownEvent.cs:95 | |
| at System.Threading.CountdownEvent.Signal () [0x00000] in /Users/kumpera/src/mono/mcs/class/corlib/System.Threading/CountdownEvent.cs:75 | |
| at System.Linq.Parallel.OrderingEnumerator`1+SlotBucket[System.Int32].Skim () [0x00064] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:110 | |
| at System.Linq.Parallel.OrderingEnumerator`1+SlotBucket[System.Int32].Wait () [0x00024] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:130 | |
| at System.Linq.Parallel.OrderingEnumerator`1[System.Int32].MoveNext () [0x00029] in /Users/kumpera/src/mono/mcs/class/System.Core/System.Linq.Parallel/OrderingEnumerator.cs:180 | |
| at System.Linq.Parallel.ParallelQueryEnumera |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/mono/metadata/sgen-os-posix.c b/mono/metadata/sgen-os-posix.c | |
| index 0a0c4f1..874b039 100644 | |
| --- a/mono/metadata/sgen-os-posix.c | |
| +++ b/mono/metadata/sgen-os-posix.c | |
| @@ -127,6 +127,7 @@ suspend_handler (int sig, siginfo_t *siginfo, void *context) | |
| int old_errno = errno; | |
| info = mono_thread_info_current (); | |
| + printf ("THREAD %p got suspend signal info %p\n", (gpointer)pthread_self (), info); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Threading; | |
| namespace RWLockSlimTest | |
| { | |
| class MainClass | |
| { | |
| /* On MS this method prints: | |
| (1) RR 0/False RU 0/False RW 0/False |