1# Copyright (c) 2022-2024 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14options: 15- name: boot-intrinsic-spaces 16 type: arg_list_t 17 default: 18 - ets 19 possible_values: 20 - ets 21 description: Load specified intrinsic spaces. This option is for fine tuning. Use load-runtimes instead 22 delimiter: ":" 23 24- name: boot-class-spaces 25 type: arg_list_t 26 default: 27 - core 28 possible_values: 29 - core 30 - ets 31 description: Load specified class spaces. This option is for fine tuning. Use load-runtimes instead 32 delimiter: ":" 33 34- name: runtime-type 35 type: std::string 36 default: core 37 possible_values: 38 - core 39 - ets 40 description: Runtime type. This option is for fine tuning. Use load-runtimes instead 41 42- name: load-runtimes 43 type: arg_list_t 44 default: 45 - core 46 possible_values: 47 - core 48 - ets 49 description: Load specified class and intrinsic spaces and define runtime type 50 delimiter: ":" 51 52- name: run-gc-in-place 53 lang: 54 - ets 55 type: bool 56 default: false 57 description: Enable/disable running GC only in place 58 59- name: gc-type 60 lang: 61 - ets 62 type: std::string 63 default: g1-gc 64 possible_values: 65 - epsilon 66 - epsilon-g1 67 - stw 68 - gen-gc 69 - g1-gc 70 description: Type of used GC 71 72- name: gc-trigger-type 73 lang: 74 - ets 75 type: std::string 76 default: heap-trigger-test 77 possible_values: 78 - heap-trigger-test 79 - heap-trigger 80 - adaptive-heap-trigger 81 - trigger-heap-occupancy 82 - no-gc-for-start-up 83 - debug 84 - debug-never 85 description: Type of used GC trigger 86 87- name: skip-startup-gc-count 88 lang: 89 - ets 90 type: uint32_t 91 default: 10 92 description: No stw gc count for no-gc-for-start-up 93 94- name: gc-debug-trigger-start 95 lang: 96 - ets 97 type: uint64_t 98 default: 0 99 description: First iteration to start returning true in debug trigger 100 101- name: gc-dump-heap 102 lang: 103 - ets 104 type: bool 105 default: false 106 description: Dump heap before and after GC 107 108- name: reference-processor-enable 109 type: bool 110 default: true 111 description: Enables/disables ReferenceProcessor 112 113- name: gc-enable-tracing 114 lang: 115 - ets 116 type: bool 117 default: false 118 description: enables/disables tracing gc 119 120- name: native-gc-trigger-type 121 lang: 122 - ets 123 type: std::string 124 default: simple-strategy 125 possible_values: 126 - no-native-gc-trigger 127 - simple-strategy 128 description: Type of native gc trigger 129 130- name: enable-fast-heap-verifier 131 lang: 132 - ets 133 type: bool 134 default: true 135 description: Enable fast heap verifier, which is faster than ordinary heap verifier but uses more internal memory 136 137- name: fail-on-heap-verification 138 lang: 139 - ets 140 type: bool 141 default: false 142 description: if enabled then fail execution if heap verifier found heap corruption 143 144- name: pre-gc-heap-verify-enabled 145 lang: 146 - ets 147 type: bool 148 default: false 149 description: whether verify heap before GC 150 151- name: into-gc-heap-verify-enabled 152 lang: 153 - ets 154 type: bool 155 default: false 156 description: whether verify heap during GC 157 158- name: post-gc-heap-verify-enabled 159 lang: 160 - ets 161 type: bool 162 default: false 163 description: whether verify heap after GC 164 165- name: concurrent-gc-enabled 166 lang: 167 - ets 168 type: bool 169 default: true 170 description: whether concurrent GC is enabled 171 172- name: enable-paralled-young-gc 173 lang: 174 - ets 175 type: bool 176 default: true 177 description: enable-paralled-young-gc 178 179- name: coroutine-impl 180 lang: 181 - ets 182 type: std::string 183 default: stackful 184 possible_values: 185 - threaded 186 - stackful 187 description: chooses coroutine implementation (either OS thread based emulation or full-featured fiber like) 188 189- name: coroutine-workers-count 190 lang: 191 - ets 192 type: uint32_t 193 default: 0 194 description: Number of worker threads for the NxM coroutine scheme (use 0 for auto) 195 196- name: coroutine-js-mode 197 lang: 198 - ets 199 type: bool 200 default: false 201 description: Enable JS interop mode (affects launch behaviour and async functions) 202 203- name: coroutine-dump-stats 204 lang: 205 - ets 206 type: bool 207 default: false 208 description: Collect coroutine stats and dump it at the end of the program 209 210- name: native-library-path 211 lang: 212 - ets 213 type: arg_list_t 214 default: [] 215 description: Pathes to find native libraries 216 delimiter: ":" 217