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: | JMManager.waitScanFinished does not perform well | ||
---|---|---|---|
Product: | java | Reporter: | _ rkubacki <rkubacki> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ rkubacki
2005-09-07 12:16:31 UTC
Currently there are at least four usages that queries periodicaly during startup whether scanning is done: annotations refreshing, fold updating, something related to nodes, navigator. Lets' try to measure affect of this bug. Please try to measure startup time and compare it with startup time of patched ide. Patch is not a real fix, it just minimize number of iterations. OK. Ignore my last comment. We discussed it face by face with Radim. Re impact: Although the duration of each loop body is neglectible my profiler that samples every 1ms notices almost each iteration. It usualy shows that the state is either 'Wiat CPU' or 'Other wait' and only rarely it is 'User CPU'. Reported time in user CPU state is >0.1% ot total startup time with this sampling. Given that it is sampling and there should be other overhead with context switching it seems that the impact can be much higher. OTOH the startup sequence is really long here because it is not a fast machine and it is profiling (even fast machine can suffer from active waiting if you have a complex setup). It might be interesting to measure this with dtrace. Moving to different subcomponent. With respect to the latest changes in java infrastructure will likely not be fixed. Any reason this and other MDR related issues are not closed? It's a little hard to get a picture of what things are really needing fixing and not when doing a query against the Java module (I'm trying to submit less duplicate bugs). Reorganization of java component This issue is not valid in current builds any more. Java support was completely redesigned in 6.0 time frame. Please use NetBeans 6.0 and later. |