Downcall stubs are never freed

XMLWordPrintable

      Downcall stubs/native invokers are currently never free. After creation they are stored in a cache, and they stay there for the lifetime of the VM.

      We could implement a weak reference cache where the values are NativeEntryPoints, and then register those NativeEntryPoints with a cleaner that frees the downcall stub when the NativeEntryPoint becomes unreachable.

            Assignee:
            Jorn Vernee
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: