Lines Matching refs:heap

291   gc::Heap* const heap = Runtime::Current()->GetHeap();  in VMDebug_countInstancesOfClass()  local
300 heap->CountInstances(classes, countAssignable, &count); in VMDebug_countInstancesOfClass()
309 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses() local
323 heap->CountInstances(classes, countAssignable, &counts[0]); in VMDebug_countInstancesOfClasses()
359 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_getInstancesOfClasses() local
366 heap->GetInstances(hs2, h_class, includeAssignable, /* max_count= */ 0, raw_instances); in VMDebug_getInstancesOfClasses()
399 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats() local
402 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats()
420 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats()
458 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal() local
461 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal()
465 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal()
469 std::string output = std::to_string(heap->GetBytesAllocatedEver()); in VMDebug_getRuntimeStatInternal()
473 std::string output = std::to_string(heap->GetBytesFreedEver()); in VMDebug_getRuntimeStatInternal()
477 std::string output = std::to_string(heap->GetBlockingGcCount()); in VMDebug_getRuntimeStatInternal()
481 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); in VMDebug_getRuntimeStatInternal()
486 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
491 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
519 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatsInternal() local
521 std::to_string(heap->GetGcCount()))) { in VMDebug_getRuntimeStatsInternal()
525 std::to_string(NsToMs(heap->GetGcTime())))) { in VMDebug_getRuntimeStatsInternal()
529 std::to_string(heap->GetBytesAllocatedEver()))) { in VMDebug_getRuntimeStatsInternal()
533 std::to_string(heap->GetBytesFreedEver()))) { in VMDebug_getRuntimeStatsInternal()
537 std::to_string(heap->GetBlockingGcCount()))) { in VMDebug_getRuntimeStatsInternal()
541 std::to_string(NsToMs(heap->GetBlockingGcTime())))) { in VMDebug_getRuntimeStatsInternal()
546 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()
554 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()