Lines Matching defs:generation

53 // for each generation of the sub-cache. Since the same source code string has
64 // Get the compilation cache tables for a specific generation.
65 Handle<CompilationCacheTable> GetTable(int generation);
67 // Age the sub-cache by evicting the oldest generation and creating a new
68 // young generation.
82 Object** tables_; // Compilation cache tables - one for each generation.
164 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) {
165 ASSERT(generation < generations_);
167 if (tables_[generation]->IsUndefined()) {
169 tables_[generation] = *result;
172 CompilationCacheTable::cast(tables_[generation]);
185 // Set the first generation as unborn.
227 // be cached in the same script generation. Currently the first use
235 int generation;
237 // Probe the script generation tables. Make sure not to leak handles
240 for (generation = 0; generation < generations(); generation++) {
241 Handle<CompilationCacheTable> table = GetTable(generation);
263 StatsTable::AddHistogramSample(script_histogram, generation);
272 // If the script was found in a later generation, we promote it to
273 // the first generation to let it survive longer in the cache.
274 if (generation != 0) Put(source, boilerplate);
299 int generation;
301 for (generation = 0; generation < generations(); generation++) {
302 Handle<CompilationCacheTable> table = GetTable(generation);
311 if (generation != 0) {
339 int generation;
341 for (generation = 0; generation < generations(); generation++) {
342 Handle<CompilationCacheTable> table = GetTable(generation);
351 if (generation != 0) {