C2 compileThread takes long time, and the k8s pod 's cpu up to 100%

74 views Asked by At

some the k8s pod's cpu suddenly increase to 100% , and i find out the C2 compileThread takes long time;

"C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f6c9416b800 nid=0xf runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

   Locked ownable synchronizers:
    - None

the codecache is not full, but reduce a lot; and service is normal;

codecache:

enter image description here

i restart the pod, but after some day, it happens again;

how can i solve the problem ? why ??

0

There are 0 answers