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

Bug 331970

Summary: Performance: persist and restore EAR Libraries classpath container
Product: [WebTools] WTP Java EE Tools Reporter: Jason Sholl <jsholl>
Component: jst.j2eeAssignee: Jason Sholl <jsholl>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: melickm
Version: 3.2Flags: cbridgha: review+
jsholl: review? (ccc)
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
patch
none
patch v2 none

Description Jason Sholl CLA 2010-12-06 20:09:54 EST
This is the follow on work mentioned in bug 330984 for the EAR Libraries classpath container.  It also contains an improvement to the original bug for the IDependencyGraph.

The design is similar.  Each EAR Libraries classpath container is cached based by project name and is loaded during startup from the cache rather than recomputing.  This shortens the time spent in the critical section of JDT startup.  If a container is restored then a separate job is scheduled to verify and fix the container if necessary, but because this work is farmed off to another job initial startup is not affected.
Comment 1 Jason Sholl CLA 2010-12-06 20:11:35 EST
Created attachment 184681 [details]
patch
Comment 2 Jason Sholl CLA 2010-12-13 17:59:11 EST
Created attachment 185100 [details]
patch v2

This patch also contains a similar improvement for the Web App Libraries classpath container.
Comment 3 Chuck Bridgham CLA 2010-12-14 17:13:34 EST
approve
Comment 4 Jason Sholl CLA 2010-12-15 14:21:59 EST
Code checked into 32M and HEAD for WTP 3.2.3 and 3.3