Vladimir G. Ivanovic <[EMAIL PROTECTED]> writes:

> "JK" == Juergen Kreileder <[EMAIL PROTECTED]> writes:
> 
>   JK> Yes, it's old but it's only restricted to "green" threads in
>   JK> Sun's version. Our classic VM supports both native and green
>   JK> threads.
> 
> I don't think this is correct for both JDK 1.2.2 and JDK 1.3.1.
> 
>    $ ls /opt/jdk1.2.2/jre/bin/i386/
>    green_threads/     native_threads/  realpath*
>    $ ls /opt/jdk1.3.1_01/jre/bin/i386/
>    green_threads/     native_threads/  realpath*

"Restricted" may be the wrong word.  Technically you can run Sun's
version with the classic native threads VM.  But AFAIK Sun hasn't
merged our native threads VM changes into their 1.2.2 (I'm not sure
about 1.3.x, Calvin?) and so it isn't really usable.  In Sun's 1.3.1
.java_wrapper only allows to use green threads with the classic VM:

,----
| if [ "${vmtype}" = "classic" ]; then
|     ttype=green_threads
|     LD_BIND_NOW=yes
|     export LD_BIND_NOW
|     _JVM_THREADS_TYPE=green_threads
|     export _JVM_THREADS_TYPE
| fi              
`----

(Note that native_threads/libhpi.so is also used by the HotSpot VMs.)


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to