/art/test/1945-proxy-method-arguments/src/ |
H A D | Main.java | 32 public Object invoke(Object proxy, Method method, Object[] args) { argument 33 // Force garbage collection to try to make `proxy` move in memory 39 testMethod0(proxy, args); 41 testMethod1(proxy, args); 43 testMethod10(proxy, args); 45 testMethod10Even(proxy, args); 50 private void testMethod0(Object proxy, Object[] args) { argument 51 // Get argument 0 (method target) from the proxy method frame ($Proxy0.method0 activation). 54 Main.assertEquals(proxy, arg0); 57 private void testMethod1(Object proxy, Objec argument 68 testMethod10(Object proxy, Object[] args) argument 82 testMethod10Even(Object proxy, Object[] args) argument [all...] |
/art/test/044-proxy/src/ |
H A D | NarrowingTest.java | 32 I2 proxy = (I2) Proxy.newProxyInstance(NarrowingTest.class.getClassLoader(), 37 public Object invoke(Object proxy, Method method, 48 Main.registerProxyClassName(proxy.getClass().getCanonicalName()); 50 Method[] methods = proxy.getClass().getDeclaredMethods(); 55 System.out.println("Invoking foo using I2 type: " + proxy.foo()); 57 I1 proxyAsParent = proxy; 61 proxy.foo();
|
H A D | BasicTest.java | 33 Object proxy = createProxy(proxyMe); 35 if (!Proxy.isProxyClass(proxy.getClass())) 36 System.out.println("not a proxy class?"); 37 if (Proxy.getInvocationHandler(proxy) == null) 41 Shapes shapes = (Shapes) proxy; 45 Quads quads = (Quads) proxy; 48 Colors colors = (Colors) proxy; 53 Trace trace = (Trace) proxy; 56 // Test the proxy spec: These Object functions are supposed to be given to the handler. 79 Method[] methods = proxy 235 invoke(Object proxy, Method method, Object[] args) argument [all...] |
H A D | FloatSelect.java | 29 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
|
H A D | Clash.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 65 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | Clash2.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 55 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | Clash3.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 70 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | ConstructorProxy.java | 43 // not using the non-proxy ArtMethod 49 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
|
H A D | NativeProxy.java | 28 * Test invoking a proxy method from native code. 53 public Object invoke(final Object proxy, argument
|
H A D | WrappedThrow.java | 31 Object proxy; 34 proxy = Proxy.newProxyInstance(WrappedThrow.class.getClassLoader(), 42 InterfaceW1 if1 = (InterfaceW1) proxy; 43 InterfaceW2 if2 = (InterfaceW2) proxy; 176 * Invocation handler for our proxy class. 186 * This is called when anything gets invoked in the proxy object. 188 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | Clash4.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 72 public Object invoke(Object proxy, Method method, Object[] args) argument
|
H A D | OOMEOnDispatch.java | 61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
|
H A D | ReturnsAndArgPassing.java | 56 public Object invoke(Object proxy, Method method, Object[] args) { argument 57 check(proxy instanceof Proxy); 60 // Check for moving GC bugs in proxy stubs.
|
/art/test/616-cha-regression-proxy-method/src/ |
H A D | Main.java | 61 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument 100 // Also create a proxy method such that a proxy method's frame is visited 107 // Create another thread that calls a proxy method. 110 Runnable proxy = (Runnable)Proxy.newProxyInstance( 114 proxy.run();
|
/art/test/676-proxy-jit-at-first-use/src/ |
H A D | Main.java | 35 public Object invoke(Object proxy, Method method, Object[] args) { argument
|
/art/test/616-cha-proxy-method-inline/src/ |
H A D | Main.java | 35 public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { argument
|
/art/test/165-lock-owner-proxy/src/ |
H A D | Main.java | 58 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument 108 // proxy invocation.
|
/art/test/004-JniTest/src/ |
H A D | Main.java | 250 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument 257 SimpleInterface proxy = 263 if (testGetMethodID(proxy.getClass()) == 0) {
|
/art/tools/wrapagentproperties/ |
H A D | wrapagentproperties.cc | 207 // TODO It would be way better to actually set up a full proxy like we did for JavaVM but the 236 LOG(WARNING) << "Could not create jvmtiEnv to proxy!"; 317 ProxyJavaVM* proxy = new ProxyJavaVM(vm, agent_lib, map); local 320 return CallNextAgent(start, proxy, agent_options, reserved);
|
/art/test/098-ddmc/src/ |
H A D | Main.java | 97 public Object invoke(Object proxy, Method method, Object[] args) {
|
/art/runtime/arch/arm/ |
H A D | quick_entrypoints_arm.S | 1562 * Called by managed code that is attempting to call a method on a proxy class. On entry 1563 * r0 holds the proxy method and r1 holds the receiver; r2 and r3 may contain arguments. The 1564 * frame size of the invoked proxy method agrees with a ref and args callee save frame. 1571 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
|
/art/runtime/arch/mips/ |
H A D | quick_entrypoints_mips.S | 2089 * Called by managed code that is attempting to call a method on a proxy class. On entry 2090 * a0 holds the proxy method; a1, a2 and a3 may contain arguments. 2097 jalr $t9 # (Method* proxy method, receiver, Thread*, SP)
|
/art/runtime/arch/mips64/ |
H A D | quick_entrypoints_mips64.S | 1989 * Called by managed code that is attempting to call a method on a proxy class. On entry 1990 * r0 holds the proxy method; r1, r2 and r3 may contain arguments. 1996 jal artQuickProxyInvokeHandler # (Method* proxy method, receiver, Thread*, SP)
|