Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-3815

Avoid buffer copy in ContainerCommandRequestProto

    XMLWordPrintableJSON

    Details

    • Target Version/s:

      Description

      Avoid buffer copy because of

       final int i = 4 + bytes.asReadOnlyByteBuffer().getInt();
      

      bytes.asReadOnlyByteBuffer() causes the entire buffer to be copied.

        Attachments

        1. fstree-DN1-102400Files-10Bytes-003.svg
          660 kB
          Mukul Kumar Singh

          Issue Links

            Activity

              People

              • Assignee:
                msingh Mukul Kumar Singh
                Reporter:
                msingh Mukul Kumar Singh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: