Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 18:34:23 +0900
From:      SHUDOH Kazuyuki <shudoh@muraoka.info.waseda.ac.jp>
To:        freebsd-java@FreeBSD.ORG
Subject:   Re: shuJIT crash using Swing
Message-ID:  <199811240934.SAA26877@cafe.muraoka.info.waseda.ac.jp>
In-Reply-To: Your message of "Fri, 06 Nov 1998 08:19:51 PST." <199811061619.IAA18551@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Fri, 6 Nov 1998 08:19:51 -0800 (PST)
>>>>> swindellsr@genrad.co.uk(Robert Swindells)  said:

> I think I have found why I was getting crashes when trying to use
> shuJIT with Swing.

I suppose that shuJIT which crash with Swing is compiled
from source code by yourself.

Source code of current shuJIT, specifically code.c is
too sensitive to register allocation by C compiler. I'd
like to fix this character of the code.

You can examine whether you are suffering this problem
or not by looking at disassembled code of code.o

% objdump code.o
  .....
00000000 <assembledCode>:
       0:       55              pushl  %ebp
       1:       89 e5           movl   %esp,%ebp
       3:       83 ec 0c        subl   $0xc,%esp
       6:       57              pushl  %edi
       7:       53              pushl  %ebx
       8:       e8 00 00 00 00  call   d <assembledCode+0xd>
  .....

You may be suffering if you find the line containing
  `pushl %esi'
around here.

> The method javax.swing.UIManager.initialize() makes an explicit call
> to java.lang.Compiler.disable().

I'll investigate this possibility, too.

SHUDO Kazuyuki/$B<sF#0l9,(B   $B;d$r$?$P$M$J$$$G(B $B$"$i$;$$$H$&$N2V$N$h$&$K(B
  shudoh@muraoka.info.waseda.ac.jp

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?199811240934.SAA26877>