[kaffe] CVS kaffe (dalibor): Fixed crash compiling class library with kjc and allatonce profile

Kaffe CVS cvs-commits at kaffe.org
Wed Sep 24 14:54:02 PDT 2003


PatchSet 4061 
Date: 2003/09/24 21:44:41
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed crash compiling class library with kjc and allatonce profile

Members: 
	ChangeLog:1.1656->1.1657 
	libraries/javalib/rebuildLib.in:1.36->1.37 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1656 kaffe/ChangeLog:1.1657
--- kaffe/ChangeLog:1.1656	Wed Sep 24 20:45:22 2003
+++ kaffe/ChangeLog	Wed Sep 24 21:44:41 2003
@@ -1,3 +1,11 @@
+2003-09-24  Dalibor Topic <robilad at kaffe.org>
+
+	* libraries/javalib/rebuildLib.in:
+	Raised memory limit for class library compilation to 256M to fix
+	crash when compiling all of class library at once using kjc.
+
+	Reported by: James Simmons  <jsimmons at infradead.org>
+	
 2003-09-24  James Simmons  <jsimmons at infradead.org>
 
 	* libraries/javalib/java/util/EventObject.java:
Index: kaffe/libraries/javalib/rebuildLib.in
diff -u kaffe/libraries/javalib/rebuildLib.in:1.36 kaffe/libraries/javalib/rebuildLib.in:1.37
--- kaffe/libraries/javalib/rebuildLib.in:1.36	Sat Aug 30 20:12:04 2003
+++ kaffe/libraries/javalib/rebuildLib.in	Wed Sep 24 21:44:42 2003
@@ -37,7 +37,10 @@
 		JAVA="$JAVA -verbosegc"
 	fi
 	if [ -z "$JAVAC" ]; then
-		JAVAC="$JAVA at.dms.kjc.Main"
+# Kaffe needs more than 64 M of memory to compile all of the
+# class library at once using kjc. Set maximal memory to 256 M
+# to be on the safe side. Actual usage is around 80M.
+		JAVAC="$JAVA -mx 256M at.dms.kjc.Main"
 		VERBOSE=-v
 	fi
 	BOOTCLASSPATH=${SRCDIR}/Klasses.jar.bootstrap:$BOOTCLASSPATH; export BOOTCLASSPATH




More information about the kaffe mailing list