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

Some methods from cache API do not work properly with off-heap

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.1.2.Final, 9.2.0.Final
    • 9.1.0.Final
    • Core
    • None

      Following methods from cache API don't work properly with off-heap:

      • get() returns value even for keys, which are not equal (for keys, which have same content, but key#equals() returns false)
      • keySet() - from docs: modifications and changes to the cache will be reflected in the set and vice versa. This is not the case for off-heap.
      • replaceAll() fails with class cast exception (e.g. in case of Cache<String,String> with java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.commons.marshall.WrappedBytes)

              wburns@redhat.com Will Burns
              vjuranek@redhat.com Vojtech Juranek
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: