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

2020-03-02 Thread Tsz-wo Sze (Jira)


 [ 
https://issues.apache.org/jira/browse/RATIS-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated RATIS-814:
-
Component/s: common

> 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
>  Components: common
>Reporter: Lokesh Jain
>Assignee: Lokesh Jain
>Priority: Major
> Fix For: 0.6.0
>
> Attachments: RATIS-814.001.patch, flamegraph.svg
>
>
> 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)


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

2020-03-02 Thread Mukul Kumar Singh (Jira)


 [ 
https://issues.apache.org/jira/browse/RATIS-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mukul Kumar Singh updated RATIS-814:

Fix Version/s: 0.6.0

> 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
>Priority: Major
> Fix For: 0.6.0
>
> Attachments: RATIS-814.001.patch, flamegraph.svg
>
>
> 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)


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

2020-02-11 Thread Lokesh Jain (Jira)


 [ 
https://issues.apache.org/jira/browse/RATIS-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lokesh Jain updated RATIS-814:
--
Attachment: flamegraph.svg

> 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
>Priority: Major
> Attachments: RATIS-814.001.patch, flamegraph.svg
>
>
> 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)


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

2020-02-11 Thread Lokesh Jain (Jira)


 [ 
https://issues.apache.org/jira/browse/RATIS-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lokesh Jain updated RATIS-814:
--
Attachment: RATIS-814.001.patch

> 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
>Priority: Major
> Attachments: RATIS-814.001.patch
>
>
> 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)