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

Improve io performance around timezone lookups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 6u30
    • core-libs
    • b29
    • generic
    • generic
    • Verified

        SHORT SUMMARY: Improve getTimeZone performance
        INDICATORS: Slow IO possible on some windows boxes while indexing through and
        creating
        a Map of all available TimeZones in JRE.
        COUNTER INDICATORS:
        TRIGGERS:
        JDeveloper team have reported a temporary GUI hang while dispatching a
        TimeZone intensive IO operation
        on their awt event dispatch thread. Suggested they don't perform IO on EDT
        but not accepted.
        KNOWN WORKAROUND: Never put intensive IO operation on EDT
        PRESENT SINCE: N/A
        HOW TO VERIFY: JDeveloper team are happy with recent proposed changes.
        In local tests, I've see time for testcase (available in bugDB 13511596) fall
        from ~4 seconds to 3 seconds on windows box
        NOTES FOR SE: Request to port to 6uX and later releases.
        Changes involve reducing the number of file stats performed on files in
        jre/zi directory and add an alias look-up table to avoid reading TZ aliases
        where possible.
        REGRESSION: No.

              tshioda Tomonori Shioda
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: