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 231664 - unknown: LowPerformance took 24034 ms.
Summary: unknown: LowPerformance took 24034 ms.
Status: RESOLVED DUPLICATE of bug 231104
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-06-22 06:05 UTC by arthurhsieh
Modified: 2013-06-24 12:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201606


Attachments
nps snapshot (29.29 KB, application/nps)
2013-06-22 06:05 UTC, arthurhsieh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arthurhsieh 2013-06-22 06:05:16 UTC
This bug was originally marked as duplicate of bug 187337, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.45-b01-451, Java(TM) SE Runtime Environment, 1.6.0_45-b06-451-11M4406
OS: Mac OS X

User Comments:
arthurhsieh: Was running test and my Swing object just hanged.



Maximum slowness yet reported was 24034 ms, average is 24034
Comment 1 arthurhsieh 2013-06-22 06:05:17 UTC
Created attachment 136168 [details]
nps snapshot
Comment 2 Petr Cyhelsky 2013-06-24 09:13:44 UTC
The whole time is spent in java.io.FileOutputStream.close0[native]() it seems the io is somehow unable to cope. The possible reason can maybe be the incessant logging of following exception and even printing of whole source files into log - see the messages.log. Maybe the fix of the exception will fix the io issue... reassigning to java/navigation for evaluation. 

java.lang.IllegalStateException: This must happen in the event thread!
	at org.openide.awt.Actions$Bridge.propertyChange(Actions.java:929)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:196)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:318)
	at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:616)
	at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:458)
	at com.sun.proxy.$Proxy7.resultChanged(Unknown Source)
	at org.openide.util.lookup.AbstractLookup$NotifyListeners.run(AbstractLookup.java:537)
	at org.openide.util.lookup.AbstractLookup.notifyIn(AbstractLookup.java:314)
	at org.openide.util.lookup.AbstractLookup.addPairImpl(AbstractLookup.java:256)
	at org.openide.util.lookup.AbstractLookup.addPair(AbstractLookup.java:223)
	at org.openide.util.lookup.AbstractLookup$Content.addPair(AbstractLookup.java:1267)
	at org.openide.util.lookup.InstanceContent.add(InstanceContent.java:90)
	at org.netbeans.modules.java.navigation.ClassMemberPanelUI$7.run(ClassMemberPanelUI.java:723)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
Comment 3 Tomas Zezula 2013-06-24 12:04:49 UTC
In reply to comment #2: I doubt so. No printing of tree is done, the stack trace is short. Also the data are already "written" (probably in cache). The close does not force write back. The File.sync() is required for write back.

The exception itself is a duplicate of issue #231104.

*** This bug has been marked as a duplicate of bug 231104 ***