Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-42

OffHeapMemoryBuffer store, allocate and free function's parameters consistency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • None
    • None

    Description

      OffHeapMemoryBuffer functions store and allocate should be consistent with their expires and expiresIn parameters : one has long, the other has int.

      Same for OffHeapMemoryBuffer.free, it returns a long but Pointer.start and Pointer.end are both int.

      Attachments

        1. parametersConsistency.patch
          0.8 kB
          Benoit Perroud

        Activity

          People

            bperroud Benoit Perroud
            bperroud Benoit Perroud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: