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

Redundant fetches of jars causing severe startup time problems

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6u14
    • Fix Version/s: 8
    • Component/s: deploy
    • Subcomponent:
    • Resolved In Build:
      b55
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        A JavaFX Lunar Lander app (see Comments section for its location) is causing the applicaation's jar file to be downloaded from the server over and over again. Attached is one thread dump showing that there are likely bugs in the CachedJarURLConnection or PluginURLJarFileCallBack classes where they are not properly hitting in the cache.

        These cache misses occur every time a new JVM instance is started to run the app. When the app is run in the same JVM multiple times the issue does not occur. However, the most significant startup time problems are occurring during the first launch of JavaFX applets in a fresh JVM instance.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                nam Nam Nguyen (Inactive)
                Reporter:
                kbr Kenneth Russell (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: