You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2020/02/11 13:05:00 UTC

[jira] [Created] (RATIS-814) High CPU usage by TimeoutScheduler due to JDK bug JDK-8129861

Lokesh Jain created RATIS-814:
---------------------------------

             Summary: High CPU usage by TimeoutScheduler due to JDK bug JDK-8129861
                 Key: RATIS-814
                 URL: https://issues.apache.org/jira/browse/RATIS-814
             Project: Ratis
          Issue Type: Bug
            Reporter: Lokesh Jain
            Assignee: Lokesh Jain


TimeoutScheduler creates an instance of ScheduledThreadPoolExecutor with 0 core pool threads. There is a bug in JDK [https://bugs.openjdk.java.net/browse/JDK-8129861] which causes high CPU usage if ScheduledThreadPoolExecutor is instantiated with 0 core pool threads. The bug was fixed in Java 9.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)