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: | org.netbeans.modules.parsing classes are loaded on 1st and 2nd NetBeans startup | ||
---|---|---|---|
Product: | editor | Reporter: | Alexander Kouznetsov <mrkam> |
Component: | Parsing & Indexing | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues, jtulach |
Priority: | P4 | Keywords: | PERFORMANCE, REGRESSION, TEST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://wiki.netbeans.org/FitnessViaWhiteAndBlackList | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Stacktraces |
Created attachment 75278 [details]
Stacktraces
Should not happen when ergonomics is enabled. May be fixed by the future indexing api. The following class was not loaded during 1st and 2nd NetBeans startup with 090111 build: org.netbeans.modules.parsing.impl.FileObjectsTaskScheduler Overtake. Can we please retest this in the current dev builds? IMO this has been improved and the classes should no longer be loaded. Thanks build 20090608 org.netbeans.modules.parsing.impl.CurrentDocumentScheduler org.netbeans.modules.parsing.impl.CurrentEditorTaskScheduler org.netbeans.modules.parsing.impl.CurrentEditorTaskScheduler$AListener org.netbeans.modules.parsing.impl.CursorSensitiveScheduler org.netbeans.modules.parsing.impl.Installer org.netbeans.modules.parsing.impl.Schedulers org.netbeans.modules.parsing.impl.SelectedNodesScheduler org.netbeans.modules.parsing.impl.SelectedNodesScheduler$AListener org.netbeans.modules.parsing.impl.indexing.PathRegistry org.netbeans.modules.parsing.impl.indexing.PathRegistry$Listener org.netbeans.modules.parsing.impl.indexing.PathRegistryListener org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$State org.netbeans.modules.parsing.impl.indexing.friendapi.IndexingActivityInterceptor org.netbeans.modules.parsing.spi.Scheduler This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |
Performance test reports there is regression in 1st and 2nd NetBeans startup which is caused by the loading of following classes: org.netbeans.modules.parsing.api.Task org.netbeans.modules.parsing.impl.CurrentDocumentScheduler org.netbeans.modules.parsing.impl.CurrentEditorTaskScheduler org.netbeans.modules.parsing.impl.CurrentEditorTaskScheduler$AListener org.netbeans.modules.parsing.impl.CursorSensitiveScheduler org.netbeans.modules.parsing.impl.FileObjectsTaskScheduler org.netbeans.modules.parsing.impl.Installer org.netbeans.modules.parsing.impl.Schedulers org.netbeans.modules.parsing.impl.SelectedNodesScheduler org.netbeans.modules.parsing.impl.SelectedNodesScheduler$AListener org.netbeans.modules.parsing.impl.TaskProcessor org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob org.netbeans.modules.parsing.impl.TaskProcessor$CurrentRequestReference org.netbeans.modules.parsing.impl.TaskProcessor$DeferredTask org.netbeans.modules.parsing.impl.TaskProcessor$InternalLock org.netbeans.modules.parsing.impl.TaskProcessor$Request org.netbeans.modules.parsing.impl.TaskProcessor$RequestPriorityComparator org.netbeans.modules.parsing.impl.TaskProcessor$WorkerThreadFactory org.netbeans.modules.parsing.impl.Utilities org.netbeans.modules.parsing.impl.Utilities$IndexingStatus org.netbeans.modules.parsing.spi.ParserResultTask org.netbeans.modules.parsing.spi.Scheduler org.netbeans.modules.parsing.spi.SchedulerTask Please don't load these classes unless they're really necessary. Comment from jtulach: > Looks like this is being triggered without any open project by java.source module: > > org.netbeans.modules.java.source.usages.RepositoryUpdater.getDefault(RepositoryUpdater.java:3641) > org.netbeans.modules.java.source.JBrowseModule$1$1.run(JBrowseModule.java:86) > > This shall be prevented. Report a bug for java.source to prevent this initialization until at least one Java file is accessed. More information is available via the URL specified.