Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7057459

Regression: Performance degradation with java.beans.XMLEncoder

    Details

    • Subcomponent:
    • Introduced In Build:
      b66
    • Introduced In Version:
      7
    • Resolved In Build:
      b03
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Backports

        Description

        SYNOPSIS
        ---------
        Performance degradation with java.beans.XMLEncoder

        OPERATING SYSTEM
        ----------------
        All

        FULL JDK VERSION
        ----------------
        JDK 7 (tested with b146)
        Performance first regressed in either JDK 7 b65 or JDK 7 b66.
        Degradation became worse in b71 or b72.
        For JDK 6, became slightly worse in 6u25. Not reproducible in 6u24.

        REPRODUCTION INSTRUCTIONS
        -------------------------
        1. Compile the two attached Java classes.
        2. Run "java JavaBeanXmlEncoder"

        Comparison of results from 7b64, 7b66, and 7b72:

        ---- 7b64 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 1032 in Millsecond
        -------------

        ---- 7b66 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 6141 in Millsecond
        -------------

        ---- 7b72 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 7954 in Millsecond
        -------------

        TESTCASE
        --------
        See attachments.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  malenkov Sergey Malenkov (Inactive)
                  Reporter:
                  dkorbel David Korbel (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: