#include"arch/instruction_set.h" #include"base/macros.h" #include"base/variant_map.h" #include"cmdline_types.h"// TODO: don't need to include this file here #include"gc/collector_type.h" #include"gc/space/large_object_space.h" #include"hidden_api.h" #include"jit/jit_code_cache.h" #include"jit/jit_options.h" #include"jit/profile_saver_options.h" #include"verifier/verifier_enums.h"
namespace art HIDDEN {
class CompilerCallbacks; class DexFile; struct XGcOption; struct BackgroundGcOption;
// Define a key that is usable with a RuntimeArgumentMap. // This key will *not* work with other subtypes of VariantMap. template <typename TValue> struct RuntimeArgumentMapKey : VariantMapKey<TValue> {
RuntimeArgumentMapKey() {} explicit RuntimeArgumentMapKey(TValue default_value)
: VariantMapKey<TValue>(std::move(default_value)) {} // Don't ODR-use constexpr default values, which means that Struct::Fields // that are declared 'static constexpr T Name = Value' don't need to have a matching definition.
};
// Defines a type-safe heterogeneous key->value map. // Use the VariantMap interface to look up or to store a RuntimeArgumentMapKey,Value pair. // // Example: // auto map = RuntimeArgumentMap(); // map.Set(RuntimeArgumentMap::HeapTargetUtilization, 5.0); // double *target_utilization = map.Get(RuntimeArgumentMap); // struct EXPORT RuntimeArgumentMap : VariantMap<RuntimeArgumentMap, RuntimeArgumentMapKey> { // This 'using' line is necessary to inherit the variadic constructor. using VariantMap<RuntimeArgumentMap, RuntimeArgumentMapKey>::VariantMap;
// Make the next many usages of Key slightly shorter to type. template <typename TValue> using Key = RuntimeArgumentMapKey<TValue>;
// List of key declarations, shorthand for 'static const Key<T> Name' #define RUNTIME_OPTIONS_KEY(Type, Name, ...) staticconst Key<Type> (Name); #include"runtime_options.def"
};
#undef RUNTIME_OPTIONS_KEY
// using RuntimeOptions = RuntimeArgumentMap;
} // namespace art
#endif// ART_RUNTIME_RUNTIME_OPTIONS_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.