Searched refs:heap_statistics (Results 1 – 3 of 3) sorted by relevance
232 HeapStatistics heap_statistics; in SetHeapStatistics() local233 isolate->GetHeapStatistics(&heap_statistics); in SetHeapStatistics()235 writer->json_keyvalue("totalHeapSize", heap_statistics.total_heap_size()); in SetHeapStatistics()237 heap_statistics.total_heap_size_executable()); in SetHeapStatistics()239 heap_statistics.total_physical_size()); in SetHeapStatistics()241 heap_statistics.total_available_size()); in SetHeapStatistics()243 heap_statistics.total_global_handles_size()); in SetHeapStatistics()245 heap_statistics.used_global_handles_size()); in SetHeapStatistics()246 writer->json_keyvalue("usedHeapSize", heap_statistics.used_heap_size()); in SetHeapStatistics()247 writer->json_keyvalue("heapSizeLimit", heap_statistics.heap_size_limit()); in SetHeapStatistics()[all …]
8874 void Isolate::GetHeapStatistics(HeapStatistics* heap_statistics) { in GetHeapStatistics() argument8882 heap_statistics->used_global_handles_size_ = heap->UsedGlobalHandlesSize(); in GetHeapStatistics()8883 heap_statistics->total_global_handles_size_ = heap->TotalGlobalHandlesSize(); in GetHeapStatistics()8884 DCHECK_LE(heap_statistics->used_global_handles_size_, in GetHeapStatistics()8885 heap_statistics->total_global_handles_size_); in GetHeapStatistics()8887 heap_statistics->used_heap_size_ = heap->SizeOfObjects(); in GetHeapStatistics()8888 heap_statistics->total_physical_size_ = heap->CommittedPhysicalMemory(); in GetHeapStatistics()8889 heap_statistics->total_heap_size_ = heap->CommittedMemory(); in GetHeapStatistics()8891 heap_statistics->total_available_size_ = heap->Available(); in GetHeapStatistics()8895 heap_statistics->used_heap_size_ += ro_space->Size(); in GetHeapStatistics()[all …]
751 void GetHeapStatistics(HeapStatistics* heap_statistics);