java.net.SocketException: Cannot allocate memory

Alan Bateman Alan.Bateman at oracle.com
Fri Jul 5 15:47:05 PDT 2013


On 05/07/2013 21:07, Brian Call wrote:
> :
>
>
> Is there any way to get access to the jvm source for MacOS? That might yield some interesting insight as well.
>
You've find the joinOrDrop4 implementation here:

http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/tip/src/solaris/native/sun/nio/ch/Net.c

It's just a setsockopt to add or drop the member.

Alternatively you can get a clone of the jdk7u master with:

hg clone hg.openjdk.java.net/jdk7u/jdk7u
cd jdk7u
sh get_source.sh

-Alan.



More information about the net-dev mailing list