From owner-freebsd-java Mon Dec 3 7:55:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from smg.is.titech.ac.jp (smg.is.titech.ac.jp [131.112.35.1]) by hub.freebsd.org (Postfix) with ESMTP id 18C0A37B417 for ; Mon, 3 Dec 2001 07:55:38 -0800 (PST) Received: from tripper.private (smg [131.112.35.1]) by smg.is.titech.ac.jp (Postfix) with ESMTP id DE43919886; Tue, 4 Dec 2001 00:53:11 +0900 (JST) Date: Tue, 04 Dec 2001 00:52:50 +0900 Message-ID: <55her8b8rx.wl@tripper.private> From: Fuyuhiko Maruyama To: huang wen hui Cc: freebsd-java@freebsd.org Subject: Re: GC is not work in jdk1.3.1p5+OpenJIT1.1.16 In-Reply-To: <20011125061021.71089.qmail@web20410.mail.yahoo.com> References: <20011125061021.71089.qmail@web20410.mail.yahoo.com> User-Agent: Wanderlust/2.7.4 (Too Funky) on XEmacs/21.5.3 (asparagus) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: multipart/mixed; boundary="Multipart_Tue_Dec__4_00:52:50_2001-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Multipart_Tue_Dec__4_00:52:50_2001-1 Content-Type: text/plain; charset=US-ASCII Hi, On Sat, 24 Nov 2001 22:10:21 -0800 (PST), huang wen hui wrote: > > when run under jdk1.3.1p5 that enable OpenJIT1.1.16, > the program will eat a lot of memory as posible as it > can. and error msg is : > Exception in thread "main" > java.lang.StackOverflowError > at > java.util.LinkedList.addBefore(LinkedList.java, > Compiled Code) > at > java.util.LinkedList.addLast(LinkedList.java, Compiled > Code) > at FixQueue.addBack(FixQueue.java, Compiled > Code) > at FixQueue.main(FixQueue.java, Compiled Code) > > > If disable OpenJIT, it worked as expected. > The bug has fixed. In fact, it was very long living, hiding one. Thank you, we really didn't know the bug, and it couldn't be fixed without your reports. Attached patch should fix your problem. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. --Multipart_Tue_Dec__4_00:52:50_2001-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="rt-X86.c.diff" Content-Transfer-Encoding: 7bit --- rt-X86.c.orig Fri Sep 7 05:34:36 2001 +++ rt-X86.c Tue Dec 4 00:41:56 2001 @@ -1974,7 +1974,7 @@ ASM("leave; jmp OpenJIT_invokeinterface_quick"); } -static JHandle * +static JHandle * ATTRIBUTE((stdcall)) OpenJIT_newarray(int type, int size) { JHandle *ret; --Multipart_Tue_Dec__4_00:52:50_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message