Searched refs:cookie (Results 1 - 6 of 6) sorted by relevance
/art/runtime/ |
H A D | indirect_reference_table_test.cc | 75 const IRTSegmentState cookie = kIRTFirstSegment; local 80 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal"; 83 iref0 = irt.Add(cookie, obj0.Get()); 86 IndirectRef iref1 = irt.Add(cookie, obj1.Get()); 89 IndirectRef iref2 = irt.Add(cookie, obj2.Get()); 97 EXPECT_TRUE(irt.Remove(cookie, iref0)); 99 EXPECT_TRUE(irt.Remove(cookie, iref1)); 101 EXPECT_TRUE(irt.Remove(cookie, iref2)); 111 iref0 = irt.Add(cookie, obj0.Get()); 113 iref1 = irt.Add(cookie, obj 504 const IRTSegmentState cookie = kIRTFirstSegment; local [all...] |
H A D | obj_ptr.h | 33 // Since the cookie is thread based, it is not safe to share an ObjPtr between threads. 152 // Trim off high bits of thread local cookie. 153 ALWAYS_INLINE static uintptr_t TrimCookie(uintptr_t cookie) { argument 154 return cookie & kCookieMask; 162 // The encoded reference and cookie.
|
/art/runtime/openjdkjvmti/ |
H A D | ti_class_loader.cc | 77 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( 79 if (cookie.IsNull()) { 82 art::ScopedAssertNoThreadSuspension nts("Replacing cookie fields in j.l.DexFile object"); 83 UpdateJavaDexFile(java_dex_file_obj.Get(), cookie.Get()); 118 art::Handle<art::mirror::LongArray> cookie, 121 CHECK(cookie != nullptr); 122 CHECK_GE(cookie->GetLength(), 1); 124 hs.NewHandle(art::mirror::LongArray::Alloc(self, cookie->GetLength() + 1))); 130 new_cookie->SetWithoutChecks<false>(0, cookie->GetWithoutChecks(0)); 134 new_cookie->Memcpy(2, cookie 116 AllocateNewDexFileCookie( art::Thread* self, art::Handle<art::mirror::LongArray> cookie, const art::DexFile* dex_file) argument [all...] |
H A D | ti_redefine.cc | 868 void SetNewDexFileCookie(jint klass_index, art::mirror::LongArray* cookie) 870 SetSlot(klass_index, kSlotNewDexFileCookie, cookie); 1025 void SetNewDexFileCookie(art::mirror::LongArray* cookie) 1027 holder_.SetNewDexFileCookie(idx_, cookie); 1095 // See if we already have a cookie that a previous redefinition got from the same classloader. 1098 // Since every instance of this classloader should have the same cookie associated with it we 1106 // No older cookie. Get it directly from the dex_file_obj 1111 // Use the old cookie to generate the new one with the new DexFile* added in. 1121 // Save the cookie. 1124 // same cookie [all...] |
/art/runtime/native/ |
H A D | dalvik_system_DexFile.cc | 308 static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { argument 311 if (!ConvertJavaArrayToDexFiles(env, cookie, dex_files, oat_file)) { 319 ObjPtr<mirror::Object> dex_files_object = soa.Decode<mirror::Object>(cookie); 354 jobject cookie, 358 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out*/ dex_files, /*out*/ oat_file)) { 416 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jobject cookie) { argument 419 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { 650 static jboolean DexFile_isBackedByOatFile(JNIEnv* env, jclass, jobject cookie) { argument 653 if (!ConvertJavaArrayToDexFiles(env, cookie, /*out */ dex_files, /* out */ oat_file)) { 350 DexFile_defineClassNative(JNIEnv* env, jclass, jstring javaName, jobject javaLoader, jobject cookie, jobject dexFile) argument
|
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 1745 // Adds space for the cookie. Note: may leave stack unaligned. 1747 // Reference cookie and padding 1751 // Re-layout the callee-save frame (insert a handle-scope). Then add space for the cookie. 1762 // Add space for cookie. 2034 uint32_t cookie, 2040 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self)); 2042 return reinterpret_cast<uint64_t>(JniMethodEndWithReference(l, cookie, self)); 2047 uint32_t cookie, 2051 JniMethodEndSynchronized(cookie, lock, self); 2055 JniMethodFastEnd(cookie, sel 2033 artQuickGenericJniEndJNIRef(Thread* self, uint32_t cookie, bool fast_native ATTRIBUTE_UNUSED, jobject l, jobject lock) argument 2046 artQuickGenericJniEndJNINonRef(Thread* self, uint32_t cookie, bool fast_native, jobject lock) argument 2131 uint32_t cookie; local 2249 uint32_t cookie = *(sp32 - 1); local [all...] |
Completed in 127 milliseconds