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: | 15s - editor.completion.CompletionImpl.initActiveProviders() | ||
---|---|---|---|
Product: | editor | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | areeda, bsbc99, misterm, mmirilovic, mvfranz, roger_rf, yardus |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 160106 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2009-11-27 04:00:38 UTC
Created attachment 91766 [details]
nps snapshot
http://statistics.netbeans.org/exceptions/exception.do?id=303352 shows that CompletionProviders were being loaded from MimeLookup. Perhaps we could pre-initialize them in NbEditorKit. org.netbeans.modules.editor.mimelookup.impl.FolderPathLookup$ICItem.instanceOf calls IntanceDataObject.instanceOf. Passing to platform team for evaluation. Initialization of org.netbeans.modules.editor.completion.CompletionImpl.initActiveProviders() can take long time. Please pre-initialize this outside of AWT thread in YourEditorKit.call() method which is there to warm up whole editor infrastructure. CompletionProviders cannot be pre-initialized in NbEditorKit due to reverse dependency between editor and editor.completion modules. Fixed inside CompletionImpl. http://hg.netbeans.org/jet-main/rev/9f7a118fb859 Integrated into 'main-golden', will be available in build *201011140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9f7a118fb859 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #177730: 15s - editor.completion.CompletionImpl.initActiveProviders()- fixed. |