Home
last modified time | relevance | path

Searched full:runtime (Results 1 – 25 of 1639) sorted by relevance

12345678910>>...66

/arkcompiler/runtime_core/static_core/plugins/ets/
Dsubproject_sources.gn38 "runtime/ets_libbase_runtime.yaml",
39 "runtime/ets_compiler_intrinsics.yaml",
49 [ "$ark_root/plugins/ets/runtime/interop_js:interop_intrinsic_kinds_h" ]
51 runtime_yamls += [ "runtime/interop_js/intrinsics/std_js_jsruntime.yaml" ]
61 entrypoints_yaml_path = "runtime/ets_entrypoints.yaml"
83 "runtime/ets_annotation.cpp",
84 "runtime/ets_class_linker.cpp",
85 "runtime/ets_class_linker_extension.cpp",
86 "runtime/ets_coroutine.cpp",
87 "runtime/ets_entrypoints.cpp",
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dtest_utils.h20 #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 …]
Dinterpreter_test_resolve_ctor_class.cpp36 #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 …]
Dexplicit_gc_test.cpp19 #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 …]
Dinterpreter_test_resolve_field.cpp37 #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 …]
Dstatic_analyzer_test.cpp19 #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 …]
Dintrusive_gc_test_api_test.cpp18 #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 …]
Dgc_log_test.cpp21 #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 …]
Dpygote_space_allocator_test_base.h23 #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()
/arkcompiler/runtime_core/static_core/docs/
Druntime-debug-api.md1 # 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…
11Runtime 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…
23Runtime::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/docs/
Druntime-debug-api.md1 # 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…
11Runtime 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…
23Runtime::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/
Doverview.md3runtime platform of OpenHarmony. It contains core components such as the compiler, toolchain, and
5Runtime 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/
DREVIEWERS45 static_core/runtime/ @igelhaus
46 static_core/runtime/*cframe* @Prof1983
47 static_core/runtime/*compiler* @Prof1983
48 static_core/runtime/*deoptimization* @Prof1983
49 static_core/runtime/*osr* @Prof1983
50 static_core/runtime/*stack_walker* @Prof1983
61 static_core/runtime/arch/ @Prof1983
62 static_core/runtime/bridge/ @Prof1983
63 static_core/runtime/coroutines/ @dmitriitr @konstanting
64 static_core/runtime/entrypoints/ @Prof1983
[all …]
/arkcompiler/runtime_core/static_core/runtime/
Druntime.cpp16 #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 …]
Dlanguage_context.cpp15 #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 …]
Druntime_helpers.cpp16 #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()
Dpanda_vm.cpp19 #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 …]
Dfile_manager.cpp16 #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/plugins/ets/runtime/
Dets_vm.h31 #include "runtime/include/compiler_interface.h"
32 #include "runtime/include/gc_task.h"
33 #include "runtime/include/language_context.h"
34 #include "runtime/include/managed_thread.h"
35 #include "runtime/include/mem/panda_containers.h"
36 #include "runtime/include/mem/panda_string.h"
37 #include "runtime/include/method.h"
38 #include "runtime/include/object_header.h"
39 #include "runtime/include/panda_vm.h"
40 #include "runtime/include/runtime_options.h"
[all …]
/arkcompiler/runtime_core/static_core/runtime/profilesaver/
Dprofile_saver.cpp16 #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/runtime/core/
Dcore_vm.cpp17 #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/plugins/ets/runtime/types/
Dets_string.h19 #include "runtime/include/runtime.h"
20 #include "runtime/include/coretypes/string-inl.h"
21 #include "plugins/ets/runtime/types/ets_array.h"
22 #include "plugins/ets/runtime/types/ets_object.h"
23 #include "plugins/ets/runtime/napi/ets_napi.h"
33 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromMUtf8()
39 …coretypes::String *s = coretypes::String::CreateFromMUtf8(data, ctx, Runtime::GetCurrent()->GetPan… in CreateFromMUtf8()
46 … LanguageContext ctx = Runtime::GetCurrent()->GetLanguageContext(panda_file::SourceLang::ETS); in CreateFromMUtf8()
49 coretypes::String::CreateEmptyString(ctx, Runtime::GetCurrent()->GetPandaVM())); in CreateFromMUtf8()
57 … coretypes::String::CreateFromMUtf8(data, utf16Length, ctx, Runtime::GetCurrent()->GetPandaVM()); in CreateFromMUtf8()
[all …]
/arkcompiler/runtime_core/static_core/runtime/asm_defines/
Ddefines.cpp18 #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/
Dstd_core.cpp16 #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 …]
/arkcompiler/runtime_core/static_core/libpandafile/
Dmodifiers.h52 // Runtime internal modifiers
53 constexpr uint32_t ACC_HAS_DEFAULT_METHODS = 0x00010000; // class (runtime)
54 constexpr uint32_t ACC_CONSTRUCTOR = 0x00010000; // method (runtime)
55 constexpr uint32_t ACC_DEFAULT_INTERFACE_METHOD = 0x00020000; // method (runtime)
56 constexpr uint32_t ACC_SINGLE_IMPL = 0x00040000; // method (runtime)
57 constexpr uint32_t ACC_INTRINSIC = 0x00200000; // method (runtime)
58 constexpr uint32_t ACC_PROFILING = 0x20000000; // method (runtime)
64 // Runtime internal language specific modifiers
65 constexpr uint32_t ACC_PROXY = 0x00020000; // class (java runtime)
66 constexpr uint32_t ACC_FAST_NATIVE = 0x00080000; // method (java runtime)
[all …]

12345678910>>...66