Searched refs:heap_statistics (Results 1 – 3 of 3) sorted by relevance
4210 void v8::V8::GetHeapStatistics(HeapStatistics* heap_statistics) { in GetHeapStatistics() argument4213 heap_statistics->set_total_heap_size(0); in GetHeapStatistics()4214 heap_statistics->set_total_heap_size_executable(0); in GetHeapStatistics()4215 heap_statistics->set_used_heap_size(0); in GetHeapStatistics()4216 heap_statistics->set_heap_size_limit(0); in GetHeapStatistics()4221 heap_statistics->set_total_heap_size(heap->CommittedMemory()); in GetHeapStatistics()4222 heap_statistics->set_total_heap_size_executable( in GetHeapStatistics()4224 heap_statistics->set_used_heap_size(heap->SizeOfObjects()); in GetHeapStatistics()4225 heap_statistics->set_heap_size_limit(heap->MaxReserved()); in GetHeapStatistics()
3252 static void GetHeapStatistics(HeapStatistics* heap_statistics);
14097 v8::HeapStatistics heap_statistics; in THREADED_TEST() local14098 CHECK_EQ(static_cast<int>(heap_statistics.total_heap_size()), 0); in THREADED_TEST()14099 CHECK_EQ(static_cast<int>(heap_statistics.used_heap_size()), 0); in THREADED_TEST()14100 v8::V8::GetHeapStatistics(&heap_statistics); in THREADED_TEST()14101 CHECK_NE(static_cast<int>(heap_statistics.total_heap_size()), 0); in THREADED_TEST()14102 CHECK_NE(static_cast<int>(heap_statistics.used_heap_size()), 0); in THREADED_TEST()