I'm profiling a program with Visual VM. My program runs for a while and finally pops up a few plots using XChart showing the results. After the charts are displayed, I noticed in Visual VM some active threads "RMI TCP Accept", "Attach Listener", and "Signal Dispatcher". What are these threads? I assume they are there in connection with Visual VM only. Am I correct??
What is RMI TCP Accept, Attach Listener, and Signal Dispatcher in Visual VM?
Loosely answered by this post https://mcmap.net/q/771899/-simple-java-example-runs-with-14-threads-why
As you assume; Attach, Signal and RMI TCP Accept are for JMX monitoring by jConsole, VisualVM or similar.
The others are for garbage collection (e.g. Finalizer, Reference Handler).
© 2022 - 2024 — McMap. All rights reserved.