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

Make MemoryManagerServiceWithAllocationPolicyImpl the default MemoryManagerService implementation

    XMLWordPrintableJSON

Details

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

    Description

      {{

      {MemoryManagerServiceWithAllocationPolicyImpl}}} extends {MemoryManagerServiceImpl}}} and adds the ability to specify an {AllocationPolicy}.

      {{{MemoryManagerServiceImpl}
      has a somehow strange behavior, it try a second time to allocate space in a buffer if the first allocation failed. This behavior is generalized and configurable in {{{MemoryManagerServiceWithAllocationPolicyImpl}

      }}, and the default {{

      {RoundRobinAllocationPolicy}

      }} is even by default configured to 2.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: