Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Enabling native thread support on redhat

Reply
Thread Tools

Enabling native thread support on redhat

 
 
Sandeep
Guest
Posts: n/a
 
      06-07-2004
Hi,

I am using a Redhat-9 box. "java -version" on my systems shows
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)

I wish to enable native-thread support on such a system.Currently all
the java threads are running under single process as shown by "ps
-ef".

Can anyone tell me how to do it?

-Sandeep Karmarkar
 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      06-07-2004
Sandeep wrote:
> I am using a Redhat-9 box. "java -version" on my systems shows
> java version "1.4.2_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_02-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
>
> I wish to enable native-thread support on such a system.Currently all
> the java threads are running under single process as shown by "ps
> -ef".
>
> Can anyone tell me how to do it?


It would be very surprising if you found a modern JVM that doesn't use
native threads. Perhaps someone fixed ps instead? That seems to me
like the more likely explanation for your observations.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      06-07-2004
Chris Smith wrote:
> It would be very surprising if you found a modern JVM that doesn't use
> native threads. Perhaps someone fixed ps instead? That seems to me
> like the more likely explanation for your observations.


Indeed, it appears from <http://forum.java.sun.com/thread.jsp?thread=
481411&forum=32&message=2348244> that RedHat 9 does indeed fix this by
switching to a new natively-POSIX threading implementation that doesn't
break ps like the old one did. You can be confident that you really are
getting native threads.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: compile python 3.3 with bz2 support on RedHat 5.5 Ramchandra Apte Python 0 12-21-2012 12:15 PM
JNI thread vs. native thread vs. JNI call bgabrhelik Java 0 09-29-2009 03:33 PM
RE: Iterating generator from C (PostgreSQL's pl/python RETUNSETOF/RECORD iterator support broken on RedHat buggy libs) Hannu Krosing Python 0 05-15-2006 08:33 PM
Can someone try this on RedHat Linux/jre1.5 or redhat linux/jdk1.6? U. George Java 4 08-11-2005 12:33 PM
signaling a ruby thread from a win32 native thread Vincenzo Piombo Ruby 1 05-21-2004 02:43 AM



Advertisments