/ark/runtime_core/runtime/mem/gc/ |
D | gc_types.h | 41 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()
|
D | gc_stats.cpp | 240 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 …]
|
D | gc_stats.h | 121 PandaString GetDump(GCType gc_type); 129 PandaString GetYoungSpaceDump(GCType gc_type); 130 PandaString GetAllSpacesDump(GCType gc_type);
|
D | gc.cpp | 261 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…
|
D | gc.h | 580 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/ |
D | memory_manager.cpp | 28 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()
|
D | heap_manager.h | 44 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()
|
D | heap_manager.cpp | 43 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()
|
D | memory_manager.h | 78 …MemoryManager *Create(LanguageContext ctx, InternalAllocatorPtr internal_allocator, GCType gc_type,
|
/ark/runtime_core/tests/benchmarks/ |
D | CMakeLists.txt | 73 … | | | | 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/ |
D | core_language_context.cpp | 40 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()
|
D | core_vm.cpp | 54 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()
|
D | core_language_context.h | 228 mem::GC *CreateGC(mem::GCType gc_type, mem::ObjectAllocatorBase *object_allocator,
|
/ark/runtime_core/runtime/include/ |
D | language_context.h | 119 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/ |
D | mem_stats_gc_test.cpp | 32 void SetupRuntime(std::string gc_type) in SetupRuntime() argument 38 options.SetGcType(gc_type); in SetupRuntime()
|
/ark/js_runtime/ecmascript/mem/ |
D | object_xray.h | 51 template<GCType gc_type>
|
D | object_xray-inl.h | 79 template<GCType gc_type> 204 if (gc_type != GCType::SEMI_GC) { in VisitObjectBody()
|
/ark/js_runtime/ecmascript/ |
D | ecma_language_context.h | 80 …mem::GC *CreateGC([[maybe_unused]] mem::GCType gc_type, [[maybe_unused]] mem::ObjectAllocatorBase … in CreateGC() argument
|
/ark/runtime_core/runtime/ |
D | runtime.cpp | 506 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()
|