You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Cott Lang <co...@internetstaff.com> on 1999/03/13 00:13:48 UTC

mod_jserv/4051: Session efficiency - minor

>Number:         4051
>Category:       mod_jserv
>Synopsis:       Session efficiency - minor
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 12 15:20:00 PST 1999
>Last-Modified:
>Originator:     cott@internetstaff.com
>Organization:
apache
>Release:        1.3.3
>Environment:
Solaris 7
>Description:
JServSession allocates a HashTable in it's constructor.

It would appear that the hashtable allocation could be delayed 
until the hashtable is required, thus saving ram + time in many
cases.
>How-To-Repeat:

>Fix:
trap 
if (sessionData == null) 

in several places and only allocate the hashtable if needed.



>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]