Searched refs:PreallocatedStorage (Results 1 – 6 of 6) sorted by relevance
115 class PreallocatedStorage {117 explicit PreallocatedStorage(size_t size);128 PreallocatedStorage* previous_;129 PreallocatedStorage* next_;131 void LinkTo(PreallocatedStorage* other);136 DISALLOW_IMPLICIT_CONSTRUCTORS(PreallocatedStorage);
104 void PreallocatedStorage::LinkTo(PreallocatedStorage* other) { in LinkTo()112 void PreallocatedStorage::Unlink() { in Unlink()118 PreallocatedStorage::PreallocatedStorage(size_t size) in PreallocatedStorage() function in v8::internal::PreallocatedStorage
37 void* PreallocatedStorage::New(size_t size) { in New()42 void PreallocatedStorage::Delete(void* p) { in Delete()
248 PreallocatedStorage* free_chunk = in PreallocatedStorageInit()249 reinterpret_cast<PreallocatedStorage*>(new char[size]); in PreallocatedStorageInit()252 free_chunk->size_ = size - sizeof(PreallocatedStorage); in PreallocatedStorageInit()266 for (PreallocatedStorage* storage = free_list_.next_; in PreallocatedStorageNew()276 for (PreallocatedStorage* storage = free_list_.next_; in PreallocatedStorageNew()279 if (storage->size_ >= size + sizeof(PreallocatedStorage)) { in PreallocatedStorageNew()282 PreallocatedStorage* left_over = in PreallocatedStorageNew()283 reinterpret_cast<PreallocatedStorage*>( in PreallocatedStorageNew()285 left_over->size_ = storage->size_ - size - sizeof(PreallocatedStorage); in PreallocatedStorageNew()286 ASSERT(size + left_over->size_ + sizeof(PreallocatedStorage) == in PreallocatedStorageNew()[all …]
318 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache;1183 PreallocatedStorage in_use_list_;1184 PreallocatedStorage free_list_;
294 new List<HeapObject*, PreallocatedStorage>(0)); in ClearMentionedObjectCache()