Re[20]: [Gc] GC + Windows Mobile + Threads + Patch for WINCE

Ivan Maidanski ivmai at mail.ru
Wed Aug 26 01:58:23 PDT 2009


Hi!

biosli <biosli at hotmail.com> wrote:
> ...
> >> Case 3:
> >>> for (i = 0; i < 5; ++i) {
> >>> check_ints(reverse(reverse(ints(1,10))), 1, 10);
> >>> And try smaller values, say, 5 -> 3 and 10 -> 4. If it would work I'll set this values for VERY_SMALL_CONFIG case.
> >> I do it as you said. The test passed.(define THREAD_LOCAL_ALLOC, GC_GCJ_SUPPORT)
> >
> > Thanks.
> > Just to make lesser changes to test.c, could you tell me whether it works without 5->3 change (should work I guess), 
> 
> Yes, it works.(without 5->3 change and define GC_ASSERTIONS, THREAD_LOCAL_ALLOC)
> 
> > and, if yes, whether it works with 10->6 or 10->8 (again without 5->3 change)?
> 
> However, run test with 10->6(without 5->3 change and define GC_ASSERTIONS, THREAD_LOCAL_ALLOC). 
> I get the warning as "Small thread creation failed 8", and Debugbreak.

Ok. I'll define TINY_REVERSE_UPPER_VALUE (in test.c) as 4 if VERY_SMALL_CONFIG else as 10.

>  
> There is another backtrace for you.(I send a attachment)

At present there is 2 differences between true Win32 and WinCE - GC_get_stack_min() and GC_win32_get_mem/GC_wince_get_mem().

So, my questions:
0. just a general one - you are running single-core ARM, right?
1. are stacks (on your target) restricted to an aligned 64K region?

> ...
> Zeyi Lee

Bye.


More information about the Gc mailing list