Make sure Context.anonymousHostClasses doesn't grow unbounded

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b84
    • generic
    • generic

        We never remove entries from Context.anonymousHostClasses even if the script related to the code source was unloaded. Suggestion is to use a custom subclass of WeakReference that carries the CodeSource key in conjunction with a reference queue. WeakHashMap can not be used since it holds keys weakly instead of values.

              Assignee:
              Attila Szegedi
              Reporter:
              Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: