• Home
  • Raw
  • Download

Lines Matching refs:old_generation

240 size_t Heap::YoungGenerationSizeFromOldGenerationSize(size_t old_generation) {  in YoungGenerationSizeFromOldGenerationSize()  argument
242 size_t ratio = old_generation <= kOldGenerationLowMemory in YoungGenerationSizeFromOldGenerationSize()
245 size_t semi_space = old_generation / ratio; in YoungGenerationSizeFromOldGenerationSize()
254 uint64_t old_generation = physical_memory / in HeapSizeFromPhysicalMemory() local
257 old_generation = in HeapSizeFromPhysicalMemory()
258 std::min(old_generation, in HeapSizeFromPhysicalMemory()
260 old_generation = in HeapSizeFromPhysicalMemory()
261 std::max({old_generation, static_cast<uint64_t>(V8HeapTrait::kMinSize)}); in HeapSizeFromPhysicalMemory()
262 old_generation = RoundUp(old_generation, Page::kPageSize); in HeapSizeFromPhysicalMemory()
265 static_cast<size_t>(old_generation)); in HeapSizeFromPhysicalMemory()
266 return static_cast<size_t>(old_generation) + young_generation; in HeapSizeFromPhysicalMemory()
279 size_t old_generation = lower + (upper - lower) / 2; in GenerationSizesFromHeapSize() local
281 YoungGenerationSizeFromOldGenerationSize(old_generation); in GenerationSizesFromHeapSize()
282 if (old_generation + young_generation <= heap_size) { in GenerationSizesFromHeapSize()
285 *old_generation_size = old_generation; in GenerationSizesFromHeapSize()
286 lower = old_generation; in GenerationSizesFromHeapSize()
288 upper = old_generation; in GenerationSizesFromHeapSize()
5243 size_t young_generation, old_generation; in ConfigureHeap() local
5246 &old_generation); in ConfigureHeap()