/aosp12/art/test/1970-force-early-return-long/src/art/ |
H A D | Test1970.java | 72 setup.run(thr); in makeSuspend() 80 clean.run(thr); in makeSuspend() 139 (thr, e) -> { 197 Thread thr = 203 thr.start(); 220 su.cleanup(thr); 234 thr.join(); 681 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 712 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), 875 (thr) -> setupSuspendBreakpointFor(intFunction, intLoc, thr), [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
H A D | NonStandardExit.java | 20 public static native void popFrame(Thread thr); in popFrame() argument 21 public static native void forceEarlyReturnVoid(Thread thr); in forceEarlyReturnVoid() argument 24 public static native void forceEarlyReturnInt(Thread thr, int f); in forceEarlyReturnInt() argument 25 public static native void forceEarlyReturnLong(Thread thr, long f); in forceEarlyReturnLong() argument 28 public static void forceEarlyReturn(Thread thr, Object o) { in forceEarlyReturn() argument 32 forceEarlyReturnInt(thr, n.intValue()); in forceEarlyReturn() 34 forceEarlyReturnLong(thr, n.longValue()); in forceEarlyReturn() 36 forceEarlyReturnFloat(thr, n.floatValue()); in forceEarlyReturn() 38 forceEarlyReturnDouble(thr, n.doubleValue()); in forceEarlyReturn() 43 forceEarlyReturnInt(thr, ((Character)o).charValue()); in forceEarlyReturn() [all …]
|
/aosp12/art/test/1953-pop-frame/src/art/ |
H A D | Test1953.java | 61 public void setup(Thread thr) { setup.run(thr); } in makeSuspend() 63 public void cleanup(Thread thr) { clean.run(thr); } in makeSuspend() argument 97 thr.start(); 106 su.setup(thr); 116 su.cleanup(thr); 120 popFrame(thr); 130 thr.join(); 727 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 758 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), 918 (thr) -> { [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
/aosp12/art/test/1954-pop-frame-jit/src/art/ |
H A D | Test1953.java | 61 public void setup(Thread thr) { setup.run(thr); } in makeSuspend() 63 public void cleanup(Thread thr) { clean.run(thr); } in makeSuspend() argument 97 thr.start(); 106 su.setup(thr); 116 su.cleanup(thr); 120 popFrame(thr); 130 thr.join(); 727 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 758 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), 918 (thr) -> { [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
/aosp12/art/test/1955-pop-frame-jit-called/src/art/ |
H A D | Test1953.java | 61 public void setup(Thread thr) { setup.run(thr); } in makeSuspend() 63 public void cleanup(Thread thr) { clean.run(thr); } in makeSuspend() argument 97 thr.start(); 106 su.setup(thr); 116 su.cleanup(thr); 120 popFrame(thr); 130 thr.join(); 727 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 758 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), 918 (thr) -> { [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
/aosp12/art/test/1956-pop-frame-jit-calling/src/art/ |
H A D | Test1953.java | 61 public void setup(Thread thr) { setup.run(thr); } in makeSuspend() 63 public void cleanup(Thread thr) { clean.run(thr); } in makeSuspend() argument 97 thr.start(); 106 su.setup(thr); 116 su.cleanup(thr); 120 popFrame(thr); 130 thr.join(); 727 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 758 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), 918 (thr) -> { [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
/aosp12/art/test/1968-force-early-return/src/art/ |
H A D | Test1968.java | 44 target = thr; in OveriddenReturnValue() 99 setup.run(thr); in makeSuspend() 107 clean.run(thr); in makeSuspend() 166 (thr, e) -> { 224 Thread thr = 230 thr.start(); 250 su.cleanup(thr); 264 thr.join(); 703 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 737 (thr) -> setupSuspendSingleStepAt(calledFunction, loc, thr), [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
H A D | NonStandardExit.java | 20 public static native void popFrame(Thread thr); in popFrame() argument 21 public static native void forceEarlyReturnVoid(Thread thr); in forceEarlyReturnVoid() argument 24 public static native void forceEarlyReturnInt(Thread thr, int f); in forceEarlyReturnInt() argument 25 public static native void forceEarlyReturnLong(Thread thr, long f); in forceEarlyReturnLong() argument 28 public static void forceEarlyReturn(Thread thr, Object o) { in forceEarlyReturn() argument 32 forceEarlyReturnInt(thr, n.intValue()); in forceEarlyReturn() 34 forceEarlyReturnLong(thr, n.longValue()); in forceEarlyReturn() 36 forceEarlyReturnFloat(thr, n.floatValue()); in forceEarlyReturn() 38 forceEarlyReturnDouble(thr, n.doubleValue()); in forceEarlyReturn() 43 forceEarlyReturnInt(thr, ((Character)o).charValue()); in forceEarlyReturn() [all …]
|
/aosp12/art/test/ti-agent/ |
H A D | suspend_event_helper.cc | 132 jthread thr, in cbException() argument 165 jthread thr, in cbMethodExit() argument 249 jthread thr, in cbFramePop() argument 431 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendClassEvent() 469 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendSingleStepFor() 527 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendPopFrameEvent() 576 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendBreakpointFor() 621 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendExceptionEvent() 666 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearSuspendMethodEvent() 743 DeleteTestData(env, thr, data); in Java_art_SuspendEvents_clearFieldSuspendFor() [all …]
|
/aosp12/art/test/1969-force-early-return-void/src/art/ |
H A D | Test1969.java | 65 setup.run(thr); in makeSuspend() 73 clean.run(thr); in makeSuspend() 128 (thr, e) -> { 131 + thr 185 Thread thr = 191 thr.start(); 208 su.cleanup(thr); 222 thr.join(); 732 (thr) -> setupSuspendBreakpointFor(calledFunction, loc, thr), 760 (thr) -> setupSuspendBreakpointFor(syncCalledFunction, syncLoc, thr), [all …]
|
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
H A D | NonStandardExit.java | 20 public static native void popFrame(Thread thr); in popFrame() argument 21 public static native void forceEarlyReturnVoid(Thread thr); in forceEarlyReturnVoid() argument 24 public static native void forceEarlyReturnInt(Thread thr, int f); in forceEarlyReturnInt() argument 25 public static native void forceEarlyReturnLong(Thread thr, long f); in forceEarlyReturnLong() argument 28 public static void forceEarlyReturn(Thread thr, Object o) { in forceEarlyReturn() argument 32 forceEarlyReturnInt(thr, n.intValue()); in forceEarlyReturn() 34 forceEarlyReturnLong(thr, n.longValue()); in forceEarlyReturn() 36 forceEarlyReturnFloat(thr, n.floatValue()); in forceEarlyReturn() 38 forceEarlyReturnDouble(thr, n.doubleValue()); in forceEarlyReturn() 43 forceEarlyReturnInt(thr, ((Character)o).charValue()); in forceEarlyReturn() [all …]
|
/aosp12/art/test/1971-multi-force-early-return/src/art/ |
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
H A D | NonStandardExit.java | 20 public static native void popFrame(Thread thr); in popFrame() argument 21 public static native void forceEarlyReturnVoid(Thread thr); in forceEarlyReturnVoid() argument 24 public static native void forceEarlyReturnInt(Thread thr, int f); in forceEarlyReturnInt() argument 25 public static native void forceEarlyReturnLong(Thread thr, long f); in forceEarlyReturnLong() argument 28 public static void forceEarlyReturn(Thread thr, Object o) { in forceEarlyReturn() argument 32 forceEarlyReturnInt(thr, n.intValue()); in forceEarlyReturn() 34 forceEarlyReturnLong(thr, n.longValue()); in forceEarlyReturn() 36 forceEarlyReturnFloat(thr, n.floatValue()); in forceEarlyReturn() 38 forceEarlyReturnDouble(thr, n.doubleValue()); in forceEarlyReturn() 43 forceEarlyReturnInt(thr, ((Character)o).charValue()); in forceEarlyReturn() [all …]
|
/aosp12/art/test/jvmti-common/ |
H A D | SuspendEvents.java | 32 public static native void clearSuspendBreakpointFor(Thread thr); in clearSuspendBreakpointFor() argument 35 public static native void clearSuspendSingleStepFor(Thread thr); in clearSuspendSingleStepFor() argument 38 public static native void clearFieldSuspendFor(Thread thr); in clearFieldSuspendFor() argument 41 public static native void clearSuspendMethodEvent(Thread thr); in clearSuspendMethodEvent() argument 44 Executable meth, boolean is_catch, Thread thr); in setupSuspendExceptionEvent() argument 48 int offset, Executable breakpointFunction, Thread thr); in setupSuspendPopFrameEvent() argument 54 int eventType, String[] interestingNames, Thread thr); in setupSuspendClassEvent() argument 55 public static native void clearSuspendClassEvent(Thread thr); in clearSuspendClassEvent() argument 57 public static native void setupWaitForNativeCall(Thread thr); in setupWaitForNativeCall() argument 58 public static native void clearWaitForNativeCall(Thread thr); in clearWaitForNativeCall() argument [all …]
|
H A D | NonStandardExit.java | 20 public static native void popFrame(Thread thr); in popFrame() argument 21 public static native void forceEarlyReturnVoid(Thread thr); in forceEarlyReturnVoid() argument 24 public static native void forceEarlyReturnInt(Thread thr, int f); in forceEarlyReturnInt() argument 25 public static native void forceEarlyReturnLong(Thread thr, long f); in forceEarlyReturnLong() argument 28 public static void forceEarlyReturn(Thread thr, Object o) { in forceEarlyReturn() argument 32 forceEarlyReturnInt(thr, n.intValue()); in forceEarlyReturn() 34 forceEarlyReturnLong(thr, n.longValue()); in forceEarlyReturn() 36 forceEarlyReturnFloat(thr, n.floatValue()); in forceEarlyReturn() 38 forceEarlyReturnDouble(thr, n.doubleValue()); in forceEarlyReturn() 43 forceEarlyReturnInt(thr, ((Character)o).charValue()); in forceEarlyReturn() [all …]
|
/aosp12/art/test/1912-get-set-local-primitive/src/art/ |
H A D | StackTrace.java | 24 public final Thread thr; field in StackTrace.StackFrameData 29 public StackFrameData(Thread thr, Executable e, long loc, int depth) { in StackFrameData() argument 30 this.thr = thr; in StackFrameData() 39 this.thr, in toString() 46 public static native int GetStackDepth(Thread thr); in GetStackDepth() argument 50 public static StackFrameData[] GetStackTrace(Thread thr) { in GetStackTrace() argument 56 !thr.equals(Thread.currentThread()) && in GetStackTrace() 57 !Suspension.isSuspended(thr); in GetStackTrace() 59 Suspension.suspend(thr); in GetStackTrace() 61 StackFrameData[] out = nativeGetStackTrace(thr); in GetStackTrace() [all …]
|
/aosp12/art/test/1913-get-set-local-objects/src/art/ |
H A D | StackTrace.java | 24 public final Thread thr; field in StackTrace.StackFrameData 29 public StackFrameData(Thread thr, Executable e, long loc, int depth) { in StackFrameData() argument 30 this.thr = thr; in StackFrameData() 39 this.thr, in toString() 46 public static native int GetStackDepth(Thread thr); in GetStackDepth() argument 50 public static StackFrameData[] GetStackTrace(Thread thr) { in GetStackTrace() argument 56 !thr.equals(Thread.currentThread()) && in GetStackTrace() 57 !Suspension.isSuspended(thr); in GetStackTrace() 59 Suspension.suspend(thr); in GetStackTrace() 61 StackFrameData[] out = nativeGetStackTrace(thr); in GetStackTrace() [all …]
|
/aosp12/art/test/1914-get-local-instance/src/art/ |
H A D | StackTrace.java | 24 public final Thread thr; field in StackTrace.StackFrameData 29 public StackFrameData(Thread thr, Executable e, long loc, int depth) { in StackFrameData() argument 30 this.thr = thr; in StackFrameData() 39 this.thr, in toString() 46 public static native int GetStackDepth(Thread thr); in GetStackDepth() argument 50 public static StackFrameData[] GetStackTrace(Thread thr) { in GetStackTrace() argument 56 !thr.equals(Thread.currentThread()) && in GetStackTrace() 57 !Suspension.isSuspended(thr); in GetStackTrace() 59 Suspension.suspend(thr); in GetStackTrace() 61 StackFrameData[] out = nativeGetStackTrace(thr); in GetStackTrace() [all …]
|