Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: third_party/tcmalloc/README.dart

Issue 2316813002: Use tcmalloc on Linux (Closed)
Patch Set: Update README.dart Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698