> I also have a complaint to whoever said that 100
> idling threads is harmless.
> Not on windows it isn't, certainly not in java on
> windows.  Threads are rpocesses and have horrible
> overhead.

As far as I'm aware, all the cool thread / fiber / io completion management
available in win32 isn't accessible from Java (unless someone can point me
to documentary evidence to the contrary that states clearly the particular
(portable) Java code needed to set up a Win32 IOCompletionPort)

Threads on Java on Windows have horrible overhead but, as I see it, that's
the JVM's fault, and not really a fault of Java itself.  A native Win32
application can happily spawn 100+ threads and not get bogged down in its
own underwear.  But for I/O management, having millions of most-likely-idle
threads is NOT the way to go (certainly on Win32 anyway, because there's
far better ways to do things).

d



_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to