Home
last modified time | relevance | path

Searched refs:gc_type (Results 1 – 19 of 19) sorted by relevance

/ark/runtime_core/runtime/mem/gc/
Dgc_types.h41 constexpr bool IsGenerationalGCType(const GCType gc_type) in IsGenerationalGCType() argument
44 ASSERT(gc_type != GCType::INVALID_GC); in IsGenerationalGCType()
45 switch (gc_type) { in IsGenerationalGCType()
102 inline std::string_view GCStringFromType(GCType gc_type) in GCStringFromType() argument
104 if (gc_type == GCType::EPSILON_GC) { in GCStringFromType()
107 if (gc_type == GCType::STW_GC) { in GCStringFromType()
110 if (gc_type == GCType::GEN_GC) { in GCStringFromType()
113 if (gc_type == GCType::HYBRID_GC) { in GCStringFromType()
Dgc_stats.cpp240 PandaString GCInstanceStats::GetDump(GCType gc_type) in GetDump() argument
251 statistic << GetYoungSpaceDump(gc_type); in GetDump()
253 statistic << GetAllSpacesDump(gc_type); in GetDump()
276 PandaString GCInstanceStats::GetYoungSpaceDump(GCType gc_type) in GetYoungSpaceDump() argument
279 statistic << "young " << GC_NAMES[ToIndex(gc_type)] in GetYoungSpaceDump()
287 statistic << "young " << GC_NAMES[ToIndex(gc_type)] << " total time: " << young_total_time in GetYoungSpaceDump()
289 …statistic << "young " << GC_NAMES[ToIndex(gc_type)] << " freed: " << young_total_freed_obj << " wi… in GetYoungSpaceDump()
292 statistic << "young " << GC_NAMES[ToIndex(gc_type)] << " throughput: " << std::scientific in GetYoungSpaceDump()
301 PandaString GCInstanceStats::GetAllSpacesDump(GCType gc_type) in GetAllSpacesDump() argument
305 statistic << GC_NAMES[ToIndex(gc_type)] in GetAllSpacesDump()
[all …]
Dgc_stats.h121 PandaString GetDump(GCType gc_type);
129 PandaString GetYoungSpaceDump(GCType gc_type);
130 PandaString GetAllSpacesDump(GCType gc_type);
Dgc.cpp261 GC *CreateGC(GCType gc_type, ObjectAllocatorBase *object_allocator, const GCSettings &settings) in CreateGC() argument
264 …ASSERT_PRINT((gc_type == GCType::EPSILON_GC) || (gc_type == GCType::STW_GC) || (gc_type == GCType:… in CreateGC()
265 (gc_type == GCType::G1_GC), in CreateGC()
269 switch (gc_type) { in CreateGC()
734 template GC *CreateGC<PandaAssemblyLanguageConfig>(GCType gc_type, ObjectAllocatorBase *object_allo…
Dgc.h580 inline void SetType(GCType gc_type) in SetType() argument
582 gc_type_ = gc_type; in SetType()
840 GC *CreateGC(GCType gc_type, ObjectAllocatorBase *object_allocator, const GCSettings &settings);
/ark/runtime_core/runtime/mem/
Dmemory_manager.cpp28 const MemoryManager::HeapOptions &options, GCType gc_type, in CreateHeapManager() argument
38 …if (!heap_manager->Initialize(gc_type, options.is_single_thread, options.is_use_tlab_for_allocatio… in CreateHeapManager()
51 …MemoryManager::Create(LanguageContext ctx, InternalAllocatorPtr internal_allocator, GCType gc_type, in Create() argument
61 …HeapManager *heap_manager = CreateHeapManager(internal_allocator, heap_options, gc_type, mem_stats… in Create()
67 … PandaUniquePtr<GCStats> gc_stats = MakePandaUnique<GCStats>(mem_stats.get(), gc_type, allocator); in Create()
68 …PandaUniquePtr<GC> gc(ctx.CreateGC(gc_type, heap_manager->GetObjectAllocator().AsObjectAllocator()… in Create()
Dheap_manager.h44 bool Initialize(GCType gc_type, bool single_threaded, bool use_tlab, MemStatsType *mem_stats,
177 template <GCType gc_type, MTModeT MTMode = MT_MODE_MULTI>
188 … typename AllocConfig<gc_type, MTMode>::ObjectAllocatorType(mem_stats, create_pygote_space); in Initialize()
Dheap_manager.cpp43 bool HeapManager::Initialize(GCType gc_type, bool single_threaded, bool use_tlab, MemStatsType *mem… in Initialize() argument
60 switch (gc_type) { in Initialize()
67 LOG(FATAL, GC) << "Invalid init for gc_type = " << static_cast<int>(gc_type); in Initialize()
76 ASSERT(IsGenerationalGCType(gc_type) || (!use_tlab_for_allocations_)); in Initialize()
Dmemory_manager.h78 …MemoryManager *Create(LanguageContext ctx, InternalAllocatorPtr internal_allocator, GCType gc_type,
/ark/runtime_core/tests/benchmarks/
DCMakeLists.txt73 … | | | | 5.gc_type
100 common_target_basename name file interpreter stack_limit gc_type default)
106 if (NOT "${gc_type}" STREQUAL "default")
107 set(ENABLE_GC_OPTION "--gc-type=${gc_type}")
/ark/runtime_core/runtime/core/
Dcore_language_context.cpp40 mem::GC *CoreLanguageContext::CreateGC(mem::GCType gc_type, mem::ObjectAllocatorBase *object_alloca… in CreateGC() argument
43 return mem::CreateGC<PandaAssemblyLanguageConfig>(gc_type, object_allocator, settings); in CreateGC()
Dcore_vm.cpp54 mem::GCType gc_type = Runtime::GetGCType(options); in CreateMM() local
56 …return mem::MemoryManager::Create(ctx, internal_allocator, gc_type, gc_settings, gc_trigger_config… in CreateMM()
Dcore_language_context.h228 mem::GC *CreateGC(mem::GCType gc_type, mem::ObjectAllocatorBase *object_allocator,
/ark/runtime_core/runtime/include/
Dlanguage_context.h119 virtual mem::GC *CreateGC(mem::GCType gc_type, mem::ObjectAllocatorBase *object_allocator,
228 mem::GC *CreateGC(mem::GCType gc_type, mem::ObjectAllocatorBase *object_allocator, in CreateGC() argument
231 return base_->CreateGC(gc_type, object_allocator, settings); in CreateGC()
/ark/runtime_core/runtime/tests/
Dmem_stats_gc_test.cpp32 void SetupRuntime(std::string gc_type) in SetupRuntime() argument
38 options.SetGcType(gc_type); in SetupRuntime()
/ark/js_runtime/ecmascript/mem/
Dobject_xray.h51 template<GCType gc_type>
Dobject_xray-inl.h79 template<GCType gc_type>
204 if (gc_type != GCType::SEMI_GC) { in VisitObjectBody()
/ark/js_runtime/ecmascript/
Decma_language_context.h80 …mem::GC *CreateGC([[maybe_unused]] mem::GCType gc_type, [[maybe_unused]] mem::ObjectAllocatorBase … in CreateGC() argument
/ark/runtime_core/runtime/
Druntime.cpp506 auto gc_type = panda::mem::GCTypeFromString(options.GetGcType()); in GetGCType() local
511 return gc_type == panda::mem::GCType::GEN_GC ? panda::mem::GCType::STW_GC : gc_type; in GetGCType()
513 return gc_type; in GetGCType()