[Gc] Re: GC + Windows Mobile + Threads + Patch for WINCE
ivmai at mail.ru
Mon Sep 14 12:34:33 PDT 2009
Zeyi Lee <biosli at hotmail.com> wrote:
> I change the code as you said.(undo the changes, define GC_wnt TRUE)
> It works.(no crash, no data abort)
> Test output:
It would be nice if you could also try parallel marking on your ARM box.
1. fetch latest CVS
2. apply ivmai138.diff (http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3183)
3. define at least -DALL_INTERIOR_POINTERS -DGC_GCJ_SUPPORT -DATOMIC_UNCOLLECTABLE -DGC_THREADS -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -DVERY_SMALL_CONFIG -DGC_MIN_MARKERS=4
Note: the last one (GC_MIN_MARKERS) is defined because your ARM is a single-core one (so, let's pretend you are already having a quad-core CPU ;).
Note 2: if this runs out of memory then retry without GC_GCJ_SUPPORT, ATOMIC_UNCOLLECTABLE.
More information about the Gc