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

Unified Diff: third_party/tcmalloc/README.dart

Issue 2316813002: Use tcmalloc on Linux (Closed)
Patch Set: Don't use tcmalloc in an ASAN build 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/.gitignore ('k') | third_party/tcmalloc/configure_command » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/README.dart
diff --git a/third_party/tcmalloc/README.dart b/third_party/tcmalloc/README.dart
new file mode 100644
index 0000000000000000000000000000000000000000..71dd619e479e637780ee2159430cffe1aceb8314
--- /dev/null
+++ b/third_party/tcmalloc/README.dart
@@ -0,0 +1,23 @@
+Dart uses tcmalloc in the standalone VM on Linux.
+
+To roll tcmalloc forward:
+. Clone the gperftools git repo at the revision you want in a directory off
+ to the side.
+
+. Run a configure command similar to the one in the configure_command file in
+ this directory. It is up to you to determine if different flags are required
+ for the newer gperftools.
+
+. From that repo, copy src/config.h and src/gperftools/tcmalloc.h, and any other
+ generated header files to the include/ directory in this directory.
+
+. Make sure that include/config.h defines HAVE_UCONTEXT_H on Linux,
+
+. Update tcmalloc_sources.gypi, and tcmalloc.gyp if necessary. This may require
+ inspecting gperftools/Makefile.am to see any additional source files and
+ preprocessor defines (-D flags).
+
+. Update the DEPS file with the new git hash.
+
+. Build and run tests for Debug, Release, and Product builds for ia32, x64, mips
+ and arm for Linux and any other OSs that are supported.
« no previous file with comments | « third_party/tcmalloc/.gitignore ('k') | third_party/tcmalloc/configure_command » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698