Home
last modified time | relevance | path

Searched refs:map_cache (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/heap/
Dmark-compact.cc2406 MapCache* map_cache = reinterpret_cast<MapCache*>(raw_map_cache); in ProcessMapCaches() local
2407 int existing_elements = map_cache->NumberOfElements(); in ProcessMapCaches()
2409 for (int i = MapCache::kElementsStartIndex; i < map_cache->length(); in ProcessMapCaches()
2411 Object* raw_key = map_cache->get(i); in ProcessMapCaches()
2416 Object* raw_map = map_cache->get(i + 1); in ProcessMapCaches()
2422 map_cache->set_the_hole(i); in ProcessMapCaches()
2423 map_cache->set_the_hole(i + 1); in ProcessMapCaches()
2432 map_cache->ElementsRemoved(existing_elements - used_elements); in ProcessMapCaches()
2433 MarkBit map_cache_markbit = Marking::MarkBitFrom(map_cache); in ProcessMapCaches()
2434 MarkObject(map_cache, map_cache_markbit); in ProcessMapCaches()
/external/v8/src/
Dfactory.cc2312 Handle<MapCache> map_cache = handle(MapCache::cast(context->map_cache())); in AddToMapCache() local
2313 Handle<MapCache> result = MapCache::Put(map_cache, keys, map); in AddToMapCache()
2321 if (context->map_cache()->IsUndefined()) { in ObjectLiteralMapFromCache()
2328 Handle<MapCache>(MapCache::cast(context->map_cache())); in ObjectLiteralMapFromCache()
Dcontexts.h171 V(MAP_CACHE_INDEX, Object, map_cache) \
Dobjects.h3473 Handle<MapCache> map_cache, Handle<FixedArray> key, Handle<Map> value);
Dobjects.cc14859 Handle<MapCache> map_cache, Handle<FixedArray> array, Handle<Map> value) { in Put() argument
14862 Handle<MapCache> new_cache = EnsureCapacity(map_cache, 1, &key); in Put()
/external/v8/test/cctest/
Dtest-api.cc20429 { i::MapCache* map_cache = in THREADED_TEST() local
20430 i::MapCache::cast(CcTest::i_isolate()->context()->map_cache()); in THREADED_TEST()
20431 elements = map_cache->NumberOfElements(); in THREADED_TEST()
20437 { i::Object* raw_map_cache = CcTest::i_isolate()->context()->map_cache(); in THREADED_TEST()
20439 i::MapCache* map_cache = i::MapCache::cast(raw_map_cache); in THREADED_TEST() local
20440 CHECK_GT(elements, map_cache->NumberOfElements()); in THREADED_TEST()
/external/v8/
DChangeLog1265 NativeContext::map_cache reference should be strong in heap snapshots