| /arkcompiler/runtime_core/static_core/plugins/ets/ |
| D | subproject_sources.gn | 43 "runtime/ets_libbase_runtime.yaml", 44 "runtime/ets_compiler_intrinsics.yaml", 55 [ "$ark_root/plugins/ets/runtime/interop_js:interop_intrinsic_kinds_h" ] 57 runtime_yamls += [ "runtime/interop_js/intrinsics/std_js_jsruntime.yaml" ] 67 entrypoints_yaml_path = "runtime/ets_entrypoints.yaml" 86 arkcompiler_deps += [ "$_plugin_dir/runtime/interop_js:interop_intrinsic_kinds_h(${default_toolchai… 89 "runtime/ets_annotation.cpp", 90 "runtime/ets_class_linker.cpp", 91 "runtime/ets_class_linker_extension.cpp", 92 "runtime/ets_coroutine.cpp", [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | test_utils.h | 20 #include "runtime/include/runtime.h" 21 #include "runtime/include/coretypes/array.h" 22 #include "runtime/include/coretypes/string.h" 23 #include "runtime/include/panda_vm.h" 24 #include "runtime/include/class_linker.h" 25 #include "runtime/include/class_root.h" 32 auto *vm = Runtime::GetCurrent()->GetPandaVM(); in AllocateNullifiedPayloadString() 34 auto *stringClass = Runtime::GetCurrent() in AllocateNullifiedPayloadString() 47 Runtime *runtime = Runtime::GetCurrent(); in AllocNonMovableObject() local 48 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in AllocNonMovableObject() [all …]
|
| D | interpreter_test_resolve_ctor_class.cpp | 36 #include "runtime/bridge/bridge.h" 37 #include "runtime/include/class_linker.h" 38 #include "runtime/include/compiler_interface.h" 39 #include "runtime/include/mem/allocator.h" 40 #include "runtime/include/method.h" 41 #include "runtime/include/runtime.h" 42 #include "runtime/include/runtime_options.h" 43 #include "runtime/interpreter/frame.h" 44 #include "runtime/mem/gc/gc.h" 45 #include "runtime/mem/internal_allocator.h" [all …]
|
| D | explicit_gc_test.cpp | 19 #include "runtime/include/runtime.h" 20 #include "runtime/include/runtime_options.h" 21 #include "runtime/include/panda_vm.h" 22 #include "runtime/include/class_linker.h" 23 #include "runtime/include/thread_scopes.h" 24 #include "runtime/mem/vm_handle.h" 25 #include "runtime/handle_scope-inl.h" 26 #include "runtime/include/coretypes/array.h" 27 #include "runtime/include/coretypes/string.h" 28 #include "runtime/mem/gc/card_table.h" [all …]
|
| D | interpreter_test_resolve_field.cpp | 37 #include "runtime/bridge/bridge.h" 38 #include "runtime/include/class_linker.h" 39 #include "runtime/include/compiler_interface.h" 40 #include "runtime/include/mem/allocator.h" 41 #include "runtime/include/method.h" 42 #include "runtime/include/runtime.h" 43 #include "runtime/include/runtime_options.h" 44 #include "runtime/interpreter/frame.h" 45 #include "runtime/mem/gc/gc.h" 46 #include "runtime/mem/internal_allocator.h" [all …]
|
| D | static_analyzer_test.cpp | 19 #include "runtime/include/runtime.h" 20 #include "runtime/include/panda_vm.h" 21 #include "runtime/include/class_linker.h" 22 #include "runtime/include/thread_scopes.h" 23 #include "runtime/mem/vm_handle.h" 24 #include "runtime/handle_scope-inl.h" 25 #include "runtime/include/coretypes/array.h" 26 #include "runtime/include/coretypes/string.h" 27 #include "runtime/mem/object_helpers-inl.h" 52 Runtime::Create(options); in StaticAnalyzerTest() [all …]
|
| D | intrusive_gc_test_api_test.cpp | 18 #include "runtime/include/runtime.h" 19 #include "runtime/include/panda_vm.h" 20 #include "runtime/include/class_linker.h" 21 #include "runtime/include/thread_scopes.h" 22 #include "runtime/mem/vm_handle.h" 23 #include "runtime/handle_scope-inl.h" 24 #include "runtime/include/coretypes/array.h" 25 #include "runtime/include/coretypes/string.h" 26 #include "runtime/mem/gc/card_table.h" 27 #include "runtime/mem/gc/g1/g1-allocator.h" [all …]
|
| D | pygote_space_allocator_test_base.h | 23 #include "runtime/mem/runslots_allocator-inl.h" 24 #include "runtime/mem/pygote_space_allocator-inl.h" 25 #include "runtime/include/object_header.h" 26 #include "runtime/mem/refstorage/global_object_storage.h" 48 auto runtime = ark::Runtime::GetCurrent(); in GetObjectClass() local 49 LanguageContext ctx = runtime->GetLanguageContext(panda_file::SourceLang::PANDA_ASSEMBLY); in GetObjectClass() 50 return runtime->GetClassLinker()->GetExtension(ctx)->GetClassRoot(ClassRoot::OBJECT); in GetObjectClass() 56 auto runtime = ark::Runtime::GetCurrent(); in PygoteFork() local 57 runtime->PreZygoteFork(); in PygoteFork() 58 runtime->PostZygoteFork(); in PygoteFork()
|
| D | gc_log_test.cpp | 21 #include "runtime/include/runtime.h" 22 #include "runtime/include/panda_vm.h" 23 #include "runtime/include/class_linker.h" 24 #include "runtime/include/thread_scopes.h" 25 #include "runtime/mem/vm_handle.h" 26 #include "runtime/handle_scope-inl.h" 27 #include "runtime/include/coretypes/array.h" 28 #include "runtime/include/coretypes/string.h" 29 #include "runtime/mem/gc/card_table.h" 30 #include "runtime/mem/gc/g1/g1-allocator.h" [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-debug-api.md | 1 # Runtime debug API 5 1. Runtime should support debugging on the platforms from low-end IoT devices to hi-end mobile phon… 9 1. Runtime doesn't patch apps' bytecode on the fly. Instead of it notification about changing bytec… 11 …Runtime and debugger work in the same process. Debugger functionality is provided via shared libra… 15 1. As some low-end targets can store bytecode in ROM, runtime cannot patch app's bytecode on the fl… 17 1. To simplify communication beetween debugger and runtime (especially on microcontrollers) they ar… 21 To start runtime in the debug mode a debugger [`LoadableAgent`](../runtime/include/loadable_agent.h… 23 …Runtime::StartDebugSession()`). When starting the session, the JIT is disabled, and the [`tooling:… 25 Runtime provides [`RuntimeNotificationManager`](../runtime/include/runtime_notification.h) class th… 26 * `LoadModule` - occurs when panda file is loaded by the runtime [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | runtime-debug-api.md | 1 # Runtime debug API 5 1. Runtime should support debugging on the platforms from low-end IoT devices to hi-end mobile phon… 9 1. Runtime doesn't patch apps' bytecode on the fly. Instead of it notification about changing bytec… 11 …Runtime and debugger work in the same process. Debugger functionality is provided via shared libra… 15 1. As some low-end targets can store bytecode in ROM, runtime cannot patch app's bytecode on the fl… 17 1. To simplify communication beetween debugger and runtime (especially on microcontrollers) they ar… 21 To start runtime in the debug mode a debugger [`LoadableAgent`](../runtime/include/loadable_agent.h… 23 …Runtime::StartDebugSession()`). When starting the session, the JIT is disabled, and the [`tooling:… 25 Runtime provides [`RuntimeNotificationManager`](../runtime/include/runtime_notification.h) class th… 26 * `LoadModule` - occurs when panda file is loaded by the runtime [all …]
|
| /arkcompiler/ets_runtime/docs/ |
| D | overview.md | 3 …runtime platform of OpenHarmony. It contains core components such as the compiler, toolchain, and … 5 …Runtime consists of two parts: JS compiler toolchain and JS runtime. The JS compiler toolchain com… 10 The source code compiler of ArkCompiler JS Runtime receives JS source code, based on which ts2abc g… 12 Figure 2 Architecture of ArkCompiler JS Runtime 16 ArkCompiler JS Runtime runs ArkCompiler bytecode files to implement JS semantic logic. 18 **ArkCompiler JS Runtime consists of four subsystems:** 22 …Core Subsystem consists of basic language-irrelevant runtime libraries, including ArkCompiler File… 26 …s, inline caching that stores hidden classes, and Profiler that analyzes and records runtime types. 32 - **JS Runtime Subsystem** 34 JS Runtime Subsystem contains various modules related to JS runtime: [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | runtime.cpp | 16 #include "runtime/include/runtime.h" 46 #include "runtime/cha.h" 47 #include "runtime/compiler.h" 48 #include "runtime/dprofiler/dprofiler.h" 49 #include "runtime/entrypoints/entrypoints.h" 50 #include "runtime/include/class_linker_extension.h" 51 #include "runtime/include/coretypes/array-inl.h" 52 #include "runtime/include/coretypes/string.h" 53 #include "runtime/include/language_context.h" 54 #include "runtime/include/locks.h" [all …]
|
| D | language_context.cpp | 15 #include "runtime/include/language_context.h" 18 #include "runtime/core/core_itable_builder.h" 19 #include "runtime/core/core_vm.h" 20 #include "runtime/core/core_vtable_builder.h" 21 #include "runtime/handle_scope-inl.h" 22 #include "runtime/include/class_linker.h" 23 #include "runtime/include/language_config.h" 24 #include "runtime/include/method.h" 25 #include "runtime/include/runtime.h" 26 #include "runtime/include/stack_walker.h" [all …]
|
| D | runtime_helpers.cpp | 16 #include "runtime/runtime_helpers.h" 17 #include "runtime/include/object_header-inl.h" 18 #include "runtime/include/runtime.h" 19 #include "runtime/include/stack_walker.h" 20 #include "runtime/include/thread.h" 21 #include "runtime/interpreter/runtime_interface.h" 22 #include "runtime/mem/object_helpers.h" 30 LOG(ERROR, RUNTIME) << "====================== Stack trace begin ======================"; in PrintStackTrace() 33 … LOG(ERROR, RUNTIME) << method->GetClass()->GetName() << "." << method->GetName().data << " at " in PrintStackTrace() 36 LOG(ERROR, RUNTIME) << "====================== Stack trace end ======================"; in PrintStackTrace()
|
| D | panda_vm.cpp | 19 #include "runtime/default_debugger_agent.h" 20 #include "runtime/include/runtime.h" 21 #include "runtime/include/runtime_options.h" 22 #include "runtime/include/runtime_notification.h" 23 #include "runtime/include/panda_vm.h" 24 #include "runtime/include/thread_scopes.h" 25 #include "runtime/mem/gc/reference-processor/reference_processor.h" 31 PandaVM *PandaVM::Create(Runtime *runtime, const RuntimeOptions &options, std::string_view runtimeT… in Create() argument 33 LanguageContext ctx = runtime->GetLanguageContext(std::string(runtimeType)); in Create() 34 return ctx.CreateVM(runtime, options); in Create() [all …]
|
| D | file_manager.cpp | 16 #include "runtime/include/file_manager.h" 17 #include "runtime/include/runtime.h" 29 auto runtime = Runtime::GetCurrent(); in LoadAbcFile() local 30 if (Runtime::GetOptions().IsEnableAn() && !Runtime::GetOptions().IsArkAot()) { in LoadAbcFile() 32 … auto aotFile = runtime->GetClassLinker()->GetAotManager()->FindPandaFile(std::string(location)); in LoadAbcFile() 37 runtime->GetClassLinker()->AddPandaFile(std::move(pf)); in LoadAbcFile() 61 auto runtime = Runtime::GetCurrent(); in LoadAnFile() local 62 …auto gcType = Runtime::GetGCType(Runtime::GetOptions(), plugins::RuntimeTypeToLang(runtime->GetRun… in LoadAnFile() 65 return runtime->GetClassLinker()->GetAotManager()->AddFile(realAnFilePath, &runtimeIface, in LoadAnFile() 73 // 1. search ark native file file base on ARCH info from runtime. in ResolveAnFilePath()
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | inspector-debugger-sequence.plantuml | 16 participant Runtime 19 Runtime -> Debugger: instantiate singleton 20 Debugger --> Runtime: AddListener(this, DEBUG_EVENTS) 22 Runtime -> Runtime: dlopen(libarkinspector.so) 25 Runtime -> Inspector: StartDebugger() 38 Runtime -> Debugger: execution event 45 Runtime -> Inspector: StopDebugger() 47 Inspector -> WebSocketServer: CDP Runtime.executionContextsCleared event 53 Inspector --> Runtime: unload library 56 Runtime -> Debugger: destroy instance [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/test-lists/srcdumper/ |
| D | srcdumper-ets-ignored.txt | 2 runtime/ets/const_enum.sts 6 runtime/ets/StringTemplate1.sts 7 runtime/ets/StringTemplate2.sts 8 runtime/ets/StringTemplate3.sts 16 runtime/ets/annotation_tests/AnnotationDeclare01.sts 17 runtime/ets/annotation_tests/annotationUsageSingleFileds01.sts 18 runtime/ets/annotation_tests/annotationUsageSingleFileds02.sts 19 runtime/ets/annotation_tests/annotationUsageSingleFileds03.sts 20 runtime/ets/annotation_tests/annotationUsageSingleFileds04.sts 21 runtime/ets/annotation_tests/annotationUsageSingleFileds05.sts [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/profilesaver/ |
| D | profile_saver.cpp | 16 #include "runtime/profilesaver/profile_saver.h" 22 #include "runtime/include/runtime.h" 56 LOG(INFO, RUNTIME) << "Cannot find app dir, bad output filename"; in AddTrackedLocations() 66 if (Runtime::GetCurrent() == nullptr) { in Start() 67 LOG(ERROR, RUNTIME) << "Runtime is nullptr"; in Start() 71 if (!Runtime::GetCurrent()->SaveProfileInfo()) { in Start() 72 LOG(ERROR, RUNTIME) << "ProfileSaver is forbidden"; in Start() 77 LOG(ERROR, RUNTIME) << "Invalid output filename"; in Start() 89 LOG(INFO, RUNTIME) << "No code paths should be profiled."; in Start() 94 LOG(INFO, RUNTIME) << "Profile Saver Singleton already exists"; in Start() [all …]
|
| /arkcompiler/runtime_core/static_core/ |
| D | REVIEWERS | 48 static_core/runtime/ @igelhaus 49 static_core/runtime/*cframe* @Prof1983 50 static_core/runtime/*compiler* @Prof1983 51 static_core/runtime/*deoptimization* @Prof1983 52 static_core/runtime/*osr* @Prof1983 53 static_core/runtime/*stack_walker* @Prof1983 68 static_core/runtime/arch/ @Prof1983 69 static_core/runtime/bridge/ @Prof1983 70 static_core/runtime/coroutines/ ^dmitriitr @konstanting 71 static_core/runtime/entrypoints/ @Prof1983 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_vm.h | 31 #include "runtime/include/compiler_interface.h" 32 #include "runtime/include/external_callback_poster.h" 33 #include "runtime/include/gc_task.h" 34 #include "runtime/include/language_context.h" 35 #include "runtime/include/managed_thread.h" 36 #include "runtime/include/mem/panda_containers.h" 37 #include "runtime/include/mem/panda_string.h" 38 #include "runtime/include/method.h" 39 #include "runtime/include/object_header.h" 40 #include "runtime/include/panda_vm.h" [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/core/ |
| D | core_vm.cpp | 17 #include "runtime/compiler.h" 18 #include "runtime/core/core_vm.h" 19 #include "runtime/handle_scope-inl.h" 20 #include "runtime/include/thread.h" 21 #include "runtime/include/class_linker.h" 22 #include "runtime/include/thread_scopes.h" 23 #include "runtime/mem/gc/reference-processor/empty_reference_processor.h" 24 #include "runtime/mem/lock_config_helper.h" 25 #include "runtime/mem/refstorage/global_object_storage.h" 26 #include "runtime/single_thread_manager.h" [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/asm_defines/ |
| D | defines.cpp | 18 #include "runtime/include/class.h" 19 #include "runtime/include/coretypes/array.h" 20 #include "runtime/include/coretypes/native_pointer.h" 21 #include "runtime/include/coretypes/string.h" 22 #include "runtime/include/field.h" 23 #include "runtime/include/hclass.h" 24 #include "runtime/include/method.h" 25 #include "runtime/include/mtmanaged_thread.h" 26 #include "runtime/mem/tlab.h"
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core.cpp | 16 #include "runtime/runtime_helpers.h" 17 #include "plugins/ets/runtime/ets_coroutine.h" 18 #include "plugins/ets/runtime/ets_exceptions.h" 19 #include "plugins/ets/runtime/ets_panda_file_items.h" 20 #include "plugins/ets/runtime/ets_vm.h" 21 #include "plugins/ets/runtime/types/ets_string.h" 22 #include "plugins/ets/runtime/types/ets_atomic_flag.h" 23 #include "runtime/include/thread_scopes.h" 25 #include "runtime/include/stack_walker.h" 26 #include "runtime/include/thread.h" [all …]
|