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