Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 08:49:41 -0500
From:      stephen farrell <stephen@farrell.org>
To:        emulation@freebsd.org
Subject:   linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) on 2.2-STABLE/2.2.2
Message-ID:  <199707301349.IAA02374@phaedrus.uchicago.edu>

next in thread | raw e-mail | index | archive | help

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



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