IBM Support

PM81406: PERFORMANCE ISSUE IN DYNAMIC ATTRIBUTES IN A JSP TAG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The code generated for a dynamic attribute will create a new
    String object on each evaluation of the tag attribute.  This
    object is not necessary.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Version    *
    *                  8.0 and 8.5 users of JavaServer Pages       *
    *                  (JSP).                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A dynamic attribute in a custom JSP     *
    *                      tag creates unnecessary String          *
    *                      objects.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a custom tag is configured to allow for dynamic attributes,
    there will be unnecessary String objects created during the
    processing of the JSP request.
    For example, a custom tag with a dynamic attribute such as
    this:
    <custom:test test_attribute="test_value"/>
    will generate the following code for setting the
    attribute:
    _jspx_th_custom_test_0.setDynamicAttribute(null,
    "test_attribute", new String("test_value"));
    

Problem conclusion

  • The JSP Container was modified so that it will not create
    unnecessary String objects.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.6 and the fix pack following 8.5.0.2.  Please
    refer to the Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM81406

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-25

  • Closed date

    2013-02-01

  • Last modified date

    2013-02-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM93921

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 January 2022