java crashing when load average is high

Greg Lewis glewis at eyesbeyond.com
Tue Apr 26 16:10:12 PDT 2005


Hi Jon,

On Wed, Apr 20, 2005 at 11:10:00PM -0700, Jon Kuster wrote:
> Native x86 1.4 went straight into the loop.  Native x86 1.5 immediately
> segfaulted - even on `java -version`.  I removed all java-related ports
> and linux ports, then reinstalled linux_base-8 and linux-sun-jdk14 and
> tried to build jdk15 again.  That build hung.  I tried it again this
> afternoon and somehow, it succeeded (after manual intervention when the
> build craps out on a spectacularly long command, but I expected that).

Just exactly what was that manual intervention?  Did you split up the
command that failed?

> We tested it this evening, and it's stable under load.  So now we've got
> java working on amd64 with our Xeons.  For anyone else trying to use
> jdk15 on EM64T Xeons, be sure to use the patch in the message linked
> below, otherwise your javavm will abort with an illegal instruction
> error.

Ok, I will try and get that fixed before the next patchset.  While the
patch gets things working on em64t, it hurts performance on an opteron
or athlon64 that does have prefetchw, so we need to detect that and
compile the correct version.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list