www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cott Lang <c...@internetstaff.com>
Subject mod_jserv/4051: Session efficiency - minor
Date Fri, 12 Mar 1999 23:13:48 GMT

>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 <apbugs@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!         ]




Mime
View raw message