| 1. |
What Is The Meaning Of The Term “stop-the-world”? |
|
Answer» When the GARBAGE collector thread is running, other threads are stopped, meaning the APPLICATION is stopped momentarily. This is ANALOGOUS to house cleaning or fumigation where occupants are denied access until the process is complete. Depending on the needs of an application, “stop the world” garbage collection can cause an unacceptable freeze. This is why it is important to do garbage collector TUNING and JVM OPTIMIZATION so that the freeze encountered is at least acceptable. When the garbage collector thread is running, other threads are stopped, meaning the application is stopped momentarily. This is analogous to house cleaning or fumigation where occupants are denied access until the process is complete. Depending on the needs of an application, “stop the world” garbage collection can cause an unacceptable freeze. This is why it is important to do garbage collector tuning and JVM optimization so that the freeze encountered is at least acceptable. |
|