Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-3638

We don't account for alignment overhead...

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0-beta
    • 1.7 alpha 1
    • couchbase-bucket
    • Security Level: Public
    • None

    Description

      "The pointer returned if the allocation succeeds is suitably aligned so that it may be assigned to a pointer to any type of object and then used to access such an object or an array of such objects in the space allocated (until the space is explicitly deallocated)."

      In order to satisfy the above each pointer returned needs to be a multiple of 8 bytes in a 64 bit program. This should probably be tracked in the memOverhead stats?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty