Concurrency and parallelism of jvm garbage collector

Parallel: multiple garbage collection threads proceed simultaneously

Concurrency: user threads and garbage collection threads are performed at the same time

The concept of concurrency and parallelism here needs to be distinguished from the concept of multithreading. For details, please refer to this blog post: The difference between multithreaded parallelism and concurrency

Guess you like

Origin blog.csdn.net/qq_28411869/article/details/89278217