summaryrefslogtreecommitdiff
path: root/src/windows/gperftools/tcmalloc.h
Commit message (Collapse)AuthorAgeFilesLines
* bump version to 2.10HEADgperftools-2.10masterAliaksey Kandratsenka2022-05-301-3/+3
|
* bump version to 2.9.1gperftools-2.9.1Aliaksey Kandratsenka2021-03-021-2/+2
|
* bump version to 2.9gperftools-2.9Aliaksey Kandratsenka2021-02-211-3/+3
|
* bump version to 2.9rcgperftools-2.8.90Aliaksey Kandratsenka2021-02-141-2/+2
|
* bump version to 2.8.1gperftools-2.8.1Aliaksey Kandratsenka2020-12-201-2/+2
|
* bumped version to 2.8gperftools-2.8Aliaksey Kandratsenka2020-07-061-3/+3
|
* bumped version to 2.8rcgperftools-2.7.90Aliaksey Kandratsenka2020-03-081-2/+2
|
* bumped version to 2.7gperftools-2.7Aliaksey Kandratsenka2018-04-291-3/+3
|
* Enable aligned new/delete declarations on Windows when applicableHolyWu2018-04-291-1/+1
|
* bumped version to 2.7rcgperftools-2.6.90Aliaksey Kandratsenka2018-03-181-2/+2
|
* bumped version to 2.6.3gperftools-2.6.3Aliaksey Kandratsenka2017-12-091-2/+2
|
* bumped version to 2.6.2gperftools-2.6.2Aliaksey Kandratsenka2017-11-301-2/+2
|
* fully disable aligned new on windows for nowAliaksey Kandratsenka2017-11-291-1/+1
|
* Add support for C++17 operator new/delete for overaligned types.Andrey Semashev2017-11-291-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add auto-detection of std::align_val_t presence to configure scripts. This indicates that the compiler supports C++17 operator new/delete overloads for overaligned types. - Add auto-detection of -faligned-new compiler option that appeared in gcc 7. The option allows the compiler to generate calls to the new operators. It is needed for tests. - Added overrides for the new operators. The overrides are enabled if the support for std::align_val_t has been detected. The implementation is mostly based on the infrastructure used by memalign, which had to be extended to support being used by C++ operators in addition to C functions. In particular, the debug version of the library has to distinguish memory allocated by memalign from that by operator new. The current implementation of sized overaligned delete operators do not make use of the supplied size argument except for the debug allocator because it is difficult to calculate the exact allocation size that was used to allocate memory with alignment. This can be done in the future. - Removed forward declaration of std::nothrow_t. This was not portable as the standard library is not required to provide nothrow_t directly in namespace std (it could use e.g. an inline namespace within std). The <new> header needs to be included for std::align_val_t anyway. - Fixed operator delete[] implementation in libc_override_redefine.h. - Moved TC_ALIAS definition to the beginning of the file in tcmalloc.cc so that the macro is defined before its first use in nallocx. - Added tests to verify the added operators. [alkondratenko@gmail.com: fixed couple minor warnings, and some whitespace change] [alkondratenko@gmail.com: removed addition of TC_ALIAS in debug allocator] Signed-off-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
* bumped version to 2.6.1gperftools-2.6.1Aliaksey Kandratsenka2017-07-091-2/+2
|
* Rename PERFTOOLS_THROW into PERFTOOLS_NOTHROW.Romain Geissler2017-07-081-30/+30
| | | | | Automatically done with: sed -e 's/\<PERFTOOLS_THROW\>/PERFTOOLS_NOTHROW/g' -i $(git grep -l PERFTOOLS_THROW)
* bumped version up to 2.6gperftools-2.6Aliaksey Kandratsenka2017-07-041-3/+3
|
* 2.6rc4gperftools-2.5.93Aliaksey Kandratsenka2017-05-221-2/+2
|
* 2.6rc3gperftools-2.5.92Aliaksey Kandratsenka2017-05-221-2/+2
|
* 2.6rc2gperftools-2.5.91Aliaksey Kandratsenka2017-05-151-2/+2
|
* 2.6rcgperftools-2.5.90Aliaksey Kandratsenka2017-05-141-2/+2
|
* don't declare throw() on malloc funtions since it is fasterAliaksey Kandratsenka2017-05-141-3/+9
| | | | | | | | | | | | | Apparently throw() on functions actually asks compiler to generate code to detect unexpected exceptions. Which prevents tail calls optimization. So in order to re-enable this optimization, we simply don't tell compiler about throw() at all. C++11 noexcept would be even better, but it is not universally available yet. So we change to no exception specifications. Which at least for gcc & clang on Linux (and likely for all ELF platforms, if not just all) really eliminates all overhead of exceptions.
* don't undef PERFTOOLS_DLL_DECLAliaksey Kandratsenka2017-05-141-7/+1
| | | | | This is not necessary and will help adding more headers with dll-exported functions.
* bumped version up to 2.5gperftools-2.5Aliaksey Kandratsenka2016-03-121-3/+3
|
* bumped version to 2.4.91 for 2.5rc2gperftools-2.4.91Aliaksey Kandratsenka2016-03-051-2/+2
|
* unbreak compilation with visual studioAliaksey Kandratsenka2016-03-051-0/+5
| | | | | Specifically, this commit adds missing fake_stacktrace_scope.cc to msvc build and removes undef-ing of PERFTOOLS_DLL_DECL by tcmalloc.h.
* bumped version to 2.5rcgperftools-2.4.90Aliaksey Kandratsenka2016-02-211-2/+2
|
* replaced invalid uses of __THROWAliaksey Kandratsenka2016-02-201-54/+60
| | | | | | | We're now using it only when overriding glibc functions (such as malloc or mmap). In other cases (most importantly in public tcmalloc.h header) we're doing our own throw() to avoid possible breakage on future glibc changes.
* implemented (disabled by default) sized delete supportAliaksey Kandratsenka2015-11-211-0/+2
| | | | | | | | | | | | gcc 5 and clang++-3.7 support sized deallocation from C++14. We are taking advantage of that by defining sized versions of operator delete. This is off by default so that if some existing programs that define own global operator delete without sized variant are not broken by tcmalloc's sized delete operator. There is also risk of breaking exiting code that deletes objects using wrong class (i.e. base class) without having virtual destructors.
* implemented sized free support via tc_free_sizedAliaksey Kandratsenka2015-11-211-0/+1
|
* bumped version to 2.4gperftools-2.4Aliaksey Kandratsenka2015-01-101-3/+3
|
* bumped version to 2.4rcgperftools-2.3.90Aliaksey Kandratsenka2014-12-281-2/+2
|
* bumped version to 2.3gperftools-2.3Aliaksey Kandratsenka2014-12-071-3/+3
|
* bumped version to 2.3rcgperftools-2.2.90Aliaksey Kandratsenka2014-11-021-2/+2
|
* bumped version to 2.2.1gperftools-2.2.1Aliaksey Kandratsenka2014-06-211-2/+2
|
* bumped version to 2.2gperftools-2.2Aliaksey Kandratsenka2014-05-031-3/+3
|
* bumped version to 2.1.90Aliaksey Kandratsenka2014-04-191-2/+2
|
* added tc_malloc_skip_new_handlerAliaksey Kandratsenka2014-04-011-0/+1
| | | | | | | | | | | | This is port of corresponding chromium change at: https://codereview.chromium.org/55333002/ Basic idea is that sometimes apps that use tc_set_new_mode in order to have C++ out-of-memory handler catch OOMs in malloc, need to invoke usual malloc that returns 0 on OOM. That new API is exactly for that. It'll always return NULL on OOM even if tc_new_mode is set to true.
* added emacs -*- mode lines for google coding styleAliaksey Kandratsenka2013-10-121-0/+1
|
* bump version to 2.1alkondratenko@gmail.com2013-07-301-3/+3
| | | | git-svn-id: http://gperftools.googlecode.com/svn/trunk@236 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
* bump version number for 2.1rcalkondratenko@gmail.com2013-07-201-2/+2
| | | | git-svn-id: http://gperftools.googlecode.com/svn/trunk@225 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
* This file is in the tarball, but I forgot to put it in svn as well.csilvers2012-02-211-0/+123
(It's tricky because it's auto-generated from tcmalloc.h.in at tarball-making time.) git-svn-id: http://gperftools.googlecode.com/svn/trunk@145 6b5cf1ce-ec42-a296-1ba9-69fdba395a50