IBM Support

IZ92080: HEAP WASTE WHEN USING STRINGBUFFER.TOSTRING(), STRINGBUILDER.TOS TRING()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Excess heap usage
    .
    Stack Trace: N/A
    .
    This behaviour is already in the Oracle JDK
    

Local fix

Problem summary

  • When using the StringBuffer and StringBuilder toString method,
    the produced string contains excess characters that result in a
    waste of space.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR13
    6.0.0 SR10
    .
    The JVM libraries have been updated to prevent the overhead,
    this behaviour is enabled using
    -Djava.lang.string.create.unique=true
    .
    To obtain the fix:
    Install build 20110305 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ92080

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-14

  • Closed date

    2011-03-15

  • Last modified date

    2011-03-15

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

    IZ92037

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

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R600 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 March 2011