mathiyarasu.T Arasu
mathiyarasu.T Arasu

Reputation: 71

Why is the java.exe is consuming more CPU due to "EnhancedQueueExecutor.java" threads?

I am running WildFly 12 with JDK 1.8 version. We faced the slowness issue due to high CPU usage of java.exe. Then, we have taken a thread dump using JStack and most of the high CPU threads are pointing to at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1422)

Below is the thread dump error trace:

"default task-53" #378 prio=5 os_prio=0 tid=0x000000003179a800 nid=0x3c0 waiting on condition [0x000000004eabf000]
   java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for  <0x0000000665d6b8f0> (a org.jboss.threads.EnhancedQueueExecutor)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1422)
    at java.lang.Thread.run(Thread.java:748)

Recently we have upgraded to WildFly 12 from WildFly 9(JDK 1.7). Post that, we are facing this type of issues.

Thanks in advance.

Upvotes: 0

Views: 712

Answers (0)

Related Questions