1################### 2### Same thread ### 3################### 4From top 5--------- 6 getStackTrace (Ljava/lang/Thread;II)[[Ljava/lang/String; -1 -2 7 print (Ljava/lang/Thread;II)V 0 38 8 printOrWait (IILart/ControlData;)V 6 41 9 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 10 bar (IIILart/ControlData;)J 0 26 11 foo (IIILart/ControlData;)I 0 21 12 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 13 bar (IIILart/ControlData;)J 0 26 14 foo (IIILart/ControlData;)I 0 21 15 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 16 bar (IIILart/ControlData;)J 0 26 17 foo (IIILart/ControlData;)I 0 21 18 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 19 bar (IIILart/ControlData;)J 0 26 20 foo (IIILart/ControlData;)I 0 21 21 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 22 bar (IIILart/ControlData;)J 0 26 23 foo (IIILart/ControlData;)I 0 21 24 doTest ()V 31 25 25 run ()V 0 31 26--------- 27 print (Ljava/lang/Thread;II)V 0 38 28 printOrWait (IILart/ControlData;)V 6 41 29 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 30 bar (IIILart/ControlData;)J 0 26 31 foo (IIILart/ControlData;)I 0 21 32 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 33 bar (IIILart/ControlData;)J 0 26 34 foo (IIILart/ControlData;)I 0 21 35 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 36 bar (IIILart/ControlData;)J 0 26 37 foo (IIILart/ControlData;)I 0 21 38 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 39 bar (IIILart/ControlData;)J 0 26 40 foo (IIILart/ControlData;)I 0 21 41 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 42 bar (IIILart/ControlData;)J 0 26 43 foo (IIILart/ControlData;)I 0 21 44 doTest ()V 35 26 45 run ()V 0 31 46--------- 47 getStackTrace (Ljava/lang/Thread;II)[[Ljava/lang/String; -1 -2 48 print (Ljava/lang/Thread;II)V 0 38 49 printOrWait (IILart/ControlData;)V 6 41 50 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 51 bar (IIILart/ControlData;)J 0 26 52--------- 53 printOrWait (IILart/ControlData;)V 6 41 54 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 55 bar (IIILart/ControlData;)J 0 26 56 foo (IIILart/ControlData;)I 0 21 57 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 58--------- 59 printOrWait (IILart/ControlData;)V 6 41 60From bottom 61--------- 62 run ()V 0 31 63--------- 64 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 65 bar (IIILart/ControlData;)J 0 26 66 foo (IIILart/ControlData;)I 0 21 67 doTest ()V 61 33 68 run ()V 0 31 69--------- 70 bar (IIILart/ControlData;)J 0 26 71 foo (IIILart/ControlData;)I 0 21 72 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 73 bar (IIILart/ControlData;)J 0 26 74 foo (IIILart/ControlData;)I 0 21 75 76################################ 77### Other thread (suspended) ### 78################################ 79From top 80--------- 81 wait (JI)V -1 -2 82 wait (J)V 1 442 83 wait ()V 2 568 84 printOrWait (IILart/ControlData;)V 24 47 85 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 86 bar (IIILart/ControlData;)J 0 26 87 foo (IIILart/ControlData;)I 0 21 88 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 89 bar (IIILart/ControlData;)J 0 26 90 foo (IIILart/ControlData;)I 0 21 91 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 92 bar (IIILart/ControlData;)J 0 26 93 foo (IIILart/ControlData;)I 0 21 94 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 95 bar (IIILart/ControlData;)J 0 26 96 foo (IIILart/ControlData;)I 0 21 97 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 98 bar (IIILart/ControlData;)J 0 26 99 foo (IIILart/ControlData;)I 0 21 100 run ()V 4 28 101--------- 102 wait (J)V 1 442 103 wait ()V 2 568 104 printOrWait (IILart/ControlData;)V 24 47 105 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 106 bar (IIILart/ControlData;)J 0 26 107 foo (IIILart/ControlData;)I 0 21 108 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 109 bar (IIILart/ControlData;)J 0 26 110 foo (IIILart/ControlData;)I 0 21 111 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 112 bar (IIILart/ControlData;)J 0 26 113 foo (IIILart/ControlData;)I 0 21 114 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 115 bar (IIILart/ControlData;)J 0 26 116 foo (IIILart/ControlData;)I 0 21 117 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 118 bar (IIILart/ControlData;)J 0 26 119 foo (IIILart/ControlData;)I 0 21 120 run ()V 4 28 121--------- 122 wait (JI)V -1 -2 123 wait (J)V 1 442 124 wait ()V 2 568 125 printOrWait (IILart/ControlData;)V 24 47 126 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 127 bar (IIILart/ControlData;)J 0 26 128 foo (IIILart/ControlData;)I 0 21 129--------- 130 wait ()V 2 568 131 printOrWait (IILart/ControlData;)V 24 47 132 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 133 bar (IIILart/ControlData;)J 0 26 134 foo (IIILart/ControlData;)I 0 21 135 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 136 bar (IIILart/ControlData;)J 0 26 137--------- 138 wait ()V 2 568 139From bottom 140--------- 141 run ()V 4 28 142--------- 143 foo (IIILart/ControlData;)I 0 21 144 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 145 bar (IIILart/ControlData;)J 0 26 146 foo (IIILart/ControlData;)I 0 21 147 run ()V 4 28 148--------- 149 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 150 bar (IIILart/ControlData;)J 0 26 151 foo (IIILart/ControlData;)I 0 21 152 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 153 bar (IIILart/ControlData;)J 0 26 154 155########################### 156### Other thread (live) ### 157########################### 158From top 159--------- 160 printOrWait (IILart/ControlData;)V 45 54 161 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 162 bar (IIILart/ControlData;)J 0 26 163 foo (IIILart/ControlData;)I 0 21 164 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 165 bar (IIILart/ControlData;)J 0 26 166 foo (IIILart/ControlData;)I 0 21 167 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 168 bar (IIILart/ControlData;)J 0 26 169 foo (IIILart/ControlData;)I 0 21 170 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 171 bar (IIILart/ControlData;)J 0 26 172 foo (IIILart/ControlData;)I 0 21 173 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 174 bar (IIILart/ControlData;)J 0 26 175 foo (IIILart/ControlData;)I 0 21 176 run ()V 4 62 177--------- 178 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 179 bar (IIILart/ControlData;)J 0 26 180 foo (IIILart/ControlData;)I 0 21 181 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 182 bar (IIILart/ControlData;)J 0 26 183 foo (IIILart/ControlData;)I 0 21 184 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 185 bar (IIILart/ControlData;)J 0 26 186 foo (IIILart/ControlData;)I 0 21 187 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 188 bar (IIILart/ControlData;)J 0 26 189 foo (IIILart/ControlData;)I 0 21 190 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 191 bar (IIILart/ControlData;)J 0 26 192 foo (IIILart/ControlData;)I 0 21 193 run ()V 4 62 194--------- 195 printOrWait (IILart/ControlData;)V 45 54 196 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 197 bar (IIILart/ControlData;)J 0 26 198 foo (IIILart/ControlData;)I 0 21 199 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 200--------- 201 bar (IIILart/ControlData;)J 0 26 202 foo (IIILart/ControlData;)I 0 21 203 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 204 bar (IIILart/ControlData;)J 0 26 205 foo (IIILart/ControlData;)I 0 21 206From bottom 207--------- 208 run ()V 4 62 209--------- 210 foo (IIILart/ControlData;)I 0 21 211 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 212 bar (IIILart/ControlData;)J 0 26 213 foo (IIILart/ControlData;)I 0 21 214 run ()V 4 62 215--------- 216 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 217 bar (IIILart/ControlData;)J 0 26 218 foo (IIILart/ControlData;)I 0 21 219 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 220 bar (IIILart/ControlData;)J 0 26 221 222 223######################################## 224### Other select threads (suspended) ### 225######################################## 226--------- 227Test911 228 229--------- 230ThreadListTraces Thread 0 231 232--------- 233ThreadListTraces Thread 2 234 235--------- 236ThreadListTraces Thread 4 237 238--------- 239ThreadListTraces Thread 6 240 241--------- 242ThreadListTraces Thread 8 243 244--------- 245Test911 246 getThreadListStackTraces ([Ljava/lang/Thread;I)[[Ljava/lang/Object; -1 -2 247 printList ([Ljava/lang/Thread;I)V 0 68 248 doTest ()V 110 54 249 run ()V 36 49 250 251--------- 252ThreadListTraces Thread 0 253 wait (JI)V -1 -2 254 wait (J)V 1 442 255 wait ()V 2 568 256 printOrWait (IILart/ControlData;)V 24 47 257 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 258 bar (IIILart/ControlData;)J 0 26 259 foo (IIILart/ControlData;)I 0 21 260 261--------- 262ThreadListTraces Thread 2 263 wait (JI)V -1 -2 264 wait (J)V 1 442 265 wait ()V 2 568 266 printOrWait (IILart/ControlData;)V 24 47 267 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 268 bar (IIILart/ControlData;)J 0 26 269 foo (IIILart/ControlData;)I 0 21 270 271--------- 272ThreadListTraces Thread 4 273 wait (JI)V -1 -2 274 wait (J)V 1 442 275 wait ()V 2 568 276 printOrWait (IILart/ControlData;)V 24 47 277 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 278 bar (IIILart/ControlData;)J 0 26 279 foo (IIILart/ControlData;)I 0 21 280 281--------- 282ThreadListTraces Thread 6 283 wait (JI)V -1 -2 284 wait (J)V 1 442 285 wait ()V 2 568 286 printOrWait (IILart/ControlData;)V 24 47 287 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 288 bar (IIILart/ControlData;)J 0 26 289 foo (IIILart/ControlData;)I 0 21 290 291--------- 292ThreadListTraces Thread 8 293 wait (JI)V -1 -2 294 wait (J)V 1 442 295 wait ()V 2 568 296 printOrWait (IILart/ControlData;)V 24 47 297 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 298 bar (IIILart/ControlData;)J 0 26 299 foo (IIILart/ControlData;)I 0 21 300 301--------- 302Test911 303 getThreadListStackTraces ([Ljava/lang/Thread;I)[[Ljava/lang/Object; -1 -2 304 printList ([Ljava/lang/Thread;I)V 0 68 305 doTest ()V 115 56 306 run ()V 36 49 307 308--------- 309ThreadListTraces Thread 0 310 wait (JI)V -1 -2 311 wait (J)V 1 442 312 wait ()V 2 568 313 printOrWait (IILart/ControlData;)V 24 47 314 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 315 bar (IIILart/ControlData;)J 0 26 316 foo (IIILart/ControlData;)I 0 21 317 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 318 bar (IIILart/ControlData;)J 0 26 319 foo (IIILart/ControlData;)I 0 21 320 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 321 bar (IIILart/ControlData;)J 0 26 322 foo (IIILart/ControlData;)I 0 21 323 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 324 bar (IIILart/ControlData;)J 0 26 325 foo (IIILart/ControlData;)I 0 21 326 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 327 bar (IIILart/ControlData;)J 0 26 328 foo (IIILart/ControlData;)I 0 21 329 run ()V 4 37 330 331--------- 332ThreadListTraces Thread 2 333 wait (JI)V -1 -2 334 wait (J)V 1 442 335 wait ()V 2 568 336 printOrWait (IILart/ControlData;)V 24 47 337 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 338 bar (IIILart/ControlData;)J 0 26 339 foo (IIILart/ControlData;)I 0 21 340 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 341 bar (IIILart/ControlData;)J 0 26 342 foo (IIILart/ControlData;)I 0 21 343 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 344 bar (IIILart/ControlData;)J 0 26 345 foo (IIILart/ControlData;)I 0 21 346 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 347 bar (IIILart/ControlData;)J 0 26 348 foo (IIILart/ControlData;)I 0 21 349 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 350 bar (IIILart/ControlData;)J 0 26 351 foo (IIILart/ControlData;)I 0 21 352 run ()V 4 37 353 354--------- 355ThreadListTraces Thread 4 356 wait (JI)V -1 -2 357 wait (J)V 1 442 358 wait ()V 2 568 359 printOrWait (IILart/ControlData;)V 24 47 360 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 361 bar (IIILart/ControlData;)J 0 26 362 foo (IIILart/ControlData;)I 0 21 363 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 364 bar (IIILart/ControlData;)J 0 26 365 foo (IIILart/ControlData;)I 0 21 366 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 367 bar (IIILart/ControlData;)J 0 26 368 foo (IIILart/ControlData;)I 0 21 369 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 370 bar (IIILart/ControlData;)J 0 26 371 foo (IIILart/ControlData;)I 0 21 372 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 373 bar (IIILart/ControlData;)J 0 26 374 foo (IIILart/ControlData;)I 0 21 375 run ()V 4 37 376 377--------- 378ThreadListTraces Thread 6 379 wait (JI)V -1 -2 380 wait (J)V 1 442 381 wait ()V 2 568 382 printOrWait (IILart/ControlData;)V 24 47 383 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 384 bar (IIILart/ControlData;)J 0 26 385 foo (IIILart/ControlData;)I 0 21 386 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 387 bar (IIILart/ControlData;)J 0 26 388 foo (IIILart/ControlData;)I 0 21 389 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 390 bar (IIILart/ControlData;)J 0 26 391 foo (IIILart/ControlData;)I 0 21 392 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 393 bar (IIILart/ControlData;)J 0 26 394 foo (IIILart/ControlData;)I 0 21 395 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 396 bar (IIILart/ControlData;)J 0 26 397 foo (IIILart/ControlData;)I 0 21 398 run ()V 4 37 399 400--------- 401ThreadListTraces Thread 8 402 wait (JI)V -1 -2 403 wait (J)V 1 442 404 wait ()V 2 568 405 printOrWait (IILart/ControlData;)V 24 47 406 baz (IIILart/ControlData;)Ljava/lang/Object; 2 32 407 bar (IIILart/ControlData;)J 0 26 408 foo (IIILart/ControlData;)I 0 21 409 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 410 bar (IIILart/ControlData;)J 0 26 411 foo (IIILart/ControlData;)I 0 21 412 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 413 bar (IIILart/ControlData;)J 0 26 414 foo (IIILart/ControlData;)I 0 21 415 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 416 bar (IIILart/ControlData;)J 0 26 417 foo (IIILart/ControlData;)I 0 21 418 baz (IIILart/ControlData;)Ljava/lang/Object; 8 34 419 bar (IIILart/ControlData;)J 0 26 420 foo (IIILart/ControlData;)I 0 21 421 run ()V 4 37 422 423 424################### 425### Same thread ### 426################### 4274 428JVMTI_ERROR_ILLEGAL_ARGUMENT 429[public static native java.lang.Object[] art.Frames.getFrameLocation(java.lang.Thread,int), ffffffff] 430[public static void art.Frames.doTestSameThread(), 3e] 431[public static void art.Frames.doTest() throws java.lang.Exception, 0] 432[public void art.Test911$1.run(), 2c] 433JVMTI_ERROR_NO_MORE_FRAMES 434 435################################ 436### Other thread (suspended) ### 437################################ 43820 439JVMTI_ERROR_ILLEGAL_ARGUMENT 440[public final native void java.lang.Object.wait(long,int) throws java.lang.InterruptedException, ffffffff] 441[public final void java.lang.Object.wait(long) throws java.lang.InterruptedException, 1] 442[public final void java.lang.Object.wait() throws java.lang.InterruptedException, 2] 443[private static void art.Recurse.printOrWait(int,int,art.ControlData), 18] 444[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 2] 445[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 446[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 447[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 448[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 449[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 450[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 451[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 452[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 453[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 454[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 455[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 456[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 457[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 458[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 459[public void art.Frames$1.run(), 4] 460JVMTI_ERROR_NO_MORE_FRAMES 461 462########################### 463### Other thread (live) ### 464########################### 46517 466JVMTI_ERROR_ILLEGAL_ARGUMENT 467[private static void art.Recurse.printOrWait(int,int,art.ControlData), 2d] 468[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 2] 469[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 470[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 471[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 472[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 473[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 474[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 475[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 476[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 477[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 478[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 479[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 480[private static java.lang.Object art.Recurse.baz(int,int,int,art.ControlData), 8] 481[private static long art.Recurse.bar(int,int,int,art.ControlData), 0] 482[public static int art.Recurse.foo(int,int,int,art.ControlData), 0] 483[public void art.Frames$2.run(), 4] 484JVMTI_ERROR_NO_MORE_FRAMES 485Done 486