This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237797 - Suspend/resume of laptop detected as "slowness" by Netbeans
Summary: Suspend/resume of laptop detected as "slowness" by Netbeans
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Slowness Detector (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 09:57 UTC by oyviste
Modified: 2015-07-09 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (93.75 KB, text/plain)
2013-10-30 09:57 UTC, oyviste
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oyviste 2013-10-30 09:57:43 UTC
After resuming laptop from suspend, Netbeans notifies me of detected slowness lasting thousands of seconds. It's of course a false positive. Likely caused by suspend/resume with presumably a sudden time warp in system clock.

Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Linux version 3.8.0-33-generic running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Comment 1 oyviste 2013-10-30 09:57:47 UTC
Created attachment 141687 [details]
IDE log
Comment 2 oyviste 2013-10-30 10:00:38 UTC
To reproduce, one must suspend machine with Netbeans running, for longer then some threshold in Netbeans for slowness detection, I guess.
Comment 3 Jaroslav Tulach 2013-11-26 13:54:45 UTC
Tomáši, possibly you could compare the number of seconds with the number of obtained snapshots - if there is no correlation, then ignore the report, right?
Comment 4 Tomas Hurka 2015-07-09 13:44:30 UTC
There is a build-in logic, which prevents taking slowness report if the sampled data are not regular enough. This should cover also suspend/resume. I am not able to reproduce it in current dev. build, so closing as works-for-me.