APAR status
Closed as program error.
Error description
We have observed that when we open a mail message, the function OSGetEnvironmentVariable is called more than 1000 times. The majority is coming from DesignTranslateTextTokenExt in design\dxlate.cpp where we are checking for DEBUG_ENABLE_TEMPLATE_TRANSLATION. Now, in reality OSGetEnvironmentVariable is pretty fast and I doubt if the call is costing more than a few milliseconds overall, but with > 1000 calls, caching the result of the call is certainly worthwhile. We don't understand why this is done and would like this removed in 8.5.3
Local fix
Problem summary
A programming error was found and will be corrected in a future release.
Problem conclusion
A programming error was found and will be corrected in a future release.
Temporary fix
Comments
This APAR is associated with SPR# RBEO8J9LCR. There is a low-level routine called DesignGetTokenExt which is called very frequently when doing common operatoins (on the order of thousands of times). Each time it is called a call to OSGetEnvironmentInt is called. The value is not cached, so the overhead could add up. Suggestion is to use a CCachedEnvVar to hold the value.
APAR Information
APAR number
LO76957
Reported component name
NOTES CLIENT
Reported component ID
5724E6255
Reported release
852
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-06
Closed date
2013-09-23
Last modified date
2013-09-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
NOTES CLIENT
Fixed component ID
5724E6255
Applicable component levels
R852 PSN
UP
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.2","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
23 September 2013