mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[standalone] Update tcmalloc to 2.8.
Change-Id: I3563de74fe908ea0165a830a38d34818ecb4f9f8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171803 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
1d05591fbb
commit
9814efb19c
3 changed files with 16 additions and 19 deletions
2
DEPS
2
DEPS
|
@ -65,7 +65,7 @@ vars = {
|
|||
# Scripts that make 'git cl format' work.
|
||||
"clang_format_scripts_rev": "c09c8deeac31f05bd801995c475e7c8070f9ecda",
|
||||
|
||||
"gperftools_revision": "e9ab4c53041ac62feefbbb076d326e9a77dd1567",
|
||||
"gperftools_revision": "180bfa10d7cb38e8b3784d60943d50e8fcef0dcb",
|
||||
|
||||
# Revisions of /third_party/* dependencies.
|
||||
"args_tag": "1.6.0",
|
||||
|
|
29
third_party/tcmalloc/include/config.h
vendored
29
third_party/tcmalloc/include/config.h
vendored
|
@ -6,6 +6,9 @@
|
|||
#define GPERFTOOLS_CONFIG_H_
|
||||
|
||||
|
||||
/* enable aggressive decommit by default */
|
||||
/* #undef ENABLE_AGGRESSIVE_DECOMMIT_BY_DEFAULT */
|
||||
|
||||
/* Build new/delete operators for overaligned types */
|
||||
#define ENABLE_ALIGNED_NEW_DELETE 1
|
||||
|
||||
|
@ -18,6 +21,9 @@
|
|||
/* Build sized deletion operators */
|
||||
#define ENABLE_SIZED_DELETE 1
|
||||
|
||||
/* Define to 1 if you have the <asm/ptrace.h> header file. */
|
||||
/* #undef HAVE_ASM_PTRACE_H */
|
||||
|
||||
/* Define to 1 if compiler supports __builtin_stack_pointer */
|
||||
/* #undef HAVE_BUILTIN_STACK_POINTER */
|
||||
|
||||
|
@ -36,7 +42,7 @@
|
|||
|
||||
/* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
|
||||
*/
|
||||
#define HAVE_DECL_CFREE 1
|
||||
#define HAVE_DECL_CFREE 0
|
||||
|
||||
/* Define to 1 if you have the declaration of `memalign', and to 0 if you
|
||||
don't. */
|
||||
|
@ -87,9 +93,6 @@
|
|||
/* Define to 1 if you have the `geteuid' function. */
|
||||
#define HAVE_GETEUID 1
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the <glob.h> header file. */
|
||||
#define HAVE_GLOB_H 1
|
||||
|
||||
|
@ -160,9 +163,6 @@
|
|||
/* Define to 1 if you have the <sys/cdefs.h> header file. */
|
||||
#define HAVE_SYS_CDEFS_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
||||
#define HAVE_SYS_PRCTL_H 1
|
||||
|
||||
|
@ -239,7 +239,7 @@
|
|||
#define PACKAGE_NAME "gperftools"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "gperftools 2.7"
|
||||
#define PACKAGE_STRING "gperftools 2.8"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "gperftools"
|
||||
|
@ -248,7 +248,7 @@
|
|||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2.7"
|
||||
#define PACKAGE_VERSION "2.8"
|
||||
|
||||
/* How to access the PC from a struct ucontext */
|
||||
/* #undef PC_FROM_UCONTEXT */
|
||||
|
@ -285,17 +285,14 @@
|
|||
/* the namespace where STL code like vector<> is defined */
|
||||
#define STL_NAMESPACE std
|
||||
|
||||
/* Define 32K of internal pages size for tcmalloc */
|
||||
/* #undef TCMALLOC_32K_PAGES */
|
||||
|
||||
/* Define 64K of internal pages size for tcmalloc */
|
||||
/* #undef TCMALLOC_64K_PAGES */
|
||||
|
||||
/* Define 8 bytes of allocation alignment for tcmalloc */
|
||||
/* #undef TCMALLOC_ALIGN_8BYTES */
|
||||
|
||||
/* Define internal page size for tcmalloc as number of left bitshift */
|
||||
/* #undef TCMALLOC_PAGE_SIZE_SHIFT */
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.7"
|
||||
#define VERSION "2.8"
|
||||
|
||||
/* C99 says: define this to get the PRI... macros from stdint.h */
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
|
||||
/* Define the version number so folks can check against it */
|
||||
#define TC_VERSION_MAJOR 2
|
||||
#define TC_VERSION_MINOR 7
|
||||
#define TC_VERSION_MINOR 8
|
||||
#define TC_VERSION_PATCH ""
|
||||
#define TC_VERSION_STRING "gperftools 2.7"
|
||||
#define TC_VERSION_STRING "gperftools 2.8"
|
||||
|
||||
/* For struct mallinfo, if it's defined. */
|
||||
#if 1
|
||||
|
|
Loading…
Reference in a new issue