HotSpot question

I'm trying to understand the threading models available in the HotSpot JVM. I'm aware there's info in the link below:

http://java.sun.com/docs/hotspot/threads/threads.html

However I'm a bit confused because it states that it's for the SolarisTM OS. Can't the HotSpot JVM be used on essentially any Java-supported OS? If yes, then what threading models are available on non-Solaris OSes?

Thanks in advance

[435 byte] By [phoenixinthesky222a] at [2007-11-27 7:05:11]
# 1

> I'm trying to understand the threading models

> available in the HotSpot JVM. I'm aware there's info

> in the link below:

>

> http://java.sun.com/docs/hotspot/threads/threads.html

The above document is rather out of date now. Solaris has dropped the two-level threading model and now uses only LWPs (as of Solaris 10).

> However I'm a bit confused because it states that

> it's for the SolarisTM OS. Can't the HotSpot JVM be

> used on essentially any Java-supported OS? If yes,

> then what threading models are available on

> non-Solaris OSes?

HotSpot uses the native threading model provided by the operating system. On solaris and linux, that boils down to Posix threads. On windows it uses the windows thread APIs.

jxca at 2007-7-12 18:56:31 > top of Java-index,Java HotSpot Virtual Machine,Specifications...