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 200404011800, Linux RH, JDK1.4.2_03 and JDK1.5.0-b45, PIII 800MHz, 512MB I opened core, core/windows, core/ide, openide, openide/loaders projects and forms contained in them (22 forms, mostly simple panels). Now the component switching between forms and Java editor takes 2seconds. This is a lot longer time than switching between Java editors for instance (usually ~300ms). Also switching between two forms is acceptable. It seems that TopComponentGroup.open/close called from PCL in FormEditorSupport is too expensive.
Created attachment 14275 [details] typical stacktrace during editor switch
Do you mean switching from form to java editor? Not from java to form? If TopComponentGroupImpl.close is too expensive, then this is rather winsys issue. More investigation is needed. Any chance to provide a snapshot from profiler?
Both changes last too long: form -> Java & Java -> form. Of course it can be a winsys problem and we can't say it without thorough analysis. So far we know that Java -> Java and even form -> form switching is much faster.
The java<->form switch doesn't seem to be slow in the latest development builds (the performance measurement with OptimizeIt didn't show any serious bottleneck).
verified