JVM C1, C2 Compiler Thread: High CPU Consumption?

C1 and C2 compiler threads are created by a Java virtual machine to optimize your application’s performance. Occasionally these threads will tend to consume high CPU. In this post, let’s learn a little more about C1 and C2 compiler threads and how to address their high CPU consumption.

After reading this post, terminologies like Hotspot JIT, C1 compiler threads, C2 compiler threads, and code cache may not terrify you (as it used to terrify me in the past).

CategoriesUncategorized