IBM Support

IV13374: POOR PERFORMANCE OF XMLENCODER.WRITEOBJECT() WITH LARGE OBJECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: It will cost more than one hour when using
    XMLEncoder.writeObject to output a large object such as a vector
    with 300,000 elements. The spent time is not linear increased
    with the size of the object needs to be outputted. Outputting a
    vector with 100,000 elements may only cost several seconds.
    .
    Stack Trace: N/A
    .
    N/A
    

Local fix

  • No
    

Problem summary

  • The root cause is that there is a IdentityHashMap in XMLEncoder.
    Large number of elements will cause hash collision heavily in
    IdentityHashMap. And this is time costing.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR2
    .
    With a functional fix, the IdentityHashMap is removed from
    XMLEncoder.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV13374

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-22

  • Closed date

    2012-02-08

  • Last modified date

    2012-09-06

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 September 2012