Lines Matching refs:ISOLATE
126 CodeRange::CodeRange(Isolate* isolate)
127 : isolate_(isolate),
264 MemoryAllocator::MemoryAllocator(Isolate* isolate)
265 : isolate_(isolate),
786 area_size_ = heap->isolate()->memory_allocator()->
815 heap()->isolate()->memory_allocator()->Free(iterator.next());
858 Page* p = heap()->isolate()->memory_allocator()->
907 heap()->isolate()->memory_allocator()->Free(page);
1018 heap()->isolate()->memory_allocator()->ReserveAlignedMemory(
1024 LOG(heap()->isolate(), NewEvent("InitialChunk", chunk_base_, chunk_size_));
1081 LOG(heap()->isolate(), DeleteEvent("InitialChunk", chunk_base_));
1084 heap()->isolate()->memory_allocator()->FreeMemory(&reservation_,
1317 if (!heap()->isolate()->memory_allocator()->CommitBlock(start,
1340 if (!heap()->isolate()->memory_allocator()->UncommitBlock(start, capacity_)) {
1366 if (!heap()->isolate()->memory_allocator()->CommitBlock(
1402 MemoryAllocator* allocator = heap()->isolate()->memory_allocator();
1581 Isolate* isolate = Isolate::Current();
1583 #define DEF_TYPE_NAME(name) isolate->heap_histograms()[name].set_name(#name);
1587 #define CLEAR_HISTOGRAM(name) isolate->heap_histograms()[name].clear();
1591 isolate->js_spill_information()->Clear();
1596 Isolate* isolate = Isolate::Current();
1598 isolate->code_kind_statistics()[i] = 0;
1604 Isolate* isolate = Isolate::Current();
1634 if (isolate->code_kind_statistics()[i] > 0) {
1636 isolate->code_kind_statistics()[i]);
1644 Isolate* isolate = Isolate::Current();
1647 ASSERT(isolate->heap_histograms()[type].name() != NULL);
1648 isolate->heap_histograms()[type].increment_number(1);
1649 isolate->heap_histograms()[type].increment_bytes(obj->Size());
1653 isolate->js_spill_information());
1661 Isolate* isolate = Isolate::Current();
1664 if (isolate->heap_histograms()[i].number() > 0) {
1666 isolate->heap_histograms()[i].name(),
1667 isolate->heap_histograms()[i].number(),
1668 isolate->heap_histograms()[i].bytes());
1677 string_number += isolate->heap_histograms()[type].number(); \
1678 string_bytes += isolate->heap_histograms()[type].bytes();
1687 isolate->js_spill_information()->Print();
1712 static void DoReportStatistics(Isolate* isolate,
1714 LOG(isolate, HeapSampleBeginEvent("NewSpace", description));
1724 LOG(isolate,
1731 LOG(isolate,
1736 LOG(isolate, HeapSampleEndEvent("NewSpace", description));
1761 Isolate* isolate = ISOLATE;
1762 DoReportStatistics(isolate, allocated_histogram_, "allocated");
1763 DoReportStatistics(isolate, promoted_histogram_, "promoted");
2328 Isolate* isolate = Isolate::Current();
2330 isolate->paged_space_comments_statistics();
2346 Isolate* isolate = Isolate::Current();
2348 isolate->paged_space_comments_statistics();
2361 static void EnterComment(Isolate* isolate, const char* comment, int delta) {
2363 isolate->paged_space_comments_statistics();
2387 static void CollectCommentStatistics(Isolate* isolate, RelocIterator* it) {
2412 CollectCommentStatistics(isolate, it);
2418 EnterComment(isolate, comment_txt, flat_delta);
2426 Isolate* isolate = heap()->isolate();
2431 isolate->code_kind_statistics()[code->kind()] += code->Size();
2438 CollectCommentStatistics(isolate, &it);
2447 EnterComment(isolate, "NoComment", delta);
2568 LOG(heap()->isolate(), DeleteEvent("LargeObjectChunk", page->address()));
2571 heap()->isolate()->memory_allocator()->PerformAllocationCallback(
2573 heap()->isolate()->memory_allocator()->Free(page);
2592 LargePage* page = heap()->isolate()->memory_allocator()->
2682 object, heap()->isolate());
2701 heap()->isolate()->memory_allocator()->Free(page);
2796 Isolate* isolate = heap()->isolate();
2801 isolate->code_kind_statistics()[code->kind()] += code->Size();