Java processes/threads

Discussion in 'Java' started by Jan Bares, Jun 1, 2005.

  1. Jan Bares

    Jan Bares Guest

    Hi,

    when I run JBoss, all the processes such as Tomcat, SQL server and so on
    appears as threads of a single process. How does Java manage separation
    between them (in OS thread the memory is shared between threads)? How are
    Java threads mapped to OS threads (one Java thread = one OS thread)?
    Is there a tool, that can show me which Java threads belong to Tomcat, which
    belong to SQL Server etc?

    I would be glag if you can point me to some documentation about this topic.
    I know that ClassLoader is the key to this question.

    (I am C++ professional working on Windows)

    Jan
    Jan Bares, Jun 1, 2005
    #1
    1. Advertising

  2. Jan Bares

    Jan Bares Guest

    I have found something at:

    http://www.onjava.com/pub/a/onjava/2001/09/25/optimization.html

    Jan

    "Jan Bares" <> wrote in message
    news:d7jof0$kmk$...
    > Hi,
    >
    > when I run JBoss, all the processes such as Tomcat, SQL server and so on
    > appears as threads of a single process. How does Java manage separation
    > between them (in OS thread the memory is shared between threads)? How are
    > Java threads mapped to OS threads (one Java thread = one OS thread)?
    > Is there a tool, that can show me which Java threads belong to Tomcat,

    which
    > belong to SQL Server etc?
    >
    > I would be glag if you can point me to some documentation about this

    topic.
    > I know that ClassLoader is the key to this question.
    >
    > (I am C++ professional working on Windows)
    >
    > Jan
    >
    >
    Jan Bares, Jun 2, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shahid Siddiqui
    Replies:
    2
    Views:
    324
    Cowboy \(Gregory A. Beamer\)
    Oct 15, 2003
  2. Larry Minj
    Replies:
    0
    Views:
    418
    Larry Minj
    Apr 27, 2005
  3. Jeff Rodriguez
    Replies:
    23
    Views:
    1,084
    David Schwartz
    Dec 9, 2003
  4. Pedro Pinto

    Java Threads - Get running threads

    Pedro Pinto, Apr 8, 2008, in forum: Java
    Replies:
    2
    Views:
    1,400
    Arne Vajhøj
    Apr 9, 2008
  5. Marc Heiler
    Replies:
    1
    Views:
    161
    Robert Klemme
    May 24, 2009
Loading...

Share This Page