Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3815

Avoid buffer copy in ContainerCommandRequestProto

    XMLWordPrintableJSON

Details

    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

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

              Dates

                Created:
                Updated:
                Resolved: