Home
last modified time | relevance | path

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

/external/v8/src/profiler/
Dcpu-profiler-inl.h18 void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
19 code_map->AddCode(start, entry, size); in UpdateCodeMap()
23 void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
24 code_map->MoveCode(from, to); in UpdateCodeMap()
28 void CodeDisableOptEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
29 CodeEntry* entry = code_map->FindEntry(start); in UpdateCodeMap()
36 void CodeDeoptEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
37 CodeEntry* entry = code_map->FindEntry(start); in UpdateCodeMap()
42 void ReportBuiltinEventRecord::UpdateCodeMap(CodeMap* code_map) { in UpdateCodeMap() argument
43 CodeEntry* entry = code_map->FindEntry(start); in UpdateCodeMap()
Dcpu-profiler.h61 INLINE(void UpdateCodeMap(CodeMap* code_map));
70 INLINE(void UpdateCodeMap(CodeMap* code_map));
79 INLINE(void UpdateCodeMap(CodeMap* code_map));
92 INLINE(void UpdateCodeMap(CodeMap* code_map));
101 INLINE(void UpdateCodeMap(CodeMap* code_map));
Dcpu-profiler.cc84 record.clss##_.UpdateCodeMap(generator_->code_map()); \ in ProcessCodeEvent()
Dprofile-generator.h372 CodeMap* code_map() { return &code_map_; } in code_map() function
/external/v8/test/cctest/
Dtest-profile-generator.cc279 CodeMap code_map; in TEST() local
284 code_map.AddCode(ToAddress(0x1500), &entry1, 0x200); in TEST()
285 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100); in TEST()
286 code_map.AddCode(ToAddress(0x1900), &entry3, 0x50); in TEST()
287 code_map.AddCode(ToAddress(0x1950), &entry4, 0x10); in TEST()
288 CHECK(!code_map.FindEntry(0)); in TEST()
289 CHECK(!code_map.FindEntry(ToAddress(0x1500 - 1))); in TEST()
290 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500))); in TEST()
291 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x100))); in TEST()
292 CHECK_EQ(&entry1, code_map.FindEntry(ToAddress(0x1500 + 0x200 - 1))); in TEST()
[all …]
Dtest-cpu-profiler.cc189 CodeEntry* aaa = generator->code_map()->FindEntry(aaa_code->address()); in TEST()
194 generator->code_map()->FindEntry(comment_code->address()); in TEST()
198 CodeEntry* args5 = generator->code_map()->FindEntry(args5_code->address()); in TEST()
202 CHECK(!generator->code_map()->FindEntry(comment2_code->address())); in TEST()
204 CodeEntry* comment2 = generator->code_map()->FindEntry(moved_code->address()); in TEST()
1068 CodeEntry* func_entry = generator->code_map()->FindEntry(code_address); in TickLines()
Dtest-code-stub-assembler.cc1150 factory->code_map(), in TestStubCacheOffsetCalculation()
Dtest-api.cc14583 static v8::base::HashMap* code_map = NULL; variable
14633 CHECK(code_map != NULL); in event_handler()
14644 v8::base::HashMap::Entry* entry = code_map->LookupOrInsert( in event_handler()
14664 code_map->Lookup(event->code_start, hash); in event_handler()
14669 code_map->Remove(event->code_start, hash); in event_handler()
14671 entry = code_map->LookupOrInsert( in event_handler()
14755 code_map = &code; in UNINITIALIZED_TEST()
14801 code_map = NULL; in UNINITIALIZED_TEST()
14821 code_map = &code; in UNINITIALIZED_TEST()
14837 code_map = NULL; in UNINITIALIZED_TEST()
/external/v8/tools/
Dll_prof.py346 def __init__(self, log_name, code_map): argument
350 self.code_map = code_map
389 conficting_code = self.code_map.Find(start_address)
393 self.code_map.Remove(conficting_code)
401 self.code_map.Add(code)
412 code = self.code_map.Find(old_start_address)
418 self.code_map.Remove(code)
422 self.code_map.Add(code)
702 def Load(self, mmap_info, code_map, options): argument
710 return self._LoadKernelSymbols(code_map)
[all …]
/external/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/v8/src/
Dgdb-jit.cc2003 static CodeMap* code_map = NULL; in GetCodeMap() local
2004 if (code_map == NULL) code_map = new CodeMap(); in GetCodeMap()
2005 return code_map; in GetCodeMap()
2139 CodeMap* code_map = GetCodeMap(); in AddCode() local
2143 RemoveJITCodeEntries(code_map, range); in AddCode()
2169 AddJITCodeEntry(code_map, range, entry, should_dump, name_hint); in AddCode()
Dobjects.cc11780 FixedArray* code_map = optimized_code_map(); in EvictFromOptimizedCodeMap() local
11782 int length = code_map->length(); in EvictFromOptimizedCodeMap()
11784 DCHECK(WeakCell::cast(code_map->get(src))->cleared() || in EvictFromOptimizedCodeMap()
11785 WeakCell::cast(code_map->get(src))->value()->IsNativeContext()); in EvictFromOptimizedCodeMap()
11786 if (WeakCell::cast(code_map->get(src + kCachedCodeOffset))->value() == in EvictFromOptimizedCodeMap()
11788 BailoutId osr(Smi::cast(code_map->get(src + kOsrAstIdOffset))->value()); in EvictFromOptimizedCodeMap()
11804 code_map->set(src + kCachedCodeOffset, heap->empty_weak_cell(), in EvictFromOptimizedCodeMap()
11810 code_map->set(dst + kContextOffset, code_map->get(src + kContextOffset)); in EvictFromOptimizedCodeMap()
11811 code_map->set(dst + kCachedCodeOffset, in EvictFromOptimizedCodeMap()
11812 code_map->get(src + kCachedCodeOffset)); in EvictFromOptimizedCodeMap()
[all …]
Dframes.cc1657 DCHECK(map == code->GetHeap()->code_map()); in GcSafeCodeContains()
/external/v8/src/heap/
Dheap.h54 V(Map, code_map, CodeMap) \
Dheap.cc3367 result->set_map_no_write_barrier(code_map()); in AllocateCode()