Home
last modified time | relevance | path

Searched refs:code_map (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/v8/src/
Dcpu-profiler-inl.h18 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
19 code_map->AddCode(start, entry, size); in UpdateCodeMap()
21 entry->set_shared_id(code_map->GetSharedId(shared)); in UpdateCodeMap()
26 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
27 code_map->MoveCode(from, to); in UpdateCodeMap()
31 void CodeDisableOptEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
32 CodeEntry* entry = code_map->FindEntry(start); in UpdateCodeMap()
39 void SharedFunctionInfoMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
40 code_map->MoveCode(from, to); in UpdateCodeMap()
44 void ReportBuiltinEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
[all …]
Dcpu-profiler.h56 INLINE(void UpdateCodeMap(CodeMap* code_map));
65 INLINE(void UpdateCodeMap(CodeMap* code_map));
74 INLINE(void UpdateCodeMap(CodeMap* code_map));
83 INLINE(void UpdateCodeMap(CodeMap* code_map));
92 INLINE(void UpdateCodeMap(CodeMap* code_map));
Dprofile-generator.h313 CodeMap* code_map() { return &code_map_; } in code_map() function
Dcpu-profiler.cc70 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
Dobjects.cc9221 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in GetLiteralsFromOptimizedCodeMap() local
9223 FixedArray* cached_literals = FixedArray::cast(code_map->get(index + 1)); in GetLiteralsFromOptimizedCodeMap()
9233 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in GetCodeFromOptimizedCodeMap() local
9234 Code* code = Code::cast(code_map->get(index)); in GetCodeFromOptimizedCodeMap()
9241 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in ClearOptimizedCodeMap() local
9245 if (!code_map->get(kNextMapIndex)->IsUndefined()) { in ClearOptimizedCodeMap()
9250 DCHECK(code_map->get(kNextMapIndex)->IsUndefined()); in ClearOptimizedCodeMap()
9260 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in EvictFromOptimizedCodeMap() local
9262 int length = code_map->length(); in EvictFromOptimizedCodeMap()
9264 DCHECK(code_map->get(src)->IsNativeContext()); in EvictFromOptimizedCodeMap()
[all …]
Dframes.cc1452 DCHECK(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
/external/chromium_org/v8/test/cctest/
Dtest-profile-generator.cc336 CodeMap code_map; in TEST() local
341 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST()
342 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST()
343 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST()
344 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST()
345 CHECK_EQ(NULL, code_map.FindEntry(0)); in TEST()
346 CHECK_EQ(NULL, code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST()
347 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST()
348 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST()
349 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST()
[all …]
Dtest-cpu-profiler.cc166 CodeEntry* aaa = generator.code_map()->FindEntry(aaa_code->address()); in TEST()
170 CodeEntry* comment = generator.code_map()->FindEntry(comment_code->address()); in TEST()
174 CodeEntry* args5 = generator.code_map()->FindEntry(args5_code->address()); in TEST()
178 CHECK_EQ(NULL, generator.code_map()->FindEntry(comment2_code->address())); in TEST()
180 CodeEntry* comment2 = generator.code_map()->FindEntry(moved_code->address()); in TEST()
Dtest-api.cc14243 static i::HashMap* code_map = NULL; variable
14288 CHECK(code_map != NULL); in event_handler()
14300 code_map->Lookup(event->code_start, in event_handler()
14321 code_map->Lookup(event->code_start, hash, false); in event_handler()
14326 code_map->Remove(event->code_start, hash); in event_handler()
14328 entry = code_map->Lookup(event->new_code_start, in event_handler()
14410 code_map = &code; in UNINITIALIZED_TEST()
14447 code_map = NULL; in UNINITIALIZED_TEST()
14467 code_map = &code; in UNINITIALIZED_TEST()
14483 code_map = NULL; in UNINITIALIZED_TEST()
/external/chromium_org/v8/tools/
Dll_prof.py364 def __init__(self, log_name, code_map, snapshot_pos_to_name): argument
368 self.code_map = code_map
418 conficting_code = self.code_map.Find(start_address)
422 self.code_map.Remove(conficting_code)
430 self.code_map.Add(code)
441 code = self.code_map.Find(old_start_address)
447 self.code_map.Remove(code)
451 self.code_map.Add(code)
458 code = self.code_map.Find(old_start_address)
464 self.code_map.Remove(code)
[all …]
/external/chromium_org/v8/tools/profviz/
Dcomposer.js137 var code_map = new CodeMap();
264 code_map.addCode(address, code_entry);
268 code_map.moveCode(from, to);
272 code_map.deleteCode(address);
293 code_map.addLibrary(start, code_entry);
300 var entry = code_map.findEntry(pc);
305 var entry = code_map.findEntry(stack[i]);
/external/chromium_org/v8/src/heap/
Dmark-compact.h467 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in GetNextCodeMap() local
468 Object* next_map = code_map->get(SharedFunctionInfo::kNextMapIndex); in GetNextCodeMap()
474 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in SetNextCodeMap() local
475 code_map->set(SharedFunctionInfo::kNextMapIndex, next_holder); in SetNextCodeMap()
479 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in ClearNextCodeMap() local
480 code_map->set_undefined(SharedFunctionInfo::kNextMapIndex); in ClearNextCodeMap()
Dobjects-visiting-inl.h448 FixedArray* code_map = FixedArray::cast(shared->optimized_code_map()); in VisitSharedFunctionInfo() local
449 StaticVisitor::MarkObjectWithoutPush(heap, code_map); in VisitSharedFunctionInfo()
Dmark-compact.cc1113 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in ProcessOptimizedCodeMaps() local
1115 int old_length = code_map->length(); in ProcessOptimizedCodeMaps()
1119 Code::cast(code_map->get(i + SharedFunctionInfo::kCachedCodeOffset)); in ProcessOptimizedCodeMaps()
1125 Object** slot = code_map->RawFieldOfElementAt(dst_index); in ProcessOptimizedCodeMaps()
1126 Object* object = code_map->get(i + j); in ProcessOptimizedCodeMaps()
1127 code_map->set(dst_index, object); in ProcessOptimizedCodeMaps()
Dheap.h50 V(Map, code_map, CodeMap) \
232 V(code_map) \
Dheap.cc3450 result->set_map_no_write_barrier(code_map()); in AllocateCode()