Lines Matching refs:heap

260   gc::Heap* heap = Runtime::Current()->GetHeap();  in VMDebug_countInstancesOfClass()  local
263 heap->CollectGarbage(false); in VMDebug_countInstancesOfClass()
271 heap->CountInstances(classes, countAssignable, &count); in VMDebug_countInstancesOfClass()
292 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats() local
293 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats()
312 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats()
350 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal() local
353 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal()
357 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal()
361 std::string output = std::to_string(heap->GetBytesAllocatedEver()); in VMDebug_getRuntimeStatInternal()
365 std::string output = std::to_string(heap->GetBytesFreedEver()); in VMDebug_getRuntimeStatInternal()
369 std::string output = std::to_string(heap->GetBlockingGcCount()); in VMDebug_getRuntimeStatInternal()
373 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); in VMDebug_getRuntimeStatInternal()
378 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
383 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
409 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatsInternal() local
411 std::to_string(heap->GetGcCount()))) { in VMDebug_getRuntimeStatsInternal()
415 std::to_string(NsToMs(heap->GetGcTime())))) { in VMDebug_getRuntimeStatsInternal()
419 std::to_string(heap->GetBytesAllocatedEver()))) { in VMDebug_getRuntimeStatsInternal()
423 std::to_string(heap->GetBytesFreedEver()))) { in VMDebug_getRuntimeStatsInternal()
427 std::to_string(heap->GetBlockingGcCount()))) { in VMDebug_getRuntimeStatsInternal()
431 std::to_string(NsToMs(heap->GetBlockingGcTime())))) { in VMDebug_getRuntimeStatsInternal()
436 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()
444 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()