Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [tsan] get rid of *allocator64* files, moving everything to *allocator* ↵ | Kostya Serebryany | 2012-12-05 | 1 | -229/+0 |
| | | | | | | files. This will help with the 32-bit allocator implementation and testing llvm-svn: 169368 | ||||
* | [tsan] make the 64-bit allocator build (but not work) in 32-bit mode to ↵ | Kostya Serebryany | 2012-12-05 | 1 | -6/+5 |
| | | | | | | simplify the code and test structure and allow further refactoring llvm-svn: 169361 | ||||
* | [tsan] test the allocator with CompactSizeClassMap | Kostya Serebryany | 2012-12-04 | 1 | -2/+3 |
| | | | | llvm-svn: 169270 | ||||
* | [tsan] minor interface refactoring | Kostya Serebryany | 2012-12-04 | 1 | -1/+1 |
| | | | | llvm-svn: 169267 | ||||
* | [tsan] refactoring and comment changes in ↵ | Kostya Serebryany | 2012-12-04 | 1 | -362/+8 |
| | | | | | | sanitizer_common/sanitizer_allocator{,64}.h. No functionality change llvm-svn: 169234 | ||||
* | [tsan] add CompactSizeClassMap as an alternative (more compact) size class ↵ | Kostya Serebryany | 2012-12-03 | 1 | -22/+20 |
| | | | | | | map. Not used yet. llvm-svn: 169128 | ||||
* | tsan: add sanity checks into memory allocator | Dmitry Vyukov | 2012-11-30 | 1 | -0/+2 |
| | | | | llvm-svn: 169015 | ||||
* | [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). ↵ | Kostya Serebryany | 2012-11-24 | 1 | -10/+13 |
| | | | | | | This makes the code friendly to more platforms llvm-svn: 168537 | ||||
* | tsan: better error message for OOM | Dmitry Vyukov | 2012-11-22 | 1 | -1/+6 |
| | | | | llvm-svn: 168491 | ||||
* | [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵ | Kostya Serebryany | 2012-11-21 | 1 | -1/+1 |
| | | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424 | ||||
* | [tsan] fix the tsan allocator to handle any alignment | Kostya Serebryany | 2012-09-18 | 1 | -13/+20 |
| | | | | llvm-svn: 164107 | ||||
* | [Sanitizer] test 64-bit allocator only on suitable targets | Alexey Samsonov | 2012-09-11 | 1 | -1/+5 |
| | | | | llvm-svn: 163615 | ||||
* | [tsan] locate the auxilary space for tsan's Allocator64 after the main ↵ | Kostya Serebryany | 2012-08-31 | 1 | -4/+4 |
| | | | | | | region, not before. This simplifies the shadow mappings llvm-svn: 162991 | ||||
* | tsan: speed up allocator64 GetBlockBegin() | Dmitry Vyukov | 2012-08-30 | 1 | -8/+9 |
| | | | | llvm-svn: 162908 | ||||
* | tsan: use stack depot to describe heap blocks | Dmitry Vyukov | 2012-08-30 | 1 | -1/+26 |
| | | | | llvm-svn: 162902 | ||||
* | tsan: improve memory allocator a bit | Dmitry Vyukov | 2012-08-24 | 1 | -5/+9 |
| | | | | llvm-svn: 162561 | ||||
* | tsan: fix new memory allocator | Dmitry Vyukov | 2012-08-23 | 1 | -5/+42 |
| | | | | | | | | Deallocate: drain blocks to central cache if cached too much (instead of never drain). Allocate: batch allocate fixed amount of blocks (instead of all blocks). This significantly reduces memory consumption of large heavy-multithreaded programs. llvm-svn: 162447 | ||||
* | tsan: store sync objects in memory block headers + delete them when the ↵ | Dmitry Vyukov | 2012-08-15 | 1 | -2/+3 |
| | | | | | | block is freed llvm-svn: 161959 | ||||
* | tsan: fix several integer overflows | Dmitry Vyukov | 2012-08-15 | 1 | -5/+13 |
| | | | | llvm-svn: 161949 | ||||
* | [tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome | Kostya Serebryany | 2012-07-19 | 1 | -2/+2 |
| | | | | llvm-svn: 160503 | ||||
* | [tsan] minor enhancements in the new tsan allocator and a test malloc ↵ | Kostya Serebryany | 2012-07-18 | 1 | -1/+39 |
| | | | | | | replacement library that can be linked to any program to replace malloc (tested on spec2006) llvm-svn: 160436 | ||||
* | Suppress a lint warning. | Alexander Potapenko | 2012-07-08 | 1 | -1/+1 |
| | | | | llvm-svn: 159915 | ||||
* | [tsan] start using AllocatorCache in CombinedAllocator | Kostya Serebryany | 2012-07-06 | 1 | -5/+13 |
| | | | | llvm-svn: 159825 | ||||
* | [tsan] implement SizeClassAllocatorLocalCache (part of tsan allocator) | Kostya Serebryany | 2012-07-06 | 1 | -12/+75 |
| | | | | llvm-svn: 159823 | ||||
* | [tsan] use intrusive list in the new tsan allocator | Kostya Serebryany | 2012-07-06 | 1 | -24/+16 |
| | | | | llvm-svn: 159814 | ||||
* | tsan/asan: add mutex to 64-bit allocator | Dmitry Vyukov | 2012-07-02 | 1 | -8/+9 |
| | | | | llvm-svn: 159516 | ||||
* | [tsan] added CombinedAllocator for tsan | Kostya Serebryany | 2012-06-29 | 1 | -5/+68 |
| | | | | llvm-svn: 159432 | ||||
* | [tsan] added LargeMmapAllocator, a part of the new tsan allocator | Kostya Serebryany | 2012-06-26 | 1 | -3/+95 |
| | | | | llvm-svn: 159204 | ||||
* | [tsan] lint | Kostya Serebryany | 2012-06-25 | 1 | -1/+1 |
| | | | | llvm-svn: 159140 | ||||
* | [tsan] minor changes in tsan allocator | Kostya Serebryany | 2012-06-25 | 1 | -3/+8 |
| | | | | llvm-svn: 159139 | ||||
* | [tsan] fix the build | Kostya Serebryany | 2012-06-25 | 1 | -3/+1 |
| | | | | llvm-svn: 159137 | ||||
* | [tsan] a better CHECK for OOM in the new allocator | Kostya Serebryany | 2012-06-25 | 1 | -6/+12 |
| | | | | llvm-svn: 159122 | ||||
* | [tsan] add metadata to the new tsan allocator | Kostya Serebryany | 2012-06-22 | 1 | -0/+18 |
| | | | | llvm-svn: 159002 | ||||
* | [tsan] more code for a specialized tsan allocator | Kostya Serebryany | 2012-06-22 | 1 | -8/+132 |
| | | | | llvm-svn: 158991 | ||||
* | [tsan] first step in implementing a custom allocator for tsan (and msan) ↵ | Kostya Serebryany | 2012-06-21 | 1 | -0/+80 |
which saves precious shadow llvm-svn: 158913 |