Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Dcpu-profiler-inl.h41 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
42 code_map->AddCode(start, entry, size); in UpdateCodeMap()
44 entry->set_shared_id(code_map->GetSharedId(shared)); in UpdateCodeMap()
49 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
50 code_map->MoveCode(from, to); in UpdateCodeMap()
54 void SharedFunctionInfoMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
55 code_map->MoveCode(from, to); in UpdateCodeMap()
59 void ReportBuiltinEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
60 CodeEntry* entry = code_map->FindEntry(start); in UpdateCodeMap()
Dcpu-profiler.h78 INLINE(void UpdateCodeMap(CodeMap* code_map));
87 INLINE(void UpdateCodeMap(CodeMap* code_map));
96 INLINE(void UpdateCodeMap(CodeMap* code_map));
105 INLINE(void UpdateCodeMap(CodeMap* code_map));
Dmark-compact.h507 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in GetNextCodeMap() local
508 Object* next_map = code_map->get(SharedFunctionInfo::kNextMapIndex); in GetNextCodeMap()
514 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in SetNextCodeMap() local
515 code_map->set(SharedFunctionInfo::kNextMapIndex, next_holder); in SetNextCodeMap()
519 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in ClearNextCodeMap() local
520 code_map->set_undefined(SharedFunctionInfo::kNextMapIndex); in ClearNextCodeMap()
Dmark-compact.cc1079 FixedArray* code_map = FixedArray::cast(holder->optimized_code_map()); in ProcessOptimizedCodeMaps() local
1081 int old_length = code_map->length(); in ProcessOptimizedCodeMaps()
1083 Code* code = Code::cast(code_map->get(i + kCodeOffset)); in ProcessOptimizedCodeMaps()
1090 Object** context_slot = HeapObject::RawField(code_map, in ProcessOptimizedCodeMaps()
1092 code_map->set(new_length++, code_map->get(i + kContextOffset)); in ProcessOptimizedCodeMaps()
1099 Object** code_slot = HeapObject::RawField(code_map, in ProcessOptimizedCodeMaps()
1101 code_map->set(new_length++, code_map->get(i + kCodeOffset)); in ProcessOptimizedCodeMaps()
1108 Object** literals_slot = HeapObject::RawField(code_map, in ProcessOptimizedCodeMaps()
1110 code_map->set(new_length++, code_map->get(i + kLiteralsOffset)); in ProcessOptimizedCodeMaps()
Dprofile-generator.h335 CodeMap* code_map() { return &code_map_; } in code_map() function
Dobjects-visiting-inl.h450 FixedArray* code_map = FixedArray::cast(shared->optimized_code_map()); in VisitSharedFunctionInfo() local
451 StaticVisitor::MarkObjectWithoutPush(heap, code_map); in VisitSharedFunctionInfo()
Dcpu-profiler.cc93 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
Dobjects.cc9621 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in InstallFromOptimizedCodeMap() local
9623 FixedArray* cached_literals = FixedArray::cast(code_map->get(index + 1)); in InstallFromOptimizedCodeMap()
9627 Code* code = Code::cast(code_map->get(index)); in InstallFromOptimizedCodeMap()
9629 ASSERT(function->context()->native_context() == code_map->get(index - 1)); in InstallFromOptimizedCodeMap()
9635 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in ClearOptimizedCodeMap() local
9639 if (!code_map->get(kNextMapIndex)->IsUndefined()) { in ClearOptimizedCodeMap()
9644 ASSERT(code_map->get(kNextMapIndex)->IsUndefined()); in ClearOptimizedCodeMap()
9655 FixedArray* code_map = FixedArray::cast(optimized_code_map()); in EvictFromOptimizedCodeMap() local
9656 for (i = kEntriesStart; i < code_map->length(); i += kEntryLength) { in EvictFromOptimizedCodeMap()
9657 ASSERT(code_map->get(i)->IsNativeContext()); in EvictFromOptimizedCodeMap()
[all …]
Dframes.cc1453 ASSERT(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
Dheap.h70 V(Map, code_map, CodeMap) \
/external/v8/src/
Dcpu-profiler-inl.h41 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
42 code_map->AddCode(start, entry, size); in UpdateCodeMap()
44 entry->set_shared_id(code_map->GetSharedId(shared)); in UpdateCodeMap()
49 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
50 code_map->MoveCode(from, to); in UpdateCodeMap()
54 void SharedFunctionInfoMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
55 code_map->MoveCode(from, to); in UpdateCodeMap()
Dcpu-profiler.h75 INLINE(void UpdateCodeMap(CodeMap* code_map));
84 INLINE(void UpdateCodeMap(CodeMap* code_map));
93 INLINE(void UpdateCodeMap(CodeMap* code_map));
Dcpu-profiler.cc194 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
Dprofile-generator.h426 INLINE(CodeMap* code_map()) { return &code_map_; } in INLINE() argument
Dframes.cc1285 ASSERT(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
Dheap.h69 V(Map, code_map, CodeMap) \
Dheap.cc3393 HeapObject::cast(result)->set_map_no_write_barrier(code_map()); in CreateCode()
/external/chromium_org/v8/test/cctest/
Dtest-profile-generator.cc334 CodeMap code_map; in TEST() local
339 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST()
340 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST()
341 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST()
342 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST()
343 CHECK_EQ(NULL, code_map.FindEntry(0)); in TEST()
344 CHECK_EQ(NULL, code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST()
345 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST()
346 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST()
347 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST()
[all …]
Dtest-cpu-profiler.cc170 CodeEntry* aaa = generator.code_map()->FindEntry(aaa_code->address()); in TEST()
174 CodeEntry* comment = generator.code_map()->FindEntry(comment_code->address()); in TEST()
178 CodeEntry* args5 = generator.code_map()->FindEntry(args5_code->address()); in TEST()
182 CHECK_EQ(NULL, generator.code_map()->FindEntry(comment2_code->address())); in TEST()
184 CodeEntry* comment2 = generator.code_map()->FindEntry(moved_code->address()); in TEST()
Dtest-api.cc13655 static i::HashMap* code_map = NULL; variable
13700 CHECK(code_map != NULL); in event_handler()
13712 code_map->Lookup(event->code_start, in event_handler()
13733 code_map->Lookup(event->code_start, hash, false); in event_handler()
13738 code_map->Remove(event->code_start, hash); in event_handler()
13740 entry = code_map->Lookup(event->new_code_start, in event_handler()
13820 code_map = &code; in UNINITIALIZED_TEST()
13857 code_map = NULL; in UNINITIALIZED_TEST()
13877 code_map = &code; in UNINITIALIZED_TEST()
13892 code_map = NULL; in UNINITIALIZED_TEST()
/external/v8/tools/
Dll_prof.py347 def __init__(self, log_name, code_map, snapshot_pos_to_name): argument
351 self.code_map = code_map
401 conficting_code = self.code_map.Find(start_address)
405 self.code_map.Remove(conficting_code)
413 self.code_map.Add(code)
424 code = self.code_map.Find(old_start_address)
430 self.code_map.Remove(code)
434 self.code_map.Add(code)
441 code = self.code_map.Find(old_start_address)
447 self.code_map.Remove(code)
[all …]
/external/chromium_org/v8/tools/
Dll_prof.py363 def __init__(self, log_name, code_map, snapshot_pos_to_name): argument
367 self.code_map = code_map
417 conficting_code = self.code_map.Find(start_address)
421 self.code_map.Remove(conficting_code)
429 self.code_map.Add(code)
440 code = self.code_map.Find(old_start_address)
446 self.code_map.Remove(code)
450 self.code_map.Add(code)
457 code = self.code_map.Find(old_start_address)
463 self.code_map.Remove(code)
[all …]
/external/v8/test/cctest/
Dtest-profile-generator.cc509 CodeMap code_map; in TEST() local
518 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST()
519 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST()
520 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST()
521 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST()
522 CHECK_EQ(NULL, code_map.FindEntry(0)); in TEST()
523 CHECK_EQ(NULL, code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST()
524 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST()
525 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST()
526 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST()
[all …]
Dtest-cpu-profiler.cc118 CodeEntry* entry1 = generator.code_map()->FindEntry(ToAddress(0x1000)); in TEST()
121 CodeEntry* entry2 = generator.code_map()->FindEntry(ToAddress(0x1200)); in TEST()
124 CodeEntry* entry3 = generator.code_map()->FindEntry(ToAddress(0x1300)); in TEST()
127 CHECK_EQ(NULL, generator.code_map()->FindEntry(ToAddress(0x1400))); in TEST()
128 CodeEntry* entry4 = generator.code_map()->FindEntry(ToAddress(0x1500)); in TEST()
131 CHECK_EQ(NULL, generator.code_map()->FindEntry(ToAddress(0x1600))); in TEST()
/external/chromium_org/v8/tools/profviz/
Dcomposer.js134 var code_map = new CodeMap();
260 code_map.addCode(address, code_entry);
264 code_map.moveCode(from, to);
268 code_map.deleteCode(address);
285 code_map.addLibrary(start, code_entry);
292 var entry = code_map.findEntry(pc);
297 var entry = code_map.findEntry(stack[i]);

12