Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What are all those VM threads?

843829Dec 2 2009
Hi there,

a peek into the running threads of the JavaVM reveals quite alot of non-application threads. I'm writing a single-threaded application using LWJGL and a single AWT Window ( I guess that LWJGL creates that window using AWT) yet there are 11 (!) other threads running in the VM next to my main thread:

- JMX server connection timeout
- RMI Scheduler
- RMI TCP Connection
- RMI TCP Accept
- AWT Windows
- Java2D Disposer
- DestroyJavaVM
- Attach Listener
- Signal Dispatcher
- Finalizer
- Reference Handler

What are all of these for? Especially that JMX and RMI TCP threads. I'm not using any of those features. I tried searching the internet, but found little info on these threads.

It seems somewhat wasteful for the JavaVM to run 11 Threads even for the simplest application.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2009
Added on Dec 2 2009
0 comments
276 views