OLD | NEW |
(Empty) | |
| 1 Dart uses tcmalloc in the standalone VM on Linux. |
| 2 |
| 3 To roll tcmalloc forward: |
| 4 . Clone the gperftools git repo at the revision you want in a directory off |
| 5 to the side. |
| 6 |
| 7 . Run a configure command similar to the one in the configure_command file in |
| 8 this directory. It is up to you to determine if different flags are required |
| 9 for the newer gperftools. |
| 10 |
| 11 . From that repo, copy src/config.h and src/gperftools/tcmalloc.h, and any other |
| 12 generated header files to the include/ directory in this directory. |
| 13 |
| 14 . Make sure that include/config.h defines HAVE_UCONTEXT_H on Linux, |
| 15 |
| 16 . Update tcmalloc_sources.gypi, and tcmalloc.gyp if necessary. This may require |
| 17 inspecting gperftools/Makefile.am to see any additional source files and |
| 18 preprocessor defines (-D flags). |
| 19 |
| 20 . Update the DEPS file with the new git hash. |
| 21 |
| 22 . Build and run tests for Debug, Release, and Product builds for ia32, x64, mips |
| 23 and arm for Linux and any other OSs that are supported. |
OLD | NEW |