12 Jan 2009 06:12
Leaking Boehm GC on CE 6
Hello! Many years ago (back in 2003 to be exact) Hans Boehm and others helped us get Boehm-GC working correctly on gcj 3.3 on arm-wince-pe (Windows CE 3.0, at that time). Everything - particularly that modified-for-CE build of Boehm GC - has been working extremely well until recently. We are extremely grateful for both the help we received then and the reliable and performant operation that Boehm GC has delivered over the years. Then along came Windows CE 6. gcj/boehm still work without crashing, but on CE 6 we are experiencing severe leaking. Specifically: a gcj binary that works perfectly (without leaking) on Windows CE 4/5 exhibits fairly large memory leaks when run on CE 6. This is baffling to say the very least. As far as I can tell, the memory map on Windows CE 6 is the same and I'm not aware of any reason WHY the Boehm GC would leak on CE 6 when it does not on other earlier versions. I am gearing up for what I expect will be a long and difficult project to find and fix this problem. I need some ideas about where I could look for the problem, and some idea of whether there might be fixes for the GC in versions after 6.2 that might be relevant. I have ported the "test.c" that's used to build gctest to arm-wince-pe (GNUWINCE), and here is the output from gctest.exe on Windows Mobile 5 (no leaking): Completed 1 tests Allocated 560621 collectable objects(Continue reading)
RSS Feed