/art/test/566-polymorphic-inlining/ |
D | polymorphic_inline.cc | 28 static void do_checks(jclass cls, const char* method_name) { in do_checks() argument 30 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in do_checks() 55 static void allocate_profiling_info(jclass cls, const char* method_name) { in allocate_profiling_info() argument 57 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in allocate_profiling_info() 62 extern "C" JNIEXPORT void JNICALL Java_Main_ensureProfilingInfo566(JNIEnv*, jclass cls) { in Java_Main_ensureProfilingInfo566() argument 68 allocate_profiling_info(cls, "testInvokeVirtual"); in Java_Main_ensureProfilingInfo566() 69 allocate_profiling_info(cls, "testInvokeInterface"); in Java_Main_ensureProfilingInfo566() 70 allocate_profiling_info(cls, "$noinline$testInlineToSameTarget"); in Java_Main_ensureProfilingInfo566() 73 extern "C" JNIEXPORT void JNICALL Java_Main_ensureJittedAndPolymorphicInline566(JNIEnv*, jclass cls… in Java_Main_ensureJittedAndPolymorphicInline566() argument 84 do_checks(cls, "testInvokeVirtual"); in Java_Main_ensureJittedAndPolymorphicInline566() [all …]
|
/art/test/117-nopatchoat/ |
D | nopatchoat.cc | 31 static const OatFile::OatDexFile* getOatDexFile(jclass cls) { in getOatDexFile() argument 33 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in getOatDexFile() 44 static bool hasExecutableOat(jclass cls) { in hasExecutableOat() argument 45 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in hasExecutableOat() 50 static bool needsRelocation(jclass cls) { in needsRelocation() argument 51 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls); in needsRelocation() 67 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasExecutableOat(JNIEnv*, jclass cls) { in Java_Main_hasExecutableOat() argument 68 return NoPatchoatTest::hasExecutableOat(cls); in Java_Main_hasExecutableOat() 71 extern "C" JNIEXPORT jboolean JNICALL Java_Main_needsRelocation(JNIEnv*, jclass cls) { in Java_Main_needsRelocation() argument 72 return NoPatchoatTest::needsRelocation(cls); in Java_Main_needsRelocation()
|
/art/runtime/ |
D | fault_handler.cc | 63 mirror::CompressedReference<mirror::Class> cls; in SafeGetDeclaringClass() local 64 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass() 69 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetDeclaringClass() 72 if (rc != sizeof(cls)) { in SafeGetDeclaringClass() 76 return cls.AsMirrorPtr(); in SafeGetDeclaringClass() 82 mirror::HeapReference<mirror::Class> cls = in SafeGetClass() local 84 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass() 89 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetClass() 92 if (rc != sizeof(cls)) { in SafeGetClass() 96 return cls.AsMirrorPtr(); in SafeGetClass() [all …]
|
/art/test/common/ |
D | runtime_state.cc | 54 extern "C" JNIEXPORT jboolean JNICALL Java_Main_hasOatFile(JNIEnv* env, jclass cls) { in Java_Main_hasOatFile() argument 57 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_hasOatFile() 66 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_runtimeIsSoftFail() 73 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_isDex2OatEnabled() 80 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_hasImage() 87 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_isImageDex2OatEnabled() 94 extern "C" JNIEXPORT jboolean JNICALL Java_Main_compiledWithOptimizing(JNIEnv* env, jclass cls) { in Java_Main_compiledWithOptimizing() argument 97 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_compiledWithOptimizing() 143 jclass cls, in Java_Main_isAotCompiled() argument 149 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in Java_Main_isAotCompiled() [all …]
|
D | stack_inspect.cc | 38 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_disableStackFrameAsserts() 157 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isManaged(JNIEnv* env, jclass cls) { in Java_Main_isManaged() argument 158 return IsManaged(env, cls, 1); in Java_Main_isManaged() 163 extern "C" JNIEXPORT void JNICALL Java_Main_assertIsManaged(JNIEnv* env, jclass cls) { in Java_Main_assertIsManaged() argument 165 CHECK(Java_Main_isManaged(env, cls)); in Java_Main_assertIsManaged() 185 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isCallerManaged(JNIEnv* env, jclass cls) { in Java_Main_isCallerManaged() argument 186 return IsManaged(env, cls, 2); in Java_Main_isCallerManaged() 191 extern "C" JNIEXPORT void JNICALL Java_Main_assertCallerIsManaged(JNIEnv* env, jclass cls) { in Java_Main_assertCallerIsManaged() argument 193 CHECK(Java_Main_isCallerManaged(env, cls)); in Java_Main_assertCallerIsManaged()
|
/art/test/612-jit-dex-cache/src-art/ |
D | Main.java | 52 Class<?> cls = classFromDifferentLoader(); in main() local 53 Method m = cls.getDeclaredMethod("letMeInlineYou", A.class); in main() 59 m = cls.getDeclaredMethod("areYouB", null); in main() 61 if (loader != cls.getClassLoader()) { in main() 66 public static native void ensureJitCompiled(Class<?> cls, String method_name); in ensureJitCompiled() argument
|
/art/test/613-inlining-dex-cache/src-art/ |
D | Main.java | 48 Class cls = loader.loadClass("LoadedByAppClassLoader"); in main() local 49 Method m = cls.getDeclaredMethod("letMeInlineYou"); in main() 54 ensureJitCompiled(cls, "letMeInlineYou"); in main() 77 public static native void ensureJitCompiled(Class cls, String method_name); in ensureJitCompiled() argument
|
/art/test/907-get-loaded-classes/ |
D | get_loaded_classes.cc | 36 static jstring GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() argument 37 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName() 39 return reinterpret_cast<jstring>(jni_env->CallObjectMethod(cls, mid)); in GetClassName()
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 33 jclass cls) { in Java_Main_cloneResolvedMethods() argument 35 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_cloneResolvedMethods() 68 JNIEnv*, jclass, jclass cls, jobject old_cache) { in Java_Main_restoreResolvedMethods() argument 70 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_restoreResolvedMethods() 73 soa.Decode<mirror::Class>(cls)->GetDexCache()->GetResolvedMethods(); in Java_Main_restoreResolvedMethods()
|
/art/test/647-jni-get-field-id/ |
D | get_field_id.cc | 25 jclass cls, in Java_Main_getFieldId() argument 36 jfieldID field_id = env->GetFieldID(cls, name_chars.c_str(), signature_chars.c_str()); in Java_Main_getFieldId()
|
/art/test/647-jni-get-field-id/src/ |
D | Main.java | 65 public static void testGetFieldId(Class<?> cls, String name, String signature) { in testGetFieldId() argument 66 System.out.println("getFieldId(" + cls + ", \"" + name + "\", \"" + signature + "\")"); in testGetFieldId() 68 boolean result = getFieldId(cls, name, signature); in testGetFieldId() 83 public static native boolean getFieldId(Class<?> cls, String name, String signature); in getFieldId() argument
|
/art/test/626-const-class-linking/ |
D | clear_dex_cache_types.cc | 26 extern "C" JNIEXPORT void JNICALL Java_Main_nativeClearResolvedTypes(JNIEnv*, jclass, jclass cls) { in Java_Main_nativeClearResolvedTypes() argument 28 mirror::DexCache* dex_cache = soa.Decode<mirror::Class>(cls)->GetDexCache(); in Java_Main_nativeClearResolvedTypes() 35 extern "C" JNIEXPORT void JNICALL Java_Main_nativeSkipVerification(JNIEnv*, jclass, jclass cls) { in Java_Main_nativeSkipVerification() argument 38 Handle<mirror::Class> klass = hs.NewHandle(soa.Decode<mirror::Class>(cls)); in Java_Main_nativeSkipVerification()
|
/art/test/616-cha-interface-default/src/ |
D | Main.java | 49 static int getValue(Class<?> cls) { in getValue() argument 50 if (cls == Main1.class || cls == Main2.class) { in getValue()
|
/art/test/642-fp-callees/ |
D | fp_callees.cc | 27 extern "C" JNIEXPORT void JNICALL Java_Main_holdFpTemporaries(JNIEnv* env, jclass cls) { in Java_Main_holdFpTemporaries() argument 28 jmethodID mid = env->GetStaticMethodID(cls, "caller", "(IIJ)V"); in Java_Main_holdFpTemporaries() 43 env->CallStaticVoidMethod(cls, mid, 1, 1, 1L); in Java_Main_holdFpTemporaries()
|
/art/test/597-deopt-new-string/ |
D | deopt.cc | 30 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_deoptimizeAll() 49 jclass cls ATTRIBUTE_UNUSED) { in Java_Main_undeoptimizeAll()
|
/art/tools/ahat/src/heapdump/ |
D | AhatClassInstance.java | 108 AhatClassObj cls = getClassObj(); in isInstanceOfClass() local 109 while (cls != null) { in isInstanceOfClass() 110 if (className.equals(cls.getName())) { in isInstanceOfClass() 113 cls = cls.getSuperClassObj(); in isInstanceOfClass()
|
D | Perflib.java | 83 private static Object getField(ClassInstance cls, String name) { in getField() argument 84 for (ClassInstance.FieldValue field : cls.getValues()) { in getField()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 41 mirror::Class* cls = mUnit->GetClassLinker()->ResolveType( in ResolveClass() local 43 DCHECK_EQ(cls == nullptr, soa.Self()->IsExceptionPending()); in ResolveClass() 44 if (UNLIKELY(cls == nullptr)) { in ResolveClass() 48 return cls; in ResolveClass()
|
/art/runtime/jit/ |
D | profiling_info.cc | 90 void ProfilingInfo::AddInvokeInfo(uint32_t dex_pc, mirror::Class* cls) { in AddInvokeInfo() argument 95 if (marked == cls) { in AddInvokeInfo() 104 GcRoot<mirror::Class> desired_root(cls); in AddInvokeInfo()
|
/art/test/904-object-allocation/ |
D | tracking.cc | 37 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() argument 38 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName() 41 jni_env, reinterpret_cast<jstring>(jni_env->CallObjectMethod(cls, mid))); in GetClassName()
|
/art/test/629-vdex-speed/src/ |
D | Main.java | 25 private native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 964 HInstruction* cls = load_class; in BuildNewInstance() local 968 cls = new (arena_) HClinitCheck(load_class, dex_pc); in BuildNewInstance() 969 AppendInstruction(cls); in BuildNewInstance() 984 cls, in BuildNewInstance() 1049 bool HInstructionBuilder::IsInitialized(Handle<mirror::Class> cls) const { in IsInitialized() 1050 if (cls == nullptr) { in IsInitialized() 1056 if (cls->IsInitialized() && in IsInitialized() 1057 compiler_driver_->CanAssumeClassIsLoaded(cls.Get())) { in IsInitialized() 1061 if (IsSubClass(GetOutermostCompilingClass(), cls.Get())) { in IsInitialized() 1067 if (IsSubClass(GetCompilingClass(), cls.Get())) { in IsInitialized() [all …]
|
/art/test/626-set-resolved-string/src/ |
D | Main.java | 47 public static native void ensureJitCompiled(Class cls, String method_name); in ensureJitCompiled() argument
|
/art/test/655-jit-clinit/src/ |
D | Main.java | 26 public native static boolean isJitCompiled(Class<?> cls, String methodName); in isJitCompiled() argument
|
/art/test/652-deopt-intrinsic/src/ |
D | Main.java | 47 public static native void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
|