1Test stopped using breakpoint 2NORMAL RUN: Single call with no interference on (ID: 0) StandardTestObject { cnt: 0 } 3NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } on Test1969 target thread - 0 4Single call with force-early-return on (ID: 1) StandardTestObject { cnt: 0 } 5Will force return of Test1969 target thread - 1 6result for (ID: 1) StandardTestObject { cnt: 1 } on Test1969 target thread - 1 7Test stopped using breakpoint with declared synchronized function 8NORMAL RUN: Single call with no interference on (ID: 2) SynchronizedFunctionTestObject { cnt: 0 } 9NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } on Test1969 target thread - 2 10Single call with force-early-return on (ID: 3) SynchronizedFunctionTestObject { cnt: 0 } 11Will force return of Test1969 target thread - 3 12result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } on Test1969 target thread - 3 13Test stopped using breakpoint with synchronized block 14NORMAL RUN: Single call with no interference on (ID: 4) SynchronizedTestObject { cnt: 0 } 15NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } on Test1969 target thread - 4 16Single call with force-early-return on (ID: 5) SynchronizedTestObject { cnt: 0 } 17Will force return of Test1969 target thread - 5 18result for (ID: 5) SynchronizedTestObject { cnt: 1 } on Test1969 target thread - 5 19Test stopped on single step 20NORMAL RUN: Single call with no interference on (ID: 6) StandardTestObject { cnt: 0 } 21NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } on Test1969 target thread - 6 22Single call with force-early-return on (ID: 7) StandardTestObject { cnt: 0 } 23Will force return of Test1969 target thread - 7 24result for (ID: 7) StandardTestObject { cnt: 1 } on Test1969 target thread - 7 25Test stopped on field access 26NORMAL RUN: Single call with no interference on (ID: 8) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 0 } 27NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10, cnt: 2 } on Test1969 target thread - 8 28Single call with force-early-return on (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 0 } 29Will force return of Test1969 target thread - 9 30result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 1 } on Test1969 target thread - 9 31Test stopped on field modification 32NORMAL RUN: Single call with no interference on (ID: 10) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 0 } 33NORMAL RUN: result for (ID: 10) FieldBasedTestObject { TARGET_FIELD: 10, cnt: 2 } on Test1969 target thread - 10 34Single call with force-early-return on (ID: 11) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 0 } 35Will force return of Test1969 target thread - 11 36result for (ID: 11) FieldBasedTestObject { TARGET_FIELD: 0, cnt: 1 } on Test1969 target thread - 11 37Test stopped during Method Exit of calledFunction 38NORMAL RUN: Single call with no interference on (ID: 12) StandardTestObject { cnt: 0 } 39NORMAL RUN: result for (ID: 12) StandardTestObject { cnt: 2 } on Test1969 target thread - 12 40Single call with force-early-return on (ID: 13) StandardTestObject { cnt: 0 } 41Will force return of Test1969 target thread - 13 42result for (ID: 13) StandardTestObject { cnt: 2 } on Test1969 target thread - 13 43Test stopped during Method Enter of calledFunction 44NORMAL RUN: Single call with no interference on (ID: 14) StandardTestObject { cnt: 0 } 45NORMAL RUN: result for (ID: 14) StandardTestObject { cnt: 2 } on Test1969 target thread - 14 46Single call with force-early-return on (ID: 15) StandardTestObject { cnt: 0 } 47Will force return of Test1969 target thread - 15 48result for (ID: 15) StandardTestObject { cnt: 0 } on Test1969 target thread - 15 49Test stopped during Method Exit due to exception thrown in same function 50NORMAL RUN: Single call with no interference on (ID: 16) ExceptionOnceObject { cnt: 0, throwInSub: false } 51Uncaught exception in thread Thread[Test1969 target thread - 16,5,main] - art.Test1969$ExceptionOnceObject$TestError: null 52 art.Test1969$ExceptionOnceObject.calledFunction(Test1969.java) 53 art.Test1969$AbstractTestObject.run(Test1969.java) 54 art.Test1969$2.run(Test1969.java) 55 java.lang.Thread.run(Thread.java) 56 57NORMAL RUN: result for (ID: 16) ExceptionOnceObject { cnt: 1, throwInSub: false } on Test1969 target thread - 16 58Single call with force-early-return on (ID: 17) ExceptionOnceObject { cnt: 0, throwInSub: false } 59Will force return of Test1969 target thread - 17 60result for (ID: 17) ExceptionOnceObject { cnt: 1, throwInSub: false } on Test1969 target thread - 17 61Test stopped during Method Exit due to exception thrown in subroutine 62NORMAL RUN: Single call with no interference on (ID: 18) ExceptionOnceObject { cnt: 0, throwInSub: true } 63Uncaught exception in thread Thread[Test1969 target thread - 18,5,main] - art.Test1969$ExceptionOnceObject$TestError: null 64 art.Test1969$ExceptionOnceObject.doThrow(Test1969.java) 65 art.Test1969$ExceptionOnceObject.calledFunction(Test1969.java) 66 art.Test1969$AbstractTestObject.run(Test1969.java) 67 art.Test1969$2.run(Test1969.java) 68 java.lang.Thread.run(Thread.java) 69 70NORMAL RUN: result for (ID: 18) ExceptionOnceObject { cnt: 1, throwInSub: true } on Test1969 target thread - 18 71Single call with force-early-return on (ID: 19) ExceptionOnceObject { cnt: 0, throwInSub: true } 72Will force return of Test1969 target thread - 19 73result for (ID: 19) ExceptionOnceObject { cnt: 1, throwInSub: true } on Test1969 target thread - 19 74Test stopped during notifyFramePop with exception on pop of calledFunction 75NORMAL RUN: Single call with no interference on (ID: 20) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 76art.Test1969$ExceptionThrowTestObject$TestError thrown and caught! 77NORMAL RUN: result for (ID: 20) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 20 78Single call with force-early-return on (ID: 21) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 79Will force return of Test1969 target thread - 21 80result for (ID: 21) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 21 81Test stopped during notifyFramePop with exception on pop of doThrow 82NORMAL RUN: Single call with no interference on (ID: 22) ExceptionCatchTestObject { cnt: 0 } 83art.Test1969$ExceptionCatchTestObject$TestError caught in called function. 84NORMAL RUN: result for (ID: 22) ExceptionCatchTestObject { cnt: 2 } on Test1969 target thread - 22 85Single call with force-early-return on (ID: 23) ExceptionCatchTestObject { cnt: 0 } 86Will force return of Test1969 target thread - 23 87Failed to force-return due to java.lang.RuntimeException: JVMTI_ERROR_TYPE_MISMATCH 88 art.NonStandardExit.forceEarlyReturnVoid(Native Method) 89 art.Test1969$TestSuspender.performForceReturn(Test1969.java) 90 art.Test1969.runTestOn(Test1969.java) 91 art.Test1969.runTestOn(Test1969.java) 92 art.Test1969.runTestOn(Test1969.java) 93 art.Test1969.runTests(Test1969.java) 94 <Additional frames hidden> 95 96art.Test1969$ExceptionCatchTestObject$TestError caught in called function. 97result for (ID: 23) ExceptionCatchTestObject { cnt: 2 } on Test1969 target thread - 23 98Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in called function) 99NORMAL RUN: Single call with no interference on (ID: 24) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 100art.Test1969$ExceptionThrowTestObject$TestError caught in same function. 101NORMAL RUN: result for (ID: 24) ExceptionThrowTestObject { cnt: 111, baseCnt: 2 } on Test1969 target thread - 24 102Single call with force-early-return on (ID: 25) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 103Will force return of Test1969 target thread - 25 104result for (ID: 25) ExceptionThrowTestObject { cnt: 11, baseCnt: 2 } on Test1969 target thread - 25 105Test stopped during ExceptionCatch event of calledFunction (catch in called function, throw in subroutine) 106NORMAL RUN: Single call with no interference on (ID: 26) ExceptionCatchTestObject { cnt: 0 } 107art.Test1969$ExceptionCatchTestObject$TestError caught in called function. 108NORMAL RUN: result for (ID: 26) ExceptionCatchTestObject { cnt: 2 } on Test1969 target thread - 26 109Single call with force-early-return on (ID: 27) ExceptionCatchTestObject { cnt: 0 } 110Will force return of Test1969 target thread - 27 111result for (ID: 27) ExceptionCatchTestObject { cnt: 1 } on Test1969 target thread - 27 112Test stopped during Exception event of calledFunction (catch in calling function) 113NORMAL RUN: Single call with no interference on (ID: 28) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 114art.Test1969$ExceptionThrowTestObject$TestError thrown and caught! 115NORMAL RUN: result for (ID: 28) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 28 116Single call with force-early-return on (ID: 29) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 117Will force return of Test1969 target thread - 29 118result for (ID: 29) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 29 119Test stopped during Exception event of calledFunction (catch in called function) 120NORMAL RUN: Single call with no interference on (ID: 30) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 121art.Test1969$ExceptionThrowTestObject$TestError caught in same function. 122NORMAL RUN: result for (ID: 30) ExceptionThrowTestObject { cnt: 111, baseCnt: 2 } on Test1969 target thread - 30 123Single call with force-early-return on (ID: 31) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } 124Will force return of Test1969 target thread - 31 125result for (ID: 31) ExceptionThrowTestObject { cnt: 11, baseCnt: 2 } on Test1969 target thread - 31 126Test stopped during Exception event of calledFunction (catch in parent of calling function) 127NORMAL RUN: Single call with no interference on (ID: 32) ExceptionThrowFarTestObject { cnt: 0, baseCnt: 0 } 128art.Test1969$ExceptionThrowFarTestObject$TestError thrown and caught! 129NORMAL RUN: result for (ID: 32) ExceptionThrowFarTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 32 130Single call with force-early-return on (ID: 33) ExceptionThrowFarTestObject { cnt: 0, baseCnt: 0 } 131Will force return of Test1969 target thread - 33 132result for (ID: 33) ExceptionThrowFarTestObject { cnt: 2, baseCnt: 2 } on Test1969 target thread - 33 133Test stopped during Exception event of calledFunction (catch in called function) 134NORMAL RUN: Single call with no interference on (ID: 34) ExceptionThrowFarTestObject { cnt: 0, baseCnt: 0 } 135art.Test1969$ExceptionThrowFarTestObject$TestError caught in same function. 136NORMAL RUN: result for (ID: 34) ExceptionThrowFarTestObject { cnt: 111, baseCnt: 2 } on Test1969 target thread - 34 137Single call with force-early-return on (ID: 35) ExceptionThrowFarTestObject { cnt: 0, baseCnt: 0 } 138Will force return of Test1969 target thread - 35 139result for (ID: 35) ExceptionThrowFarTestObject { cnt: 101, baseCnt: 2 } on Test1969 target thread - 35 140Test stopped during random Suspend. 141NORMAL RUN: Single call with no interference on (ID: 36) SuspendSuddenlyObject { cnt: 0, spun: false } 142NORMAL RUN: result for (ID: 36) SuspendSuddenlyObject { cnt: 2, spun: true } on Test1969 target thread - 36 143Single call with force-early-return on (ID: 37) SuspendSuddenlyObject { cnt: 0, spun: false } 144Will force return of Test1969 target thread - 37 145result for (ID: 37) SuspendSuddenlyObject { cnt: 1, spun: true } on Test1969 target thread - 37 146Test stopped during a native method fails 147NORMAL RUN: Single call with no interference on (ID: 38) NativeCalledObject { cnt: 0 } 148NORMAL RUN: result for (ID: 38) NativeCalledObject { cnt: 2 } on Test1969 target thread - 38 149Single call with force-early-return on (ID: 39) NativeCalledObject { cnt: 0 } 150Will force return of Test1969 target thread - 39 151Failed to force-return due to java.lang.RuntimeException: JVMTI_ERROR_OPAQUE_FRAME 152 art.NonStandardExit.forceEarlyReturnVoid(Native Method) 153 art.Test1969$TestSuspender.performForceReturn(Test1969.java) 154 art.Test1969.runTestOn(Test1969.java) 155 art.Test1969.runTestOn(Test1969.java) 156 art.Test1969.runTestOn(Test1969.java) 157 art.Test1969.runTests(Test1969.java) 158 <Additional frames hidden> 159 160result for (ID: 39) NativeCalledObject { cnt: 2 } on Test1969 target thread - 39 161Test stopped in a method called by native succeeds 162NORMAL RUN: Single call with no interference on (ID: 40) NativeCallerObject { cnt: 0 } 163NORMAL RUN: result for (ID: 40) NativeCallerObject { cnt: 2 } on Test1969 target thread - 40 164Single call with force-early-return on (ID: 41) NativeCallerObject { cnt: 0 } 165Will force return of Test1969 target thread - 41 166result for (ID: 41) NativeCallerObject { cnt: 2 } on Test1969 target thread - 41 167Test stopped in a static method 168NORMAL RUN: Single call with no interference on (ID: 42) StaticMethodObject { cnt: 0 } 169NORMAL RUN: result for (ID: 42) StaticMethodObject { cnt: 2 } on Test1969 target thread - 42 170Single call with force-early-return on (ID: 43) StaticMethodObject { cnt: 0 } 171Will force return of Test1969 target thread - 43 172result for (ID: 43) StaticMethodObject { cnt: 1 } on Test1969 target thread - 43 173Test stopped in a Object <init> method 174NORMAL RUN: Single call with no interference on (ID: 44) ObjectInitTestObject { cnt: 0 } 175NORMAL RUN: result for (ID: 44) ObjectInitTestObject { cnt: 2 } on Test1969 target thread - 44 176Single call with force-early-return on (ID: 45) ObjectInitTestObject { cnt: 0 } 177Will force return of Test1969 target thread - 45 178result for (ID: 45) ObjectInitTestObject { cnt: 1 } on Test1969 target thread - 45 179