Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 70) sorted by relevance

123

/art/test/2230-profile-save-hotness/src-art/
DMain.java37 String methodName = "$noinline$hotnessCount"; in main() local
38 int initialValue = getHotnessCounter(Main.class, methodName); in main()
53 Method appMethod = Main.class.getDeclaredMethod(methodName); in main()
56 getHotnessCounter(Main.class, methodName)); in main()
59 if (getHotnessCounter(Main.class, methodName) != 0) { in main()
61 getHotnessCounter(Main.class, methodName)); in main()
64 if (getHotnessCounter(Main.class, methodName) != initialValue) { in main()
66 "Expected " + initialValue +", got " + + getHotnessCounter(Main.class, methodName)); in main()
79 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
80 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
/art/test/952-invoke-custom/src/
DTestVariableArityLinkerMethod.java57 String methodName, in bsmWithStringArray() argument
61 printBsmArgs("bsmWithStringArray", lookup, methodName, methodType, arityArgs); in bsmWithStringArray()
62 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithStringArray()
128 String methodName, in bsmWithIntAndStringArray() argument
136 methodName, in bsmWithIntAndStringArray()
140 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithIntAndStringArray()
214 String methodName, in bsmWithLongAndIntArray() argument
219 printBsmArgs("bsmWithLongAndIntArray", lookup, methodName, methodType, extraArg, arityArgs); in bsmWithLongAndIntArray()
220 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmWithLongAndIntArray()
252 String methodName, in bsmWithFloatAndLongArray() argument
[all …]
DTestBadBootstrapArguments.java30 String methodName, in bsm() argument
38 System.out.print(methodName); in bsm()
46 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsm()
220 String methodName, in bsmZBCS() argument
265 String methodName, in bsmDJ() argument
275 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDJ()
309 String methodName, in bsmDoubleLong() argument
319 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDoubleLong()
/art/test/1339-dead-reference-safe/src/
DMain.java24 public static boolean ensureCompiled(Class cls, String methodName) throws NoSuchMethodException { in ensureCompiled() argument
25 Method m = cls.getDeclaredMethod(methodName); in ensureCompiled()
26 if (isAotCompiled(cls, methodName)) { in ensureCompiled()
30 if (hasJitCompiledEntrypoint(cls, methodName)) { in ensureCompiled()
63 public static native boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
64 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
/art/test/726-array-store/src/
DMain.java37 static void check(ArrayStoreException ase, int mainLine, int methodLine, String methodName) { in check() argument
39 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check()
44 String declaringClass, String methodName, in checkElement() argument
47 assertEquals(methodName, element.getMethodName()); in checkElement()
/art/test/667-jit-jni-stub/src/
DMain.java154 public native static void callThrough(Class<?> cls, String methodName); in callThrough() argument
155 public native static void deoptimizeNativeMethod(Class<?> cls, String methodName); in deoptimizeNativeMethod() argument
160 public native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
161 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
162 public native static boolean hasJitCompiledCode(Class<?> cls, String methodName); in hasJitCompiledCode() argument
/art/test/671-npe-field-opts/src/
DMain.java59 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) { in check() argument
61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check()
66 String declaringClass, String methodName, in checkElement() argument
69 assertEquals(methodName, element.getMethodName()); in checkElement()
/art/test/674-hiddenapi/src-ex/
DJLI.java78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual() argument
80 return lookup.findVirtual(klass, methodName, methodType) != null; in canDiscoverWithLookupFindVirtual()
89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic() argument
91 return lookup.findStatic(klass, methodName, methodType) != null; in canDiscoverWithLookupFindStatic()
/art/test/570-checker-osr/src/
DMain.java298 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument
299 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument
300 public static void ensureHasProfilingInfo(String methodName) { in ensureHasProfilingInfo() argument
301 ensureJitBaselineCompiled(Main.class, methodName); in ensureHasProfilingInfo()
303 public static native void ensureHasOsrCode(String methodName); in ensureHasOsrCode() argument
304 public static native void ensureJitBaselineCompiled(Class<?> cls, String methodName); in ensureJitBaselineCompiled() argument
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DNewMethodCaller.java49 public String methodName; field in NewMethodCaller.AssociatedMutation
67 methodName, in getString()
79 methodName = elements[5]; in parseString()
130 mutation.methodName = "gc"; in generateMutation()
169 mutation.methodName, mutation.signature); in applyMutation()
180 mutation.className, mutation.methodName, mutation.signature, insertionPoint)); in applyMutation()
/art/test/566-polymorphic-inlining/src/
DMain.java132 public static void ensureJittedAndPolymorphicInline(String methodName) { in ensureJittedAndPolymorphicInline() argument
133 if (!ensureJittedAndPolymorphicInline566(methodName)) { in ensureJittedAndPolymorphicInline()
134 throw new Error("Didn't find an inlined method in " + methodName); in ensureJittedAndPolymorphicInline()
138 public static native boolean ensureJittedAndPolymorphicInline566(String methodName); in ensureJittedAndPolymorphicInline566() argument
139 public static native void ensureJitBaselineCompiled(Class<?> cls, String methodName); in ensureJitBaselineCompiled() argument
/art/test/837-deopt/src/
DMain.java82 public static native void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
83 public static native void ensureJitBaselineCompiled(Class<?> cls, String methodName); in ensureJitBaselineCompiled() argument
84 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument
/art/test/2034-spaces-in-SimpleName/src_gen/
DSpacesInSimpleName.java23 String methodName = "method_with_spaces_" in main() local
55 mvMain.visitMethodInsn(Opcodes.INVOKESTATIC, "Main", methodName, "()V", false); in main()
60 methodName, "()V", null, null); in main()
/art/test/850-checker-branches/src/
DMain.java31 public static native void ensureJitBaselineCompiled(Class<?> cls, String methodName); in ensureJitBaselineCompiled() argument
32 public static native void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
/art/test/680-checker-deopt-dex-pc-0/src/
DMain.java55 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument
56 public native static void ensureJitCompiled(Class<?> cls, String methodName); in ensureJitCompiled() argument
/art/test/724-invoke-super-npe/src/
DMain.java27 public static void test(String methodName, Class<?> cls) throws Exception { in test() argument
28 Method m = cls.getDeclaredMethod(methodName, cls); in test()
/art/test/674-hotness-compiled/src/
DMain.java54 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
55 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
/art/test/048-reflect-v8/src/
DAnnotationTest.java195 String methodName, Class<?> annotationUseClass) { in printMethodAnnotationsByType() argument
198 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodAnnotationsByType()
235 String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotation() argument
238 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotation()
276 Class<A> annotationClass, String methodName, Class<?> annotationUseClass) { in printMethodDeclaredAnnotationByType() argument
279 m = annotationUseClass.getDeclaredMethod(methodName); in printMethodDeclaredAnnotationByType()
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc30 void Java_Main_callThrough(JNIEnv* env, jclass, jclass klass, jstring methodName) { in Java_Main_callThrough() argument
32 std::string name = soa.Decode<mirror::String>(methodName)->ToModifiedUtf8(); in Java_Main_callThrough()
/art/test/910-methods/src/art/
DTest910.java44 private static void testMethod(String className, String methodName, Class<?>... types) in testMethod() argument
47 testMethod(base, methodName, types); in testMethod()
50 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() argument
52 Method m = base.getDeclaredMethod(methodName, types); in testMethod()
/art/test/839-clinit-throw/src/
DMain.java49 String declaringClass, String methodName, in checkElement() argument
52 assertEquals(methodName, element.getMethodName()); in checkElement()
/art/test/570-checker-osr-locals/src/
DMain.java121 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument
122 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument
/art/test/173-missing-field-type/src-art/
DMain.java44 public static void testLoadObject(Class<?> c, String methodName) throws Throwable { in testLoadObject() argument
45 c.getMethod(methodName).invoke(null); in testLoadObject()
/art/test/716-jli-jit-samples/src-art/
DMain.java30 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
93 for (String methodName : methodNames) { in testMethodHandleCounters()
94 Method invokeMethod = MethodHandle.class.getMethod(methodName, Object[].class); in testMethodHandleCounters()
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java86 private int findMethodIdInsertionPoint(String className, String methodName, String signature) { in findMethodIdInsertionPoint() argument
88 int nameIdx = findString(methodName); in findMethodIdInsertionPoint()
169 private int createMethodId(String className, String methodName, String signature) { in createMethodId() argument
185 int methodNameStringIdx = findOrCreateString(methodName); in createMethodId()
194 int newMethodIdIdx = findMethodIdInsertionPoint(className, methodName, signature); in createMethodId()
208 className, methodName, signature, newMethodIdIdx)); in createMethodId()
218 private int findMethodId(String className, String methodName, String signature) { in findMethodId() argument
223 int nameIdx = findString(methodName); in findMethodId()
248 public int findOrCreateMethodId(String className, String methodName, String shorty) { in findOrCreateMethodId() argument
249 int methodIdIdx = findMethodId(className, methodName, shorty); in findOrCreateMethodId()
[all …]

123