Hello Max,

Ok i found it, in C:\openjdk\hotspot\src\share\vm\prims\jvm.cpp

JVM_LEAF(jint, JVM_Socket(jint domain, jint type, jint protocol))
  JVMWrapper("JVM_Socket");
  return hpi::socket(domain, type, protocol);
JVM_END


And then for linix i found
C:\openjdk\hotspot\src\os\linux\vm\hpi_linux.hpp
inline int hpi::socket(int domain, int type, int protocol) {
  return ::socket(domain, type, protocol);
}

So it uses Socket.h which is part of the POSIX interfaces, is this true?

Thanks,
Cormac







On Nov 26, 2007 11:35 AM, Max (Weijun) Wang <[EMAIL PROTECTED]> wrote:
> It's defined in the hotspot workspace.
>
> Max
>
> On Nov 26, 2007, at 6:23 PM, cormac mullally wrote:
>
> > JVM_Socket
>
>

Reply via email to