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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b61
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: