Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8418 Off Heap improvements
  3. ISPN-8422

Investigate removal of hashCode from memory block and rely solely on equals

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Rejected
    • None
    • None
    • None
    • None

    Description

      We could remove the hashCode 4 bytes taking up space in the allocated memory block. Currently this is only used for eviction, maybe instead we could write a VInt that says which offset of locks to use. In majority of cases <= 64 cores this will result in saving 3 bytes per entry.

      Attachments

        Activity

          People

            wburns@redhat.com Will Burns
            wburns@redhat.com Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: