Java
Programming and Technical
Programming
Technical
What kind of thread is the Garbage collector thread? It is a daemon thread
Read Solution (Total 9)
-
- I will assume yes, Garbage collector thread is a daemon thread. Daemon thread is a low priority thread which runs intermittently in the back ground doing the garbage collection operation or other requests for the java runtime system
- 10 years agoHelpfull: Yes(2) No(0)
- daemon thread
- 11 years agoHelpfull: Yes(1) No(0)
- daemon thread
- 11 years agoHelpfull: Yes(0) No(0)
- Daemon threads are considered as threads that run in the background and they are generally used as service providers for user threads. For example, the Java garbage collector is a daemon thread. When all the user threads of a program die, the JVM terminates the garbage collector and shuts down the program. Therefore, you should not use daemon threads to run your program's code but instead to provide some sorts of services to user threads.
- 10 years agoHelpfull: Yes(0) No(0)
- it is a daemon thraed
- 10 years agoHelpfull: Yes(0) No(0)
- Daemon thread is thread which runs for the purpose of other thread. We can declare user defined thread as daemon thread. So we can say that daemon thread will acts like a garbage collector thread
- 9 years agoHelpfull: Yes(0) No(0)
- Yes garbage collectoe thread is a daemon thread.
Daemon thread is run in background of gc. - 9 years agoHelpfull: Yes(0) No(0)
- yes it is a demon thread
at class loading time jvm creates two thread 1 main thread 2.gc thread where as gc is acting as demon thread - 7 years agoHelpfull: Yes(0) No(0)
- Yes the daemon thread is also a garbage collector thread
- 6 years agoHelpfull: Yes(0) No(0)
Java Other Question