Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2241

Bundler using direct memory as buffer

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 5.1.7
    • None
    • None
    • 0
    • 0% 0%

    Description

      The current bundler impls use a byte[] array in an output stream as buffer into which messages are written.
      If we instead used a direct byte buffer (off-heap), the JDK would not create an additional copy but simply pass the contents to the corresponding socket. This would reduce the memory allocation rate.

      Direct buffers can also be used on the receiver side, investigate.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: