Java Program Falls into a Time Crack: Exploring the Mysterious Pause in the Deep of Code
abstract
Let's think about a question: When your Java program occasionally stops for a short time, what do you think causes this phenomenon? You may answer that STW is caused by GC. Yes, GC is indeed the direction that can be doubted immediately. But in fact, there are many possibilities for Java programs to pause briefly. Let's talk about this topic today.