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: | areThereNewFiles() should not be called in AWT thread | ||
---|---|---|---|
Product: | installer | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Code | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, cyhelsky, mmirilovic |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread dump. |
Is this really a P2 performance problem. I don't think this is a regression. Downgrading to P3. Though this should be fixed. I'm working on the fix. It is P2 ... all together it means uninstall takes 15 minutes and this is not acceptable. Now that Issue #205702 is fixed this is not so urgent -> P3 I'm fixing this anyway.... areThereNewFiles() is not called from AWT, I added a assertion this state. I also I improve a little user's feedback while computing new files. core-main/rev/d8a72a485dcf Integrated into 'main-golden', will be available in build *201112090600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d8a72a485dcf User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #202535: add a check to don't run computation in EQ |
Created attachment 111071 [details] Thread dump. When you run uninstaller it seems it hangs because the method bellow runs in dispatch thread. It takes several minutes on my WindowsXP. It should be re-plan to separate thread to not block UI. NbPreInstallSummaryPanel$NbPreInstallSummaryPanelSwingUi.areThereNewFiles(NbPreInstallSummaryPanel.java:529)