You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Danton Estevam Pinto (JIRA)" <ji...@apache.org> on 2019/03/06 22:38:00 UTC
[jira] [Created] (NETBEANS-2214) High CPU usage after
hibernate/suspend and wake up Windows
Danton Estevam Pinto created NETBEANS-2214:
----------------------------------------------
Summary: High CPU usage after hibernate/suspend and wake up Windows
Key: NETBEANS-2214
URL: https://issues.apache.org/jira/browse/NETBEANS-2214
Project: NetBeans
Issue Type: Bug
Affects Versions: 10.0
Environment: Windows 7
Java 8 u181
Reporter: Danton Estevam Pinto
Attachments: jstack_-l_PID.txt
After hibernate/suspend and wake up Windows with Netbeans running on it, Netbeans starts a high CPU usage.
After Windows wake up, by analysing Thread tab of the Netbenas process on Process Explorer, I see one threads remaining in infinite loop.
It seems there is a workaround like reported here: [https://github.com/hazelcast/hazelcast/pull/7998]
Thread Stack:
"WebSocketServer" #47 daemon prio=1 os_prio=-2 tid=0x000000001f132000 nid=0x10b0 runnable [0x000000002a2df000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:296)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:278)
at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:159)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked <0x00000000c70c3798> (a sun.nio.ch.Util$3)
- locked <0x00000000c70c3788> (a java.util.Collections$UnmodifiableSet)
- locked <0x00000000c70c32e8> (a sun.nio.ch.WindowsSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
at org.netbeans.modules.netserver.SocketFramework.doRun(SocketFramework.java:97)
at org.netbeans.modules.netserver.SocketServer.run(SocketServer.java:53)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists