Bug 48896 - JSP editor from UI examples kills CPU
Summary: JSP editor from UI examples kills CPU
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2003-12-16 13:44 EST by James Manning CLA
Modified: 2007-06-22 10:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Manning CLA 2003-12-16 13:44:19 EST
there have been similar bugs along these lines, but the ones that seem relevant 
have been closed or just died.

With both 3.0M4 and 3.0M5, after installing the examples and opening a jsp with 
the JSP editor (and not before these actions), the CPU % of the machine goes to 
100 and stays there, even if Eclipse isn't the main app, even if iconified, 
etc.  The scary part is that closing the jsp doesn't fix it - whatever 
background thread is causing it continues to run.  CPU doesn't come back down 
until the workbench is restarted.

Eclipse is running like it does by default (with a javaw.exe) on this Win2K 
box, so I'm not sure how to get a thread dump of Eclipse's own threads to 
report.  I've seen bug reports that talk about CTRL+BREAK in a java console, 
but since this is javaw.exe instead of java.exe, there's no java console 
available, at least not that I can see in the system tray.

Thanks!
Comment 1 Dani Megert CLA 2003-12-19 12:19:43 EST
You're not talking about a deadlock, right? Can you provide the steps e.g. do
you install the examples into a fresh workspace?
Comment 2 James Manning CLA 2003-12-19 14:10:40 EST
fresh install, install examples, restart workbench once they're installed, 
create a cvs server entry, fetch the project, open jsp.

No deadlock at all - CPU % goes up to 100 and stays there, but everything 
still "works" fine.  Close the jsp editor, CPU % stays at 100.

Instructions on how to dump the threads under Windows and the javaw.exe would 
be great if they're available :)
Comment 3 Andre Weinand CLA 2003-12-19 14:36:01 EST
What version of Eclipse are you using for the latest test?
Would it be possible to attach the jsp file that triggers the problem?

You can create a full thread dump by pressing Control-Break in the console window.
Comment 4 Dani Megert CLA 2004-01-06 09:44:49 EST
waiting for user input
Comment 5 Dani Megert CLA 2007-06-22 09:59:05 EDT
Get rid of deprecated state.
Comment 6 Dani Megert CLA 2007-06-22 10:04:25 EDT
.