The way Java works with respect to CPUs is it implements threading
through the native OS it's running on. That way the programmer doesn't
have to deal with OS-specific process and threading architectures in his
code. The only time this isn't the case is with older VM's on Linux and
UNIX where green threads were used. Green threads were a user-level
thread library that made the JVM appear to the OS as a single-threaded
process. You can still find green threads in some 1.2.x JVMs on Linux
and Solaris, but I wouldn't recommend anything less than a 1.3 JVM
anyway.
So a JVM running on an SMP system is responsible for cooperating with
the OS to manage threads across the processors. Orion, JRun, Tomcat,
etc. do nothing to limit or enhance SMP support in the Java code because
it is entirely up to the JVM and the OS.
That said, any recent JVM (i.e., 1.3) from any JVM vendor will support
SMP because they all rely on native thread implementations.
Scott Stirling
On 26 Jan 2001 08:42:01 +0100, PHiL wrote:
> Hi,
>
> We planned to go on production state of our developpement under ORION, but
> we don't have a clue on multiprocessors (SMP) and Orion.
>
> If we run a X86 PC server with 2 XEON and sun's JVM 1.3 + Orion + NT or
> 2000, is this will be enought to take advantage of SMP ???
> Maybe we need to run 2 JVMs and setup a "cluster like" config ???
>
> If someone expirience this, just let us know.
>
> Thanks.
>
> PHiL.
>
>
>