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 Dev (Build 090914) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Linux, 2.6.29.6-desktop-1mnb, i386 Maximum slowness yet reported was 34892 ms, average is 34892
Created attachment 88546 [details] nps snapshot
The problem is that SourceLevelQueryImpl.getSourceLevel took 32 seconds in thread "openide.text document processing". It was blocked by the computation of apisupport in thread "Java Node Badge processor" which was most probably triggered by the Hg refresh. Assigning to apisupport to evaluate.
Problem is that debugger calls openDocument in AWT thread. It should be done from another thread as this call is blocking and can take long time.
This is problem of the caller to openDocument. That call just cannot be absolutely fast, so it shall not be called from AWT. Assigning to WatchPanel.setupContext().
Fixed in changeset: 147629:8dde4fa8546a http://hg.netbeans.org/main/rev/8dde4fa8546a
That might help. Thanks.
FYI: this fix has caused regression issue #173914.
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8dde4fa8546a User: mentlicher@netbeans.org Log: #173312 - Use RequestProcessor instead of Swing's Timer.