Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3659

Cache stop should clear thread-local ExtendedRiverMarshaller or their instance caches

    XMLWordPrintable

    Details

      Description

      The fix for ISPN-2372 was incomplete. We now clear the references from the thread-local marshallers to the cache itself, so it can be garbage-collected, but we don't clear the marshallers or their instance caches. If the cache values' object graph is very large, the cached marshallers will use up a lot of memory that could be garbage-collected (assuming the cache was indeed restarted and only one cache instance is running now).

        Attachments

          Activity

            People

            Assignee:
            pruivo Pedro Ruivo
            Reporter:
            dan.berindei Dan Berindei
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: