From owner-freebsd-java Fri Nov 6 08:20:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18658 for freebsd-java-outgoing; Fri, 6 Nov 1998 08:20:04 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from manchester.genrad.com (x236.genrad.co.uk [195.99.3.236]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18551 for ; Fri, 6 Nov 1998 08:19:51 -0800 (PST) (envelope-from swindellsr@genrad.co.uk) Date: Fri, 6 Nov 1998 08:19:51 -0800 (PST) Message-Id: <199811061619.IAA18551@hub.freebsd.org> Received: from CDP275.uk.genrad.com by manchester.genrad.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8) id VTWQB9BQ; Fri, 6 Nov 1998 16:19:28 -0000 From: Robert Swindells To: freebsd-java@FreeBSD.ORG Cc: shudoh@muraoka.info.waseda.ac.jp Subject: shuJIT crash using Swing Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I think I have found why I was getting crashes when trying to use shuJIT with Swing. The method javax.swing.UIManager.initialize() makes an explicit call to java.lang.Compiler.disable(). This turns off JIT compilation as expected, but the invoker then recursively calls itself until the stack overflows. I think that the fix would be to store the original invoker in the CodeInfo structure for each method and call that if the compilation fails. Robert Swindells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message