/external/chromium_org/v8/src/ |
D | cpu-profiler-inl.h | 41 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()
|
D | cpu-profiler.h | 78 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));
|
D | mark-compact.h | 507 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()
|
D | mark-compact.cc | 1079 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()
|
D | profile-generator.h | 335 CodeMap* code_map() { return &code_map_; } in code_map() function
|
D | objects-visiting-inl.h | 450 FixedArray* code_map = FixedArray::cast(shared->optimized_code_map()); in VisitSharedFunctionInfo() local 451 StaticVisitor::MarkObjectWithoutPush(heap, code_map); in VisitSharedFunctionInfo()
|
D | cpu-profiler.cc | 93 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
|
D | objects.cc | 9621 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 …]
|
D | frames.cc | 1453 ASSERT(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
|
D | heap.h | 70 V(Map, code_map, CodeMap) \
|
/external/v8/src/ |
D | cpu-profiler-inl.h | 41 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()
|
D | cpu-profiler.h | 75 INLINE(void UpdateCodeMap(CodeMap* code_map)); 84 INLINE(void UpdateCodeMap(CodeMap* code_map)); 93 INLINE(void UpdateCodeMap(CodeMap* code_map));
|
D | cpu-profiler.cc | 194 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
|
D | profile-generator.h | 426 INLINE(CodeMap* code_map()) { return &code_map_; } in INLINE() argument
|
D | frames.cc | 1285 ASSERT(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
|
D | heap.h | 69 V(Map, code_map, CodeMap) \
|
D | heap.cc | 3393 HeapObject::cast(result)->set_map_no_write_barrier(code_map()); in CreateCode()
|
/external/chromium_org/v8/test/cctest/ |
D | test-profile-generator.cc | 334 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 …]
|
D | test-cpu-profiler.cc | 170 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()
|
D | test-api.cc | 13655 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/ |
D | ll_prof.py | 347 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/ |
D | ll_prof.py | 363 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/ |
D | test-profile-generator.cc | 509 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 …]
|
D | test-cpu-profiler.cc | 118 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/ |
D | composer.js | 134 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]);
|