Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Dec 2001 00:52:50 +0900
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        huang wen hui <huanghwh@yahoo.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: GC is not work in jdk1.3.1p5+OpenJIT1.1.16
Message-ID:  <55her8b8rx.wl@tripper.private>
In-Reply-To: <20011125061021.71089.qmail@web20410.mail.yahoo.com>
References:  <20011125061021.71089.qmail@web20410.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <fuyuhik8@is.titech.ac.jp>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55her8b8rx.wl>