TODO 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. HEAP PROFILER
  2. 1) Fix heap profiling under all STLs
  3. * Find out how to force non-glibc STL libraries to call new() and
  4. delete() for every allocation / deallocation.
  5. * Make heap profiler ignore STL-internal allocations for those
  6. libraries under which we cannot profile accurately, so we only
  7. see object-level leaks.
  8. 2) Remove dependency on tcmalloc?
  9. 3) Port to non-linux O/Ses (right now code uses /proc for library info)
  10. 4) Port to non-x86 architectures (locking code in spinlock is x86-specific)
  11. 5) Port to C?
  12. 6) Figure out how to get setenv() to work properly before main() in
  13. shared libaries, and get rid of the profile-naming hack once we
  14. do. (See HeapProfiler::Init().)
  15. HEAP CHECKER
  16. 1) Remove requirement that the heap-checker must be linked last into
  17. an application (hard! -- it needs its global constructor to run
  18. first)
  19. TCMALLOC
  20. 1) Implement mallinfo/mallopt
  21. 2) Have tcmalloc work correctly when libpthread is not linked in
  22. (currently working for glibc, could use other libc's too)
  23. 3) Return memory to the system when requirements drop
  24. 4) Explore coloring allocated objects to avoid cache conflicts
  25. 5) Explore biasing reclamation to larger addresses
  26. 6) Add contention stats to a synchronization.cc (can do spinlocks,
  27. but threads? -- may have to provide our own thread implementation)
  28. CPU PROFILER
  29. 1) Figure out how to get setenv() to work properly before main() in
  30. shared libaries(), and get rid of the profile-naming hack once we
  31. do. (See Profiler::GetUniquePathFromEnv().)
  32. 2) Resolve crashing problems on x86_64 (see README)
  33. STACKTRACE
  34. 1) Remove dependency on linux/x86
  35. ---
  36. 11 March 2008