When building in debug mode, gperftools debug allocation features should be enabled

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Build
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We currently always build tcmalloc.o which doesn't enable the debugging support in tcmalloc, but we could easily enable those features by compiling debugallocation.o instead (which includes tcmalloc.o). We could either always do this when building with --dbg=on, or we could create a new option for the --allocator flag, probably --allocator=tcmalloc-debug.

      We need to double check that tcmalloc's internal valgrind detection and avoidance is functioning correctly.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: