You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2008/06/02 12:07:45 UTC
[jira] Assigned: (WICKET-1679) Memory leak in DiskPageStore
[ https://issues.apache.org/jira/browse/WICKET-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner reassigned WICKET-1679:
---------------------------------------
Assignee: Matej Knopp
> Memory leak in DiskPageStore
> ----------------------------
>
> Key: WICKET-1679
> URL: https://issues.apache.org/jira/browse/WICKET-1679
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.3
> Reporter: Stefan Fußenegger
> Assignee: Matej Knopp
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> No entries are removed from DiskPageStore.sessionIdToEntryMap. I guess, this should be added to the DiskPageStore.unbind(String sessionId) method:
> public void unbind(String sessionId)
> {
> // FIX: replace get() with remove()
> SessionEntry entry = (SessionEntry)sessionIdToEntryMap.get(sessionId);
> if (entry != null)
> {
> if (isSynchronous())
> {
> entry.unbind();
> }
> else
> {
> List pages = getPagesToSaveList(sessionId);
> synchronized (pages)
> {
> flushPagesToSaveList(sessionId, pages);
> entry.unbind();
> }
> pagesToSaveAll.remove(sessionId);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.