Home | History | Annotate | Download | only in src

Lines Matching defs:isolate

151 CodeRange::CodeRange(Isolate* isolate)
152 : isolate_(isolate),
282 MemoryAllocator::MemoryAllocator(Isolate* isolate)
283 : isolate_(isolate),
822 first_page_ = Isolate::Current()->memory_allocator()->CommitPages(
831 Isolate::Current()->memory_allocator()->AllocatePages(
865 Isolate::Current()->memory_allocator()->FreeAllPages(this);
876 Isolate::Current()->memory_allocator()->ProtectChunkFromPage(page);
877 page = Isolate::Current()->memory_allocator()->
886 Isolate::Current()->memory_allocator()->UnprotectChunkFromPage(page);
887 page = Isolate::Current()->memory_allocator()->
1026 Page* p = heap()->isolate()->memory_allocator()->AllocatePages(
1033 heap()->isolate()->memory_allocator()->SetNextPage(last_page, p);
1076 Page* p = heap()->isolate()->memory_allocator()->
1078 heap()->isolate()->memory_allocator()->SetNextPage(top_page, p);
1100 last_page = heap()->isolate()->memory_allocator()->
1110 heap()->isolate()->memory_allocator()->FindLastPageInSameChunk(
1131 ASSERT(heap()->isolate()->memory_allocator()->IsPageInSpace(top_page, this));
1264 heap()->isolate()->memory_allocator()->Protect(ToSpaceLow(), Capacity());
1265 heap()->isolate()->memory_allocator()->Protect(FromSpaceLow(), Capacity());
1270 heap()->isolate()->memory_allocator()->Unprotect(ToSpaceLow(), Capacity(),
1272 heap()->isolate()->memory_allocator()->Unprotect(FromSpaceLow(), Capacity(),
1392 if (!heap()->isolate()->memory_allocator()->CommitBlock(
1403 if (!heap()->isolate()->memory_allocator()->UncommitBlock(
1450 if (!heap()->isolate()->memory_allocator()->CommitBlock(
1464 if (!heap()->isolate()->memory_allocator()->CommitBlock(
1478 if (!heap()->isolate()->memory_allocator()->UncommitBlock(
1529 Isolate* isolate = Isolate::Current();
1531 #define DEF_TYPE_NAME(name) isolate->heap_histograms()[name].set_name(#name);
1535 #define CLEAR_HISTOGRAM(name) isolate->heap_histograms()[name].clear();
1539 isolate->js_spill_information()->Clear();
1544 Isolate* isolate = Isolate::Current();
1546 isolate->code_kind_statistics()[i] = 0;
1552 Isolate* isolate = Isolate::Current();
1582 if (isolate->code_kind_statistics()[i] > 0) {
1584 isolate->code_kind_statistics()[i]);
1592 Isolate* isolate = Isolate::Current();
1595 ASSERT(isolate->heap_histograms()[type].name() != NULL);
1596 isolate->heap_histograms()[type].increment_number(1);
1597 isolate->heap_histograms()[type].increment_bytes(obj->Size());
1601 isolate->js_spill_information());
1609 Isolate* isolate = Isolate::Current();
1612 if (isolate->heap_histograms()[i].number() > 0) {
1614 isolate->heap_histograms()[i].name(),
1615 isolate->heap_histograms()[i].number(),
1616 isolate->heap_histograms()[i].bytes());
1625 string_number += isolate->heap_histograms()[type].number(); \
1626 string_bytes += isolate->heap_histograms()[type].bytes();
1635 isolate->js_spill_information()->Print();
1664 static void DoReportStatistics(Isolate* isolate,
1666 LOG(isolate, HeapSampleBeginEvent("NewSpace", description));
1676 LOG(isolate,
1683 LOG(isolate,
1688 LOG(isolate, HeapSampleEndEvent("NewSpace", description));
1715 Isolate* isolate = ISOLATE;
1716 DoReportStatistics(isolate, allocated_histogram_, "allocated");
1717 DoReportStatistics(isolate, promoted_histogram_, "promoted");
1827 Isolate::Current()->memory_allocator()->ZapBlock(start, size_in_bytes);
1974 Isolate::Current()->memory_allocator()->ZapBlock(start, object_size_);
2104 heap()->isolate()->memory_allocator()->SetNextPage(
2109 heap()->isolate()->memory_allocator()->SetNextPage(last_page_, first);
2111 heap()->isolate()->memory_allocator()->SetNextPage(last, NULL);
2150 heap()->isolate()->memory_allocator()->RelinkPageListInChunkOrder(
2353 Isolate* isolate = Isolate::Current();
2355 isolate->paged_space_comments_statistics();
2371 Isolate* isolate = Isolate::Current();
2373 isolate->paged_space_comments_statistics();
2386 static void EnterComment(Isolate* isolate, const char* comment, int delta) {
2388 isolate->paged_space_comments_statistics();
2412 static void CollectCommentStatistics(Isolate* isolate, RelocIterator* it) {
2437 CollectCommentStatistics(isolate, it);
2443 EnterComment(isolate, comment_txt, flat_delta);
2451 Isolate* isolate = heap()->isolate();
2456 isolate->code_kind_statistics()[code->kind()] += code->Size();
2463 CollectCommentStatistics(isolate, &it);
2472 EnterComment(isolate, "NoComment", delta);
2730 Isolate* isolate = Isolate::Current();
2731 void* mem = isolate->memory_allocator()->AllocateRawMemory(
2739 LOG(isolate, NewEvent("LargeObjectChunk", mem, size));
2741 isolate->memory_allocator()->FreeRawMemory(
2743 LOG(isolate, DeleteEvent("LargeObjectChunk", mem));
2750 isolate->memory_allocator()->PerformAllocationCallback(
2756 page->heap_ = isolate->heap();
2793 LOG(heap()->isolate(), DeleteEvent("LargeObjectChunk", chunk->address()));
2800 heap()->isolate()->memory_allocator()->FreeRawMemory(chunk->address(),
2803 heap()->isolate()->memory_allocator()->PerformAllocationCallback(
2818 heap()->isolate()->memory_allocator()->Protect(chunk->address(),
2829 heap()->isolate()->memory_allocator()->Unprotect(chunk->address(),
3017 object, heap()->isolate());
3025 heap()->isolate()->memory_allocator()->FreeRawMemory(chunk_address,
3028 isolate()->memory_allocator()->PerformAllocationCallback(
3030 LOG(heap()->isolate(), DeleteEvent("LargeObjectChunk", chunk_address));
3135 Isolate* isolate = heap()->isolate();
3140 isolate->code_kind_statistics()[code->kind()] += code->Size();