Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 265396

Summary: A lot of threads
Product: Community Reporter: Pascal Rapicault <pascal>
Component: Cross-ProjectAssignee: Cross-Project issues <cross-project.inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
VM dump none

Description Pascal Rapicault CLA 2009-02-18 21:04:19 EST
Because of some speed problems, I did a thread dump of the VM (see attachment) to discover that I had a lot of threads called "Timer-<someDigits>" for which I could not identify the provenance.
I'm opening this bug here for two reasons:
- Identify the owner of the "Timer-*" threads as this looks like a bug.
- Remind everyone that threads are not free and in eclipse we have a thread pool capability with the Jobs API.

At the time I had installed:
- SDK
- Mylyn bugzilla connector
- Subversive, SVN Kit and Java HL
- Eclipse releng tools
- Eclemma
Comment 1 Pascal Rapicault CLA 2009-02-18 21:05:11 EST
Created attachment 126102 [details]
VM dump
Comment 2 Steffen Pingel CLA 2009-02-19 14:23:24 EST
Mylyn still uses a single TimerThread in version 3.0.x which probably shows up in the stack dump. All usages of java.util.Timer in Mylyn will be replaced by jobs for the next release (and Galileo): bug 233590.
Comment 3 Pascal Rapicault CLA 2009-02-20 23:29:40 EST
Given that I'm using Mylyn 3.1 20090202, the threads I am seeing are probably the Mylyn ones.
Closing as a dupe for now.

*** This bug has been marked as a duplicate of bug 233590 ***