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: | 28s - j2ee.persistence.wizard.library.PersistenceLibrarySupport.extractProvider() calls into ClassPath in EDT | ||
---|---|---|---|
Product: | javaee | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pjiricka |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 204295 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-11-23 13:16:15 UTC
Created attachment 142506 [details]
nps snapshot
Single call to j2ee.persistence.wizard.library.PersistenceLibrarySupport.extractProvider() leads to at least 77 disk touches. That can't be fast. Move that out of EDT. comments are not clear to me as both reports are persistence wizards related( not usual work with ide ). wizard may show smth like "initializing" when providers are initializing off edt. on other side I see " java.io.WinNTFileSystem.getBooleanAttributes[native](): 12074 / 12074" in some other cases these kind of issues are considered as general system slowness we have no control on see for example https://netbeans.org/bugzilla/show_bug.cgi?id=238862 with justification "NFS problem, do not fix" Also I see it's as a reasons for reports as usual ide actions are slow for uses, it's just an occasion it's reported against persistence wizard. In this case persistence issue may not be P2 even it's better to move possible problematic code out of edt. Will fix in 8.0 only if it will not take much time. 7.2.1 may not be valid any more 7.4 snapshot is a bit different, http://hg.netbeans.org/web-main/rev/939b8584f981 Integrated into 'main-silver', will be available in build *201312070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/939b8584f981 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #238731 fix latest snapshot, combobox is initialized out of edt now *** Bug 240900 has been marked as a duplicate of this bug. *** |