Searched refs:JniIdType (Results 1 – 16 of 16) sorted by relevance
/art/runtime/ |
D | jni_id_type.h | 24 enum class JniIdType { enum 38 std::ostream& operator<<(std::ostream& os, const JniIdType& rhs);
|
D | parsed_options.cc | 376 .WithType<JniIdType>() in MakeParser() 377 .WithValueMap({{"true", JniIdType::kIndices}, in MakeParser() 378 {"false", JniIdType::kPointer}, in MakeParser() 379 {"swapable", JniIdType::kSwapablePointer}, in MakeParser() 380 {"pointer", JniIdType::kPointer}, in MakeParser() 381 {"indices", JniIdType::kIndices}, in MakeParser() 382 {"default", JniIdType::kDefault}}) in MakeParser()
|
D | runtime.h | 914 JniIdType GetJniIdType() const { in GetJniIdType() 919 return GetJniIdType() == JniIdType::kSwapablePointer; in CanSetJniIdType() 924 void SetJniIdType(JniIdType t); 1302 JniIdType jni_ids_indirection_;
|
D | runtime_options.def | 81 RUNTIME_OPTIONS_KEY (JniIdType, OpaqueJniIds, JniIdType::kDefault) // …
|
D | well_known_classes.cc | 186 if (Runtime::Current()->GetJniIdType() != JniIdType::kSwapablePointer) { in CacheField() 212 if (Runtime::Current()->GetJniIdType() != JniIdType::kSwapablePointer) { in CacheMethod()
|
D | runtime.cc | 1078 SetJniIdType(JniIdType::kIndices); in InitNonZygoteOrPostFork() 1080 SetJniIdType(JniIdType::kPointer); in InitNonZygoteOrPostFork() 3029 void Runtime::SetJniIdType(JniIdType t) { in SetJniIdType()
|
/art/runtime/jni/ |
D | jni_internal.h | 95 if (kEnableIndexIds && Runtime::Current()->GetJniIdType() != JniIdType::kPointer) { in EncodeArtField() 105 if (kEnableIndexIds && Runtime::Current()->GetJniIdType() != JniIdType::kPointer) { in EncodeArtField() 116 if (kEnableIndexIds && Runtime::Current()->GetJniIdType() != JniIdType::kPointer) { in EncodeArtMethod() 127 if (kEnableIndexIds && Runtime::Current()->GetJniIdType() != JniIdType::kPointer) { in EncodeArtMethod()
|
D | jni_id_manager.cc | 227 uintptr_t JniIdManager::GetNextId<ArtField>(JniIdType type) { in GetNextId() 228 DCHECK_EQ(type, JniIdType::kIndices); in GetNextId() 236 uintptr_t JniIdManager::GetNextId<ArtMethod>(JniIdType type) { in GetNextId() 237 DCHECK_EQ(type, JniIdType::kIndices); in GetNextId() 273 JniIdType id_type = runtime->GetJniIdType(); in EncodeGenericId() 274 if (id_type == JniIdType::kPointer || t == nullptr) { in EncodeGenericId() 505 if (Runtime::Current()->GetJniIdType() == JniIdType::kIndices && (t % 2) == 1) { in DecodeGenericId()
|
D | jni_id_manager.h | 79 template <typename ArtType> uintptr_t GetNextId(JniIdType id)
|
D | jni_internal.cc | 2966 return Runtime::Current()->GetJniIdType() == JniIdType::kPointer in GetJniNativeInterface()
|
/art/test/1972-jni-id-swap-indices/ |
D | jni_id.cc | 53 Runtime::Current()->SetJniIdType(JniIdType::kPointer); in Java_Main_SetToPointerIds() 57 Runtime::Current()->SetJniIdType(JniIdType::kIndices); in Java_Main_SetToIndexIds()
|
D | info.txt | 1 Tests changing from SwapablePointer to indices for JniIdType
|
/art/test/1973-jni-id-swap-pointer/ |
D | info.txt | 1 Tests changing from SwapablePointer to indices for JniIdType
|
/art/openjdkjvmti/ |
D | ti_extension.cc | 401 if (runtime->GetJniIdType() == art::JniIdType::kIndices && in GetExtensionFunctions() 632 if (runtime->GetJniIdType() == art::JniIdType::kIndices && in GetExtensionEvents()
|
/art/runtime/mirror/ |
D | class_ext-inl.h | 50 if (UNLIKELY(Runtime::Current()->GetJniIdType() == JniIdType::kSwapablePointer)) { in EnsureJniIdsArrayPresent()
|
D | class.cc | 1715 DCHECK_NE(Runtime::Current()->GetJniIdType(), JniIdType::kPointer) << "JNI Ids are pointers!"; in EnsureMethodIds() 1734 DCHECK_NE(Runtime::Current()->GetJniIdType(), JniIdType::kPointer) << "JNI Ids are pointers!"; in EnsureStaticFieldIds() 1752 DCHECK_NE(Runtime::Current()->GetJniIdType(), JniIdType::kPointer) << "JNI Ids are pointers!"; in EnsureInstanceFieldIds()
|