What are all those VM threads?
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.