[Mono-bugs] [Bug 41177][Nor] New - [mini] Inlining problems

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 11 Apr 2003 07:53:12 -0400 (EDT)


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 gonzalo@ximian.com.

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

--- shadow/41177	Fri Apr 11 07:53:12 2003
+++ shadow/41177.tmp.4464	Fri Apr 11 07:53:12 2003
@@ -0,0 +1,44 @@
+Bug#: 41177
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gonzalo@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [mini] Inlining problems
+
+Description of Problem:
+
+When run under mini with --optimize=inline, this test allocates big chunks
+of memory until no more left:
+
+------------------
+using System;
+using System.Collections;
+using System.IO;
+using System.Runtime.Serialization.Formatters.Binary;
+
+class Test
+{
+	static void Main ()
+	{
+		Hashtable table1 = new Hashtable();
+		Hashtable table2;
+		MemoryStream st = new MemoryStream ();
+
+		BinaryFormatter formatter = new BinaryFormatter();
+		formatter.Serialize (st, table1);
+		st.Position = 0;
+		table2 = (Hashtable) formatter.Deserialize (st);
+	}
+}
+------------