extra pings to server if WeakReferenced CachedJarLoaders gc'ed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.1_07
    • Affects Version/s: 1.4.2
    • Component/s: deploy
    • None
    • 07
    • generic
    • generic

        Jar files cached using cache_archive or cache_archive_ex can sometimes ping the
        server checking for expirary date. This is because JarCache.loadedJars uses
        WeakReferences for CachedJarLoader's and these can be gc'ed at any time.

        If the jar is loaded once from the cache it is removed from JarCache.currentJars
        in JarCache.get() and added to the JarCache.loadedJars. Because loadedJars uses
        WeakReferences then it maybe removed by gc and when the jar is requested to be
        loaded again it is no longer in curentJars, and then the extra ping.

        ###@###.###

              Assignee:
              Devananda Jayaraman (Inactive)
              Reporter:
              Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: