Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::HeapTestHelper Class Reference

Static Public Member Functions

static void Scavenge (Thread *thread)
 
static void MarkSweep (Thread *thread)
 

Detailed Description

Definition at line 472 of file heap_test.cc.

Member Function Documentation

◆ MarkSweep()

static void dart::HeapTestHelper::MarkSweep ( Thread thread)
inlinestatic

Definition at line 478 of file heap_test.cc.

478 {
479 thread->heap()->CollectOldSpaceGarbage(thread, GCType::kMarkSweep,
481 thread->heap()->WaitForMarkerTasks(thread);
482 thread->heap()->WaitForSweeperTasks(thread);
483 }

◆ Scavenge()

static void dart::HeapTestHelper::Scavenge ( Thread thread)
inlinestatic

Definition at line 474 of file heap_test.cc.

474 {
475 thread->heap()->CollectNewSpaceGarbage(thread, GCType::kScavenge,
477 }

The documentation for this class was generated from the following file: