"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/include/hoard/hoardtlab.h" between
Hoard-3.12.tar.gz and Hoard-3.13.tar.gz

About: The Hoard memory allocator is a drop-in replacement for malloc() that can improve application performance, especially for multithreaded programs running on multiprocessors (hint: newer releases now part of the HeapLayers package).

hoardtlab.h  (Hoard-3.12):hoardtlab.h  (Hoard-3.13)
skipping to change at line 44 skipping to change at line 44
#ifndef HOARD_HOARDTLAB_H #ifndef HOARD_HOARDTLAB_H
#define HOARD_HOARDTLAB_H #define HOARD_HOARDTLAB_H
#include "hoardheap.h" #include "hoardheap.h"
#include "heapmanager.h" #include "heapmanager.h"
#include "tlab.h" #include "tlab.h"
#include "hoardconstants.h" #include "hoardconstants.h"
#include "heaplayers.h" #include "heaplayers.h"
// #include "ansiwrapper.h"
// #include "cpuinfo.h"
namespace Hoard { namespace Hoard {
// HOARD_MMAP_PROTECTION_MASK defines the protection flags used for // HOARD_MMAP_PROTECTION_MASK defines the protection flags used for
// freshly-allocated memory. The default case is that heap memory is // freshly-allocated memory. The default case is that heap memory is
// NOT executable, thus preventing the class of attacks that inject // NOT executable, thus preventing the class of attacks that inject
// executable code on the heap. // executable code on the heap.
// //
// While this is not recommended, you can define HL_EXECUTABLE_HEAP as // While this is not recommended, you can define HL_EXECUTABLE_HEAP as
// 1 in heaplayers/heaplayers.h if you really need to (i.e., you're // 1 in heaplayers/heaplayers.h if you really need to (i.e., you're
skipping to change at line 93 skipping to change at line 91
HL::bins<TheHeader, SUPERBLOCK_SIZE>::getCl assSize, HL::bins<TheHeader, SUPERBLOCK_SIZE>::getCl assSize,
LargestSmallObject, LargestSmallObject,
MAX_MEMORY_PER_TLAB, MAX_MEMORY_PER_TLAB,
HoardHeapType::SuperblockType, HoardHeapType::SuperblockType,
SUPERBLOCK_SIZE, SUPERBLOCK_SIZE,
HoardHeapType> HoardHeapType>
TLABBase; TLABBase;
} }
typedef Hoard::TLABBase TheCustomHeapType; typedef HL::ANSIWrapper<Hoard::TLABBase> TheCustomHeapType;
#endif #endif
 End of changes. 2 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)