Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 82608 - TaglibController leaks documents
Summary: TaglibController leaks documents
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 17:28 EST by Phillip Avery CLA
Modified: 2005-06-21 09:54 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 Phillip Avery CLA 2005-01-11 17:28:06 EST
TaglibController keeps every document it encounters in memory in a hashtable
because the removal code in the FileBufferListener.bufferDisposed(...)
is trying to fDocumentMap.remove(...) from the map using the map entry instead
of the key.

To fix, should use the map key to remove from fDocumentMap.
Comment 1 Phillip Avery CLA 2005-01-11 17:28:50 EST
checked the fix into HEAD
Comment 2 Phillip Avery CLA 2005-06-21 09:54:04 EDT
I've run yourkit profiler recently and haven't seen this.
Marking closed.