Bug 84066 - timeout underlying JAR files
Summary: timeout underlying JAR files
Status: RESOLVED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-01-31 12:42 EST by Jeff McAffer CLA
Modified: 2007-03-27 15:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2005-01-31 12:42:55 EST
As per Pascal's suggestion, we should investigate timing out and closing the 
plugin JAR files which underly the BundleFiles.  Say after 5 min of not being 
accessed simply close the JAR and lazily reopen if it is ever accessed.  The 
key here is that once a plugin is up and running (with its images and code 
loaded) we seldom need to revisit the JAR having it open is just wasting space.
Comment 1 Jeff McAffer CLA 2005-02-11 13:44:35 EST
just as a reminder.  We may not be able to do this for JXEs as they are memory 
mapped.
Comment 2 Pascal Rapicault CLA 2005-02-22 10:22:49 EST
If we are not able to ship as jars, this will become more important.
Marking as 3.1
Comment 3 Thomas Watson CLA 2005-02-22 10:43:59 EST
Pascal, I am not against this enhancement.   But I fail to see why it is more 
important if we do not ship as jars.
Comment 4 Pascal Rapicault CLA 2005-02-22 13:35:58 EST
If we ship eclipse as jars, then all the files that were at the root become
files in the jar. Therefore opening them, no longer cost an os handle.
That's why if we do not ship as jar, it becomes more important to close our jar
to reduce the possibility to run out of file handles.

After discussing this option with other team members it seems that the
investigation still worth it since even if we ship as jars.
Comment 5 Thomas Watson CLA 2006-02-13 10:01:30 EST
bug 113718 tries to solve a similar problem.  It has a subtle difference because it limits the number of open jar files.  This bug wants to put a limit on the amount of time an idle jar stays open.

Bug 113718 has been marked fix.  I'm not sure we want to support both approaches to solve this problem.  Can we close this as a dup of 113718 or close as wontfix?
Comment 6 Pascal Rapicault CLA 2006-04-06 11:49:55 EDT
I would rather take ownership of it rather than closing as wontfix.
Comment 7 Jeff McAffer CLA 2006-04-06 12:00:19 EDT
how about marking as 3.3?
Comment 8 Thomas Watson CLA 2007-03-21 14:55:02 EDT
Not for 3.3.
Comment 9 Thomas Watson CLA 2007-03-27 15:46:06 EDT
I know several products have been running with bug 113718 to solve issues with too many jar files open.  Closing as wontfix, we can reopen later if there is an important usecase where the fix in bug 113718 is not sufficient