On Jun 21, 2008, at 4:58 AM, Charles Oliver Nutter wrote:

I would want the JVM to provide the current thread APIs but potentially backed by a smaller number of native threads. I want to be able to spin
up 10k or 100k java.lang.Thread instances :)

It's a hard puzzle (but maybe a good one) to make the current JVM thread API fit on top of really lightweight threads. Do you think green threads are really light enough? I suspect not, though maybe you could do 100k. But when you get to event clouds with 1M or 10M actors, green threads (which inherently seem to occupy many kilobytes of memory and address space) will start to look sluggish.

-- John
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to