From owner-freebsd-emulation Wed Jul 30 06:50:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA01488 for emulation-outgoing; Wed, 30 Jul 1997 06:50:11 -0700 (PDT) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA01435 for ; Wed, 30 Jul 1997 06:49:56 -0700 (PDT) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id IAA15323 for ; Wed, 30 Jul 1997 08:49:42 -0500 (CDT) Received: from phaedrus.uchicago.edu (LOCALHOST [127.0.0.1]) by phaedrus.uchicago.edu (8.8.5/8.8.5) with ESMTP id IAA02374 for ; Wed, 30 Jul 1997 08:49:41 -0500 (CDT) Message-Id: <199707301349.IAA02374@phaedrus.uchicago.edu> To: emulation@freebsd.org Subject: linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) on 2.2-STABLE/2.2.2 From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.89) Content-Type: text/plain; charset=US-ASCII Date: Wed, 30 Jul 1997 08:49:41 -0500 Sender: owner-freebsd-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi--I meant to cc: a message to this list a couple of days ago, and I'm not sure if it went through (and it probably wasn't right to the point), so I'm sending again. Basically, linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) works 95% _beautifully_ under freebsd--in fact, noticeably faster than it does natively under linux (which is remarkable!) However, it is not 100%, because it seems susceptible to hanging. Top says that it's in the "pause" state. Ktrace gives output (indefinitely) like: http://www.farrell.org/stephen_paul/trace.html These hangs do _not_ occur under native linux (with the exact same jdk) or under solx86. These hangs seem to come at very particular times, such as when opening a heirarchical list in one application I was testing. However, it's a crap shoot-sometimes it'll just work and everything is great. It does seem to work best right after rebooting. It feels like the lkm gets crufty after a while, b/c once stuff starts hanging, it seems like nothing will run any more. I've just tried the latest hotjava and it too has the same "pause hang" behavior. I know that people are working on a native port of jdk to freebsd. However, linux has some important support inside javasoft (steve byrne). So there are releases of the jdk for linux before they could possibly be released for freebsd b/c the source isn't available yet! Notice the jdk I'm working with here is 1.1.3 and it has been available (an early release) for a couple of weeks. So my point is that linux ports of the latest jdk will probably be available a couple of months ahead of freebsd ports at least for the foreseeable future, and thus that fixing this (seemingly) minor glitch would be very helpful. The 1.1 apps I've tried to run with kaffe (latest from ports) have not worked, so that doesn't seem like a viable option yet. If I knew where to start I'd be trying to find the problem myself--if there is any other ways I can be helpful in finding the problem, please let me know! I'd also like to hear if others have had the same experience. Just to clarify--I'm running 2.2-STABLE cvsupped today, and have the latest linux_lib "port". (also, incidentally, linux emulation works great for staroffice and linux netscape4) Thanks! -- Steve Farrell