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

biosli biosli at hotmail.com
Tue Sep 15 02:02:30 PDT 2009


Dear Ivan:
 Hi!
 Ivan wrote:
> Ok. Another MSDN doc says stack_size param passed to CreateThread() is ignored on WinCE. So, please retry with /F option: http://msdn.microsoft.com/en-us/library/ms864039.aspx
 
 It seems no use of set stack_size with /F option. Then I use /STACK:reserve and set value 100KBytes and the program works with no DebugBreaks.
 
 Case 1(With GC_GCJ_SUPPORT, ATOMIC_UNCOLLECTABLE, USE_MUNMAP, PARALLEL_MARK and GC_MIN_MARKERS = 4), and output as following:
 -------------------
 Completed 6 tests
 Allocated 794233 collectable objects
 Allocated 1212 uncollectable objects
 Allocated 0 atomic objects
 Allocated 0 stubborn objects
 Finalized 1865/1865 objects - finalization is probably ok
 Total number of bytes allocated is 23950370
 Final heap size is 2936832 bytes
 Collector appears to work
 --------------------
 
 Case 2(same as Case 1, and without GC_GCJ_SUPPORT, ATOMIC_UNCOLLECTABLE), and output as below:
 ---------------------
 Completed 6 tests
 Allocated 794230 collectable objects
 Allocated 1212 uncollectable objects
 Allocated 0 atomic objects
 Allocated 0 stubborn objects
 Finalized 1790/1790 objects - finalization is probably ok
 Total number of bytes allocated is 23992538
 Final heap size is 2301952 bytes
 Collector appears to work
 ---------------------
 
 Best Wishes,
 Zeyi Lee
_________________________________________________________________
心跳斗地主新版体验,给你360度的心跳体验!
http://club.msn.cn/


More information about the Gc mailing list