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

Bug 345778

Summary: Duplicate tld entries in taglib index
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: major    
Priority: P3 CC: ccc, david.balazic, melickm, thatnitind
Version: 3.2.4Flags: thatnitind: review+
Target Milestone: 3.2.4+   
Hardware: All   
OS: All   
Whiteboard: WI74903
Bug Depends on:    
Bug Blocks: 346024    
Attachments:
Description Flags
patch
none
patch for helios none

Description Nick Sandonato CLA 2011-05-13 15:21:27 EDT
After taking a look at David's taglibindex from Bug 321602 it became apparent that TLDs were being repeated per-JAR in the taglib index.

Over time, the list grows. When restoring the references for a project description, one copy of the URLRecord was being added to the JARRecord's list. Each project could then contribute the same TLDs to back to that JARRecord. Over time, with projects feeding back superfluous entires into each other's records performance begins to degrade. Depending on the number of TLDs and the number of projects referencing those JARs, it may be awhile before any performance problems are noticed.

Easiest way to fix the problem is to delete the files from .metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex
Comment 1 Nick Sandonato CLA 2011-05-13 15:22:00 EDT
Created attachment 195628 [details]
patch
Comment 2 Nick Sandonato CLA 2011-05-16 11:58:10 EDT
Created attachment 195750 [details]
patch for helios
Comment 3 Carl Anderson CLA 2011-05-16 21:23:44 EDT
Committed to R3_2_4_patches