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

Using expiration with off heap doesn't subtract size properly with expiration

    Details

      Description

      The OffHeapEntryFactoryImpl#getSize method is invoked when removing an entry. Unfortunately we don't add in the size for expiration (lifespan/maxidle). This can cause the count to think there are more bytes than there actually are, eventually evicting entries erroneously.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  william.burns Will Burns
                  Reporter:
                  william.burns Will Burns
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: