Home
last modified time | relevance | path

Searched full:gc_type (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/runtime_core/static_core/scripts/
Dgc_pause_stats.py92 def __init__(self, gc_type: str):
93 self.times = {gc_type: StatsInfo()}
94 self.gc_type = gc_type
97 return len(self.times.get(self.gc_type))
100 self.times.get(self.gc_type).add(ms_time)
101 if gc_type_cause != self.gc_type:
110 if sorted_info[0][0] == self.gc_type:
128 def add(self, gc_type: str, gc_type_cause: str, gc_time: float) -> None:
131 if gc_type != "FULL":
134 self.stats.setdefault(gc_type, GCTypeStats(
[all …]
/arkcompiler/runtime_core/scripts/
Dgc_pause_stats.py30 def sort_one_gc_stat(stats: dict, gc_type: str) -> list:
34 if trig_type.find(gc_type) != -1:
42 for gc_type in GCPauseStats.GC_TYPES:
43 if gc_type in stats:
44 stats_info.append(sort_one_gc_stat(stats, gc_type))
55 for gc_type in gc_stats_list:
56 file.write(f" {gc_type} |")
98 def update_stats(stats: dict, gc_type: str, time_value: float):
100 trigger_info = stats.setdefault(gc_type, {
122 stats.update({gc_type: trigger_info})
[all …]
/arkcompiler/runtime_core/tests/benchmarks/
DCMakeLists.txt55 name vmb_name stack_limit interpreter enforce_jit_compiler gc_type aot default)
67 panda_benchmark_run_gc_type ${gc_type}
87 … | | | | | 6.gc_type
125 … common_target_basename name file interpreter enforce_jit_compiler stack_limit gc_type aot default)
131 if (NOT "${gc_type}" STREQUAL "default")
132 set(ENABLE_GC_OPTION "--gc-type=${gc_type}")
225 get_source_file_property(gc_type "${benchmark}" panda_benchmark_run_gc_type)
235 ${gc_type}
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h142 enum class PUBLIC_API GC_TYPE : uint8_t { EPSILON, GEN_GC, STW }; enum
155 void SetGcType(GC_TYPE type) in SetGcType()
321 case GC_TYPE::GEN_GC: in GetGcType()
324 case GC_TYPE::STW: in GetGcType()
327 case GC_TYPE::EPSILON: in GetGcType()
446 GC_TYPE gcType_ = GC_TYPE::EPSILON;
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/options/
Doptions_general.py118 @value(yaml_path="general.gc_type", cli_name="gc_type")
119 def gc_type(self) -> str: member in GeneralOptions
203 self.__to_cli_with_default('--gc-type', self.gc_type, GeneralOptions.__DEFAULT_GC_TYPE),
234 "gc_type": self.gc_type,
Dcli_options.py273 '--gc-type', dest='gc_type',
/arkcompiler/runtime_core/static_core/runtime/mem/
Dheap_manager.h217 template <GCType GC_TYPE, MTModeT MT_MODE = MT_MODE_MULTI>
229 …new (std::nothrow) typename AllocConfig<GC_TYPE, MT_MODE>::ObjectAllocatorType(memStats, createPyg… in Initialize()
233 template <GCType GC_TYPE>
238 return Initialize<GC_TYPE, MT_MODE_SINGLE>(memStats, createPygoteSpace); in Initialize()
241 return Initialize<GC_TYPE, MT_MODE_MULTI>(memStats, createPygoteSpace); in Initialize()
244 return Initialize<GC_TYPE, MT_MODE_TASK>(memStats, createPygoteSpace); in Initialize()
Dheap_manager.cpp72 LOG(FATAL, GC) << "Invalid init for gc_type = " << static_cast<int>(gcType); in Initialize()
/arkcompiler/runtime_core/static_core/runtime/templates/
Dlanguage_config_gen.inc.erb48 …template GC *CreateGC< <%= plugin_lang.capitalize %>LanguageConfig >(GCType gc_type, ObjectAllocat…
50 …template GC *CreateGC< PandaAssemblyLanguageConfig >(GCType gc_type, ObjectAllocatorBase *object_a…
/arkcompiler/runtime_core/static_core/tests/
DCMakeLists.txt469 foreach (gc_type IN LISTS gc_types)
472 if (gc_type STREQUAL "g1-gc")
478 TARGET ${target}-${gc_type}-${interp_type}
479 SUBDIR ${suite}-${gc_type}-${interp_type}
482 …IONS "${EXTRA_RUNTIME_OPTIONS}" "--compiler-enable-jit=false --gc-type=${gc_type} --interpreter-ty…
490 add_dependencies(${suite} ${target}-${gc_type}-${interp_type})
652 foreach (gc_type IN LISTS gc_types)
655 TARGET ${target}-aot-${gc_type}
656 SUBDIR ${suite}-aot-${gc_type}
660 GC_OPTIONS "--gc-type=${gc_type}"
[all …]
/arkcompiler/ets_runtime/ecmascript/platform/unix/ohos/
Ddfx_hisys_event.cpp32 LOG_GC(DEBUG) << "SendLongGCEvent: GC_TYPE" << longGCStats->GetGCType() in SendLongGCEvent()
41 "GC_TYPE", longGCStats->GetGCType(), in SendLongGCEvent()
/arkcompiler/runtime_core/libabckit/tests/helpers/
Dhelpers_js_runtime.cpp31 option.SetGcType(panda::RuntimeOption::GC_TYPE::STW); in ExecuteDynamicAbc()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/cfg/
Dall-options-with-default-values.yaml46 gc_type: g1-gc
/arkcompiler/runtime_core/static_core/plugins/ets/tests/
DCMakeLists.txt395 foreach(gc_type ${gc_types})
396 set(extra_options RUNTIME_EXTRA_OPTIONS "--gc-type=${gc_type};${ARG_RUNTIME_EXTRA_OPTIONS}")
397 … run_int_jit_aot_ets_code(${ETS_SRC} ${WORK_DIR}-${gc_type} ${TARGET}-${gc_type} ${extra_options})
398 add_dependencies(${PARENT_TARGET} ${TARGET}-${gc_type})
/arkcompiler/runtime_core/tests/
DCMakeLists.txt411 SUBDIR ${suite}-${gc_type}
425 foreach (gc_type IN LISTS gc_types)
428 TARGET ${target}-${gc_type}-cpp
429 SUBDIR ${suite}-${gc_type}
432 … RUNTIME_OPTIONS "${CUR_RUNTIME_OPTIONS}" "--compiler-enable-jit=false --gc-type=${gc_type}"
439 add_dependencies(${suite} ${target}-${gc_type}-cpp)
563 foreach (gc_type IN LISTS gc_types)
566 TARGET ${target}-aot-${gc_type}
567 SUBDIR ${suite}-aot-${gc_type}
571 GC_OPTIONS "--gc-type=${gc_type}"
[all …]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/suites/
Dtest_lists.py106 gc_type = cast(str, self.config.workflow.get_parameter('gc-type', 'g1-gc')).upper()
107 full_template_name += f"(-({gc_type}))?"
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
Drunner_file_based.py418 f'--gc-type={self.config.general.gc_type}',
435 f'--gc-type={self.config.general.gc_type}',
/arkcompiler/ets_runtime/
Dhisysevent.yaml51 GC_TYPE: {type: INT8, desc: GC TYPE}
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc.h802 * @brief Create GC with @param gc_type
803 * @param gc_type - type of create GC
/arkcompiler/runtime_core/compiler/tests/
Daot_test.cpp535 …auto gc_type = Runtime::GetGCType(runtime->GetOptions(), plugins::RuntimeTypeToLang(runtime->GetRu… in TEST_F() local
536 aot_builder.SetGcType(static_cast<uint32_t>(gc_type)); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tools/aotdump/
Daotdump.cpp228 …(*stream_) << " gc_type: " << mem::GCStringFromType(static_cast<mem::GCType>(aotHeader->gcType)) … in DumpHeader()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/
Dreadme.md270 --gc-type GC_TYPE Type of garbage collector
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dallocator.h934 template <GCType GC_TYPE, MTModeT MT_MODE = MT_MODE_MULTI>
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py117 '--gc-type', dest='gc_type', default="g1-gc", help='Type of garbage collector')