Home | History | Annotate | Download | only in zone

Lines Matching refs:Segment

15 #include "src/zone/zone-segment.h"
31 // Gets an empty segment from the pool or creates a new one.
32 virtual Segment* GetSegment(size_t bytes);
35 virtual void ReturnSegment(Segment* memory);
43 // Configures the zone segment pool size limits so the pool does not
63 // Allocates a new segment. Returns nullptr on failed allocation.
64 Segment* AllocateSegment(size_t bytes);
65 void FreeSegment(Segment* memory);
67 // Returns a segment from the pool of at least the requested size.
68 Segment* GetSegmentFromPool(size_t requested_size);
69 // Trys to add a segment to the pool. Returns false if the pool is full.
70 bool AddSegmentToPool(Segment* segment);
75 Segment* unused_segments_heads_[kNumberBuckets];