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

biosli biosli at hotmail.com
Sun Oct 18 06:29:14 PDT 2009


Dear Ivan:

 

> I've changed the allocation routines (this minimizes overflow of heap sections), so it's crucial to retest case 1 again (with 64K stack).
I've downloaded the version at 09/09/17 in CVS. And I test the original edition, only defined VERY_SMALL_CONFIG.
The output as below:
----------------------
Received WM_CLOSE, closing window
The thread 'GC_win32_start' (0x4ee58f26) has exited with code 0 (0x0).
Completed 6 tests
Allocated 794169 collectable objects
Allocated 1212 uncollectable objects
Allocated 0 atomic objects
Allocated 0 stubborn objects
Finalized 1647/1647 objects - finalization is probably ok
Total number of bytes allocated is 21653080
Final heap size is 17555456 bytes
Unexpected heap growth - collector may be broken
Collector appears to work
----------------------
Is the output with "Unexpected heap growth - collector may be broken" means the collector could not work?


> 
> Please fetch latest CVS and apply ivmai143.diff (http://article.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3213)


I retest the program with your patch(ivmai143.diff), the test output as following:
---------------------
Received WM_CLOSE, closing window
The thread 'GC_win32_start' (0xaf28c61a) has exited with code 0 (0x0).
Completed 6 tests
Allocated 794118 collectable objects
Allocated 1212 uncollectable objects
Allocated 0 atomic objects
Allocated 0 stubborn objects
Finalized 1654/1654 objects - finalization is probably ok
Total number of bytes allocated is 21752456
Final heap size is 16424960 bytes
Collector appears to work
---------------------


> 
> Plus also add -DMAKE_BACK_GRAPH (if this wouldn't result in out-ot-mem).
I retest Case 1(stack = 65536, with VERY_SMALL_CONFIG, MAKE_BACK_GRAPH).
The program crashed and I get a DebugBreak, output as below:
--------------------
Collecting from unknown thread.
--------------------

 

Best Wishes,
Zeyi Lee
 		 	   		  
_________________________________________________________________
心跳斗地主新版体验,给你360度的心跳体验!
http://club.msn.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20091018/ec205228/attachment.htm


More information about the Gc mailing list