Bug 301672 - Java refactoring - slow method renaming
Summary: Java refactoring - slow method renaming
Status: VERIFIED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 04:13 EST by Maciej Rygielski CLA
Modified: 2010-03-08 13:26 EST (History)
1 user (show)

See Also:


Attachments
Plugins that I have installed (46.20 KB, text/plain)
2010-02-03 04:16 EST, Maciej Rygielski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Rygielski CLA 2010-02-03 04:13:39 EST
Build Identifier: 

Hello!

I have Eclipse Galileo with some extra plugins (GWT, JBoss AS Tools, JBoss Seam) full list will be attached in plugin. 

In my workspace I have a 3 projects with structure taken from seamgen.

When I try to rename method it is very slow (checking preconditions takes about 30 seconds). 

I will now file this bug and post further details in a while, cause we have problems with power supply




Reproducible: Always

Steps to Reproduce:
1. Press Alt+Shift+R (inline method changeing)
2. Change name
3. Press enter
Comment 1 Maciej Rygielski CLA 2010-02-03 04:16:11 EST
Created attachment 158011 [details]
Plugins that I have installed
Comment 2 Maciej Rygielski CLA 2010-02-03 04:33:12 EST
Processor: Intel Core 2 Duo 2,4 GHz 4 GB RAM
Eclipse has assigned 720 MB RAM in eclipse.ini

ADDITIONAL INFO

What is strange for me, that Java refactoring stops when nonjava files are out of sync. In my project i compile GWT very often and it creates files in FileSystem, a refresh is allways need.

I have worked with almost same set of plugins (different versions) with Eclipse 3.4 and there were no such problems.

My suspicions are as follows:
 - the problem is related to seam el resolver, but this might lead to a dead end 
 - server runtime is searched to check if rename applies to some of the libraries (jars) although direction of jar dependencies exclude such possibility.
Comment 3 Maciej Rygielski CLA 2010-02-03 04:34:44 EST
I have installed a clean version of Eclipse (Build id: 20090621-0832) and run
it is much faster (5 seconds on the same set of files). 

Does it mean that I should not disturb you but to post this bug on jboss tools or GWT bugzilla ?
Comment 4 Frederic Fusier CLA 2010-02-03 10:23:08 EST
(In reply to comment #3)
> I have installed a clean version of Eclipse (Build id: 20090621-0832) and run
> it is much faster (5 seconds on the same set of files). 
> 
> Does it mean that I should not disturb you but to post this bug on jboss tools
> or GWT bugzilla ?

Yes, thanks
Comment 5 Olivier Thomann CLA 2010-03-08 13:26:48 EST
Verified for 3.6M6 using I20100307-2000.