Lines Matching refs:heap
279 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass() local
288 heap->CountInstances(classes, countAssignable, &count); in VMDebug_countInstancesOfClass()
297 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses() local
311 heap->CountInstances(classes, countAssignable, &counts[0]); in VMDebug_countInstancesOfClasses()
347 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_getInstancesOfClasses() local
354 heap->GetInstances(hs2, h_class, includeAssignable, /* max_count */ 0, raw_instances); in VMDebug_getInstancesOfClasses()
387 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats() local
390 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats()
408 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats()
446 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal() local
449 std::string output = std::to_string(heap->GetGcCount()); in VMDebug_getRuntimeStatInternal()
453 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal()
457 std::string output = std::to_string(heap->GetBytesAllocatedEver()); in VMDebug_getRuntimeStatInternal()
461 std::string output = std::to_string(heap->GetBytesFreedEver()); in VMDebug_getRuntimeStatInternal()
465 std::string output = std::to_string(heap->GetBlockingGcCount()); in VMDebug_getRuntimeStatInternal()
469 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); in VMDebug_getRuntimeStatInternal()
474 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
479 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatInternal()
507 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatsInternal() local
509 std::to_string(heap->GetGcCount()))) { in VMDebug_getRuntimeStatsInternal()
513 std::to_string(NsToMs(heap->GetGcTime())))) { in VMDebug_getRuntimeStatsInternal()
517 std::to_string(heap->GetBytesAllocatedEver()))) { in VMDebug_getRuntimeStatsInternal()
521 std::to_string(heap->GetBytesFreedEver()))) { in VMDebug_getRuntimeStatsInternal()
525 std::to_string(heap->GetBlockingGcCount()))) { in VMDebug_getRuntimeStatsInternal()
529 std::to_string(NsToMs(heap->GetBlockingGcTime())))) { in VMDebug_getRuntimeStatsInternal()
534 heap->DumpGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()
542 heap->DumpBlockingGcCountRateHistogram(output); in VMDebug_getRuntimeStatsInternal()