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: | low perfomance of IntToStringCache.getId() | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code Model | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 127727 | ||
Bug Blocks: |
Description
Alexander Simon
2007-12-14 08:32:31 UTC
fixing: added last search cache. It improves performance in 10 times. But method still is contained in hot spot (consume 2% of time by JourKit profiler on Open Solaris sources). Downgrade to P3. CVS log: Checking in IntToStringCache.java; /shared/data/ccvs/repository/cnd/repository/src/org/netbeans/modules/cnd/repository/util/IntToStringCache.java,v <-- IntToStringCache.java new revision: 1.7; previous revision: 1.6 done Take into account this issue when repository will be refactored. Alexander reduced time spent in this function 10 times. It isn't now a hot spot. So I believe the issue is fixed. |