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.
Build: NetBeans IDE 7.3.1 (Build 201306052037) VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17 OS: Windows 7 User Comments: GUEST: Hilighting a section of code, right-clicking to copy selection. Context menu took a long time to come up. GUEST: Dragging Tabbed Pane on Panel took a long time. Maximum slowness yet reported was 20175 ms, average is 11756
Created attachment 144975 [details] nps snapshot
one call to native IO method takes a long time. Originates in form editor.
Integrated into 'main-silver', will be available in build *201402140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dd1461dd0061 User: Tomas Pavek <tpavek@netbeans.org> Log: #241627: more diagnostics, printing stacktrace where a group was removed unexpectedly
The above changeset has wrong bug number in the log message, should have been bug 240634.
Currently two reports, the first one does not seem to show any long FileUtilities.convertStringToUri call (and nothing from GUI builder), in the second report there's a long call which directly leads to a long call of native method for getting file attributes. I.e. this is a stuck file system, likely overloaded by other I/O operations. We can't do anything about that. In the second snapshot there's a project classloader requested, which is supposed to be already created (so cheap) but maybe it is not always the case in maven projects, and in this particular case we won't need it anyway as loading a module class (for tabbed pane support) - so potentially could determine that before trying project classloader. But not sure if it is worth the effort.