jvm垃圾回收中我们经常还听说一个stop the word事件。这个stop the word事件是一个什么事情呢?今天就给大家介绍下这个stop the word事件。
stop the word事件就是在垃圾回收的过程中,当前主线程里面的所有子线程都要全部暂停,等待垃圾回收完毕为止。所以我们可以看做是在垃圾回收里面的一个停顿事件。这个事件在minor gc、major gc、full gc阶段都会遇到。
jvm垃圾回收中我们经常还听说一个stop the word事件。这个stop the word事件是一个什么事情呢?今天就给大家介绍下这个stop the word事件。
stop the word事件就是在垃圾回收的过程中,当前主线程里面的所有子线程都要全部暂停,等待垃圾回收完毕为止。所以我们可以看做是在垃圾回收里面的一个停顿事件。这个事件在minor gc、major gc、full gc阶段都会遇到。
还没有评论,来说两句吧...