[Mono-bugs] [Bug 53177][Nor] Changed - WaitHandles are not finalizing

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 22 Jan 2004 03:21:01 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by derek.mcumber@datamtnsol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=53177

--- shadow/53177	2004-01-22 01:48:17.000000000 -0500
+++ shadow/53177.tmp.12588	2004-01-22 03:21:01.000000000 -0500
@@ -153,6 +153,30 @@
 Thanks
 
 ------- Additional Comments From derek.mcumber@datamtnsol.com  2004-01-22 01:48 -------
 Created an attachment (id=6496)
 Simplified version passing object state loses extra 15Meg to 60Meg
 
+
+------- Additional Comments From derek.mcumber@datamtnsol.com  2004-01-22 03:21 -------
+OOOHKAAY...
+
+Looks like a humdinger this time:
+
+The Boehm GC algorithm is pretty simple:
+
+    expansion_slop = 8 * WORDS_TO_BYTES(min_words_allocd());
+    if (5 * HBLKSIZE * MAXHINCR > expansion_slop) {
+        expansion_slop = 5 * HBLKSIZE * MAXHINCR;
+    }
+
+This mean its either going to grab 8X what I asked for or
+5 x 8196 x 2048 = 5MEG
+
+If I do this repeatedly (like I am with XSP.exe), then I lose
+5Meg every web request because of GC.  Not good for me.
+
+We may want to make a MONO_SAVVY version of alloc.c and ship
+it with the package once we figure out what this algorithm
+really should be....
+
+Any thoughts?