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

Bug 327028

Summary: ProjectDescriptions will reprocess identical JARs for TLDs
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: jst.jspAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2.2Keywords: performance
Target Milestone: 3.2.3Flags: thatnitind: review+
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch
none
updated patch none

Description Nick Sandonato CLA 2010-10-05 13:28:36 EDT
Several ProjectDescriptions may reference identical JARs each requiring inspection of these JARs on the classpath for TLDs. If we could cache the TLDs identified in relation to the resource they've been extracted from, we could improve the performance when loading the ProjectDescription.
Comment 1 Nick Sandonato CLA 2010-10-20 15:39:25 EDT
Created attachment 181335 [details]
patch
Comment 2 Nitin Dahyabhai CLA 2010-10-20 18:01:26 EDT
Does the jar record ever get completely removed with this patch?
Comment 3 Nick Sandonato CLA 2010-10-21 11:35:52 EDT
Created attachment 181415 [details]
updated patch

You're right. The cached entries were never being removed. This update will remove the entries now.
Comment 4 Nick Sandonato CLA 2010-10-22 10:32:10 EDT
Released to HEAD and 3_2_Maintenance.