LO76957: OVER 1000 CALLS TO OSGETENVIRONMENTVARIABLE WHEN OPENING MAIL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Notes

Software version:

8.5.2

Reference #:

LO76957

Modified date:

2013-09-23

Translate my page

Machine Translation

Content navigation