/art/test/2230-profile-save-hotness/src-art/ |
D | Main.java | 46 String methodName = "$noinline$hotnessCount"; in main() local 47 Method appMethod = Main.class.getDeclaredMethod(methodName); in main() 50 getHotnessCounter(Main.class, methodName)); in main() 52 if (getHotnessCounter(Main.class, methodName) == 0) { in main() 54 getHotnessCounter(Main.class, methodName)); in main() 57 if (getHotnessCounter(Main.class, methodName) != 0) { in main() 58 System.out.println("Hotness should be zero " + getHotnessCounter(Main.class, methodName)); in main() 71 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument 72 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
|
/art/test/1339-dead-reference-safe/src/ |
D | Main.java | 24 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/952-invoke-custom/src/ |
D | TestVariableArityLinkerMethod.java | 57 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 …]
|
D | TestBadBootstrapArguments.java | 30 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()
|
D | TestDynamicBootstrapArguments.java | 38 String methodName = name + otherNameComponent + nameSuffix; in bsm() local 39 MethodHandle mh = lookup.findStatic(definingClass, methodName, methodType); in bsm()
|
/art/test/726-array-store/src/ |
D | Main.java | 37 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/tools/dmtracedump/ |
D | tracedump.cc | 166 const char* methodName; member 297 const char* methodName, const char* signature, const char* fileName, in initMethodEntry() argument 301 method->methodName = methodName; in initMethodEntry() 336 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareElapsedExclusive() 343 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedExclusive() 366 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareElapsedInclusive() 373 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedInclusive() 398 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareTimedMethod() 405 result = strcmp(methodA->methodName, methodB->methodName); in compareTimedMethod() 466 if (methodA->methodName == nullptr || methodB->methodName == nullptr) { in compareMethodNames() [all …]
|
/art/test/671-npe-field-opts/src/ |
D | Main.java | 59 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/ |
D | JLI.java | 78 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/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | NewMethodCaller.java | 49 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/2034-spaces-in-SimpleName/src_gen/ |
D | SpacesInSimpleName.java | 23 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/tools/checker/file_format/c1visualizer/ |
D | parser.py | 58 methodName = line.split("\"")[1].strip() 59 if not methodName: 62 m = re.search("isa_features:([\w,-]+)", methodName) 79 state.lastMethodName = methodName
|
/art/test/667-jit-jni-stub/src/ |
D | Main.java | 174 public native static void callThrough(Class<?> cls, String methodName); in callThrough() argument 179 public native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument 180 public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument 181 public native static boolean hasJitCompiledCode(Class<?> cls, String methodName); in hasJitCompiledCode() argument
|
/art/test/680-checker-deopt-dex-pc-0/src/ |
D | Main.java | 55 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/ |
D | Main.java | 27 public static void test(String methodName, Class<?> cls) throws Exception { in test() argument 28 Method m = cls.getDeclaredMethod(methodName, cls); in test()
|
/art/test/173-missing-field-type/src-art/ |
D | Main.java | 32 public static void testStoreObject(Class<?> c, String methodName) throws Throwable{ in testStoreObject() argument 35 c.getMethod(methodName).invoke(null); in testStoreObject()
|
/art/test/674-hotness-compiled/src/ |
D | Main.java | 52 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument 53 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
|
/art/test/048-reflect-v8/src/ |
D | AnnotationTest.java | 195 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/910-methods/src/art/ |
D | Test910.java | 41 private static void testMethod(String className, String methodName, Class<?>... types) in testMethod() argument 44 testMethod(base, methodName, types); in testMethod() 47 private static void testMethod(Class<?> base, String methodName, Class<?>... types) in testMethod() argument 49 Method m = base.getDeclaredMethod(methodName, types); in testMethod()
|
/art/test/570-checker-osr/src/ |
D | Main.java | 298 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument 299 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument 300 public static native void ensureHasProfilingInfo(String methodName); in ensureHasProfilingInfo() argument 301 public static native void ensureHasOsrCode(String methodName); in ensureHasOsrCode() argument
|
/art/test/570-checker-osr-locals/src/ |
D | Main.java | 121 public static native boolean isInOsrCode(String methodName); in isInOsrCode() argument 122 public static native boolean isInInterpreter(String methodName); in isInInterpreter() argument
|
/art/test/667-jit-jni-stub/ |
D | jit_jni_stub_test.cc | 41 void Java_Main_callThrough(JNIEnv* env, jclass, jclass klass, jstring methodName) { in Java_Main_callThrough() argument 43 std::string name = soa.Decode<mirror::String>(methodName)->ToModifiedUtf8(); in Java_Main_callThrough()
|
/art/test/716-jli-jit-samples/src-art/ |
D | Main.java | 29 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument 92 for (String methodName : methodNames) { in testMethodHandleCounters() 93 Method invokeMethod = MethodHandle.class.getMethod(methodName, Object[].class); in testMethodHandleCounters()
|
/art/test/629-vdex-speed/src/ |
D | Main.java | 25 private native static boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
|
/art/test/708-jit-cache-churn/src/ |
D | Main.java | 30 static native void ensureJitCompiled(Class<?> klass, String methodName); in ensureJitCompiled() argument
|