[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1168) jsr94, create stateful rule session, allow to set keepReference
Juergen none (JIRA)
jira-events at lists.jboss.org
Tue Sep 4 11:31:16 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1168?page=comments#action_12375177 ]
Juergen none commented on JBRULES-1168:
---------------------------------------
furthermore, i see no use of either WeakHashMap or WeakReference in AbstractRuleBase::statefulSessions, ObjectHashSet or AbstractHashTable, so basically all statefulRuleSessions are referenced directly, not via WeakReference, keeping them forever if not disposed explicitely
seems like a potential memory leak to me
> jsr94, create stateful rule session, allow to set keepReference
> ---------------------------------------------------------------
>
> Key: JBRULES-1168
> URL: http://jira.jboss.com/jira/browse/JBRULES-1168
> Project: JBoss Rules
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JSR94
> Affects Versions: 4.0.1
> Reporter: Juergen none
> Assigned To: Mark Proctor
> Priority: Minor
>
> org.drools.jsr94.rules.StatefulRuleSessionImpl currently calls initSession() with constant value true for keepReference. Would be nice if this could be configurable via properties map.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list