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.

Bug 153945

Summary: [Rename] Rename is unusable for bigger project
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 161073    
Bug Blocks: 133914    
Attachments: thread dump

Description Jiri Prox 2008-11-26 14:53:34 UTC
Product Version: NetBeans IDE Dev (Build 081125)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb)

Rename is unusable for larger projects. I have tried package rename on projectized swingX sources and it stoped at 67%
in the Initializing data phase. The CPU is still working but no progress for 10 minutes.

I can provide the test project personally. it is too big to attach it here
Comment 1 Jiri Prox 2008-11-26 14:54:11 UTC
Created attachment 74184 [details]
thread dump
Comment 2 Quality Engineering 2009-03-23 10:04:15 UTC
Integrated into 'main-golden', will be available in build *200903230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/46696f0b051c
User: Jan Pokorsky <jpokorsky@netbeans.org>
Log: #153945: optimalization of isElementMoving() to make transformer 5-10x faster
Comment 3 Jan Pokorsky 2009-03-24 21:39:43 UTC
I consider this as fixed on refactoring side.
I have also filed issue 161073 since there is still room to improve performance in java.source.parsing.