Go to the source code of this file.
Classes | |
class | MemorySegmentHeader |
class | MemorySegment |
class | MemorySegmentSet |
class | NormalSegmentSet |
class | LargeSegmentSet |
class | OldSpaceSegmentSet |
Functions | |
size_t | roundSegmentBoundary (size_t n) |
#define DeadPools LastDeadPool + 1 |
Definition at line 106 of file MemorySegment.hpp.
#define DeadPoolToLength | ( | d | ) | ((d)*ObjectGrain) |
Definition at line 94 of file MemorySegment.hpp.
#define FirstDeadPool (LengthToDeadPool(MinimumObjectSize) - 1) |
Definition at line 99 of file MemorySegment.hpp.
#define InitialNormalSegmentSpace ((LargeSegmentSize * 8) - MemorySegmentOverhead) |
Definition at line 79 of file MemorySegment.hpp.
#define LargeBlockThreshold 4096 |
Definition at line 64 of file MemorySegment.hpp.
#define LargeSegmentDeadSpace (LargeSegmentSize - MemorySegmentOverhead) |
Definition at line 77 of file MemorySegment.hpp.
#define LargeSegmentSize (SegmentSize * 4) |
Definition at line 71 of file MemorySegment.hpp.
#define LargestNormalSegmentSize (LargeObjectMinSize - (1024 * 1024) - MemorySegmentOverhead) |
Definition at line 81 of file MemorySegment.hpp.
#define LargestSubpool 512 |
Definition at line 101 of file MemorySegment.hpp.
#define LastDeadPool LengthToDeadPool(LargestSubpool) |
Definition at line 103 of file MemorySegment.hpp.
#define LengthToDeadPool | ( | l | ) | ((l)/ObjectGrain) |
Definition at line 91 of file MemorySegment.hpp.
#define MaxDeadObjectSpace 1000000 |
Definition at line 115 of file MemorySegment.hpp.
#define MemorySegmentOverhead (sizeof(MemorySegmentHeader)) |
Definition at line 52 of file MemorySegment.hpp.
#define MemorySegmentPoolOverhead (sizeof(MemorySegmentPoolHeader)) |
Definition at line 53 of file MemorySegment.hpp.
#define MemoryThrashingThreshold 4 |
Definition at line 87 of file MemorySegment.hpp.
#define MinimumSegmentDeadSpace (MinimumSegmentSize - MemorySegmentOverhead) |
Definition at line 69 of file MemorySegment.hpp.
#define MinimumSegmentSize (SegmentSize/2) |
Definition at line 67 of file MemorySegment.hpp.
#define NormalMemoryContractionThreshold .70 |
Definition at line 111 of file MemorySegment.hpp.
#define NormalMemoryExpansionThreshold .30 |
Definition at line 109 of file MemorySegment.hpp.
#define RecoverSegmentSize ((SegmentSize/2) - MemorySegmentOverhead) |
Definition at line 75 of file MemorySegment.hpp.
#define SegmentDeadSpace (SegmentSize - MemorySegmentOverhead) |
Definition at line 73 of file MemorySegment.hpp.
#define SegmentSize (256*1024) |
Definition at line 62 of file MemorySegment.hpp.
|
inline |
Definition at line 118 of file MemorySegment.hpp.
References RXROUNDUP, and SegmentSize.
Referenced by MemorySegmentSet::calculateSegmentAllocation(), LargeSegmentSet::expandSegmentSet(), RexxMemory::newLargeSegment(), RexxMemory::newSegment(), and MemorySegmentSet::releaseEmptySegments().