Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 12:07:56 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-java@freebsd.org
Cc:        Joe Lin <jlin@maxiscale.com>
Subject:   Re: DatagramCahnnel scatter/gather problem on diablo 1.6.0_07-b02
Message-ID:  <201002011207.57163.pieter@degoeje.nl>
In-Reply-To: <8B6860326495B2438DCBEA74AA981C7A78B220EE@MBX01.exg5.exghost.com>
References:  <8B6860326495B2438DCBEA74AA981C7A78B220E0@MBX01.exg5.exghost.com> <201002010144.41376.pieter@degoeje.nl> <8B6860326495B2438DCBEA74AA981C7A78B220EE@MBX01.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 01 February 2010 02:08:55 Joe Lin wrote:
> Thanks for the reply. I looked at JDK source code and it appears that the
> JNI call should be in
>
> J2se/src/solaris/native/sun/nio/ch/DatagramDispatcher.c:write0():
>
>
> There's only linux and solaris #ifdef but not for BSD. I wonder how/what
> BSD is calling. Since I'm getting a "IOException:Invalid argument" so I
> guess this should correspond to a EINVAL. And a sendmsg() in FreeBSD does
> not return an EINVAL. So the Diablo port must be calling a writev(). But I
> could not locate the source code. Wish I can find out what went wrong with
> dialblo VM.

You could use ktrace/kdump to find out what it (not?) calls and why it dies.

- Pieter



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