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.
Summary: | org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.readDirectory: LowPerformance took 54148 ms. | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Simon <alexvsimon> |
Component: | Remote | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 207783 |
Attachments: |
nps snapshot
Proposed patch better fix Yet better fix that fixes also the last mentioned stack Small changes after review with Maria + more comments |
Description
Alexander Simon
2014-02-19 14:43:46 UTC
Created attachment 145401 [details]
nps snapshot
As I understand, it UI was frozen when you - entered or copy-pasted a path into "File Name" field - pressed "Open" In this case FileSystem.findResource is invoked in EDT: "AWT-EventQueue-0" at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:298) at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:96) at org.netbeans.modules.remote.api.ui.RemoteFileSystemView.createFileObject(RemoteFileSystemView.java:107) at javax.swing.plaf.basic.BasicFileChooserUI$ApproveSelectionAction.actionPerformed(BasicFileChooserUI.java:909) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) ... Another stack that leads to the same issue is "AWT-EventQueue-0" org.netbeans.modules.remote.api.ui.RemoteFileSystemView.createFileObject(RemoteFileSystemView.java:100) org.netbeans.modules.remote.api.ui.FileChooserUIImpl$TextFieldKeyListener.keyPressed(FileChooserUIImpl.java:2335) java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249) java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249) java.awt.Component.processKeyEvent(Component.java:6463) javax.swing.JComponent.processKeyEvent(JComponent.java:2828) java.awt.Component.processEvent(Component.java:6282) java.awt.Container.processEvent(Container.java:2229) java.awt.Component.dispatchEventImpl(Component.java:4861) ... Created attachment 145530 [details]
Proposed patch
Created attachment 145624 [details]
better fix
Created attachment 145946 [details]
Yet better fix that fixes also the last mentioned stack
Created attachment 145962 [details]
Small changes after review with Maria + more comments
Integrated into 'main-silver', will be available in build *201403130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/68985f0f8faf User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242099 - org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.readDirectory: LowPerformance took 54148 ms. Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/e3ae6cf6efbf User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #242099 - org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.readDirectory: LowPerformance took 54148 ms. (transplanted from 68985f0f8faf28e134b4c2ffdd043bd05a8305b7) |