Date: Tue, 21 Nov 2000 11:42:59 +0000 From: Antony T Curtis <antony@abacus.co.uk> To: Mike Hoskins <mike@adept.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Java et al Message-ID: <3A1A5FC3.358F055A@abacus.co.uk> References: <Pine.BSF.4.21.0011210301180.90238-100000@snafu.adept.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Hoskins wrote: > > Hello, > > Excuse this if it's off-topic... I couldn't think of the best place to > ask this, and I am running STABLE on all production machines, so... > > We have a lot of proprietary code written in Java running on Wintel > boxes. There's been talk of migrating to Linux, and our initial tests > show performance equal to NT 4.0 under the JDK/JVM's we've tested. > > Is there anyone out there running a lot of mission-critical > (read: updating Oracle queues responsible for 911 dispatching) Java code > under FreeBSD? > > If so, I'd appreciate JDK/JVM reccomendations, OS tuning tips (or relevant > FAQs), etc. If not... I guess I'll resign myself to letting penguins > slowly infiltrate my network (ack!). > > Note: I've seen http://www.freebsd.org/java/. I'm asking for working > knowledge, known bugs, stability, etc... and not just if a working JDK > exists. > > Thanks, > -Mike There is a beta-source release of JDK 1.2.2 for FreeBSD. I have successfully compiled this and it does appear to work. However, no functional JIT means performance is a bit of a dog. (there are opensource JIT available but they don't always work right) I have the most success with running both IBM JDK1.3 and Sun JDK1.3 for Linux. Both require patches to the linux kld emulation in FreeBSD and both have "quirks". However, the Sun JDK can be coaxed into running large complex applications such as Borland JBuilder 4. The IBM JVM would frequently coredump on that but is perfectly acceptable at running more modest applications at speed - the IBM JVM has the advantage of correctly translating unicode characters and a whole host of other little things which the Sun JVM gets wrong. Both have a habit of "freezing" but I suspect this is due to the way how FreeBSD emulates Linux heavyweight threads. Personally, I would really want to see a native J2EE 1.3 JDK for FreeBSD which takes advantage of FreeBSD's lightweight threads... It should really fly! Using FreeBSD 4.1.1-STABLE (circa Oct 26) IBM Linux JVM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20000815 (JIT enabled: jitc) SUN Linux JVM: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-b17) Java HotSpot(TM) Client VM (build 1.3.0rc1-b17, mixed mode) FreeBSD Native JVM: java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/26-09:55, green threads, nojit) -- ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 > God did not create the world in seven days; he screwed around for six > days and then pulled an all-nighter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1A5FC3.358F055A>