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

Improve performance of java.text.DecimalFormat.format() call stack

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 8
    • 7
    • core-libs
    • b61
    • generic
    • generic

    Backports

      Description

        SpecJEntreprise 2010 uses a lot NumberFormat default usage path (NumberFormat.getInstance() + format(double) method) to report
        data to end-user. This kind of usage is relevant is most business
        JEE server applications as well.

        This in turn translate to using DecimalFormat.format(...) methods
        either for currency or decimal usage. DecimalFormat.format() call
        stack has shown to consume a lot of CPU time in JEnt profiles (from
        16% in 2010 to 6.5% recently (02-2011)). Improving format() call
        stack may bring a lot to SpecJEntreprise or Business server apps.

        Attachments

          Issue Links

            Activity

              People

                olagneau Olivier Lagneau (Inactive)
                olagneau Olivier Lagneau (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: