jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@day.com>
Subject Re: JackRabbit Caching: BundleCache vs ItemManager vs CacheManager
Date Thu, 24 Jul 2008 08:32:56 GMT
On Wed, Jul 23, 2008 at 11:21 PM, Thomas Müller <thomas.mueller@day.com> wrote:
> Hi,
>
>>> So the intention is that once the session is no longer used then the
>>> ItemImpl instances are cleared up?
>
> Unfortunately sessions are kept in a list currently, so you need to
> close them manually. See also

what list are you refering to?

the only place i know where active sessions are kept is in
RepositoryImpl:

    /**
     * active sessions (weak references)
     */
    private final ReferenceMap activeSessions =
            new ReferenceMap(ReferenceMap.WEAK, ReferenceMap.WEAK);

cheers
stefan

> https://issues.apache.org/jira/browse/JCR-1216 "Unreferenced sessions
> should get garbage collected".
>
> Regards,
> Thomas
>

Mime
View raw message