TEST: serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile SuspendResume2.java TIME: 4.122 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java reason: User specified action: run compile SuspendResume2.java started: Thu Apr 17 20:34:23 CST 2025 Mode: othervm Process id: 2154823 finished: Thu Apr 17 20:34:27 CST 2025 elapsed time (seconds): 4.122 configuration: javac compilation environment source path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-XX:TieredStopAtLevel=1 \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib \ -d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -classpath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java STDOUT: STDERR: ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 3.652 seconds messages: command: build jdk.test.lib.FileInstaller reason: Named class compiled on demand started: Thu Apr 17 20:34:27 CST 2025 Library /test/lib: compile: jdk.test.lib.FileInstaller finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 3.652 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 3.651 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/lib/jdk/test/lib/FileInstaller.java reason: .class file out of date or does not exist started: Thu Apr 17 20:34:27 CST 2025 Mode: othervm Process id: 2209836 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 3.651 configuration: javac compilation environment source path: /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-XX:TieredStopAtLevel=1 \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib \ -d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/lib \ -classpath /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib /tmp/tone/run/jtreg/jdk-repo/test/lib/jdk/test/lib/FileInstaller.java STDOUT: STDERR: ACTION: driver -- Passed. Execution successful REASON: User specified action: run driver jdk.test.lib.FileInstaller . . TIME: 0.087 seconds messages: command: driver jdk.test.lib.FileInstaller . . reason: User specified action: run driver jdk.test.lib.FileInstaller . . started: Thu Apr 17 20:34:31 CST 2025 Mode: othervm Process id: 2291220 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 0.087 configuration: STDOUT: copying /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 to /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default STDERR: STATUS:Passed. rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib \ -Xcomp \ -XX:TieredStopAtLevel=1 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d/driver.0.jta . . ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build SuspendResume2 reason: Named class compiled on demand started: Thu Apr 17 20:34:31 CST 2025 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 0.0 ACTION: main -- Error. Program `/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480198ms). REASON: User specified action: run main/othervm/native -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume2 SuspendResume2 TIME: 480.205 seconds messages: command: main -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume2 SuspendResume2 reason: User specified action: run main/othervm/native -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume2 SuspendResume2 started: Thu Apr 17 20:34:31 CST 2025 Mode: othervm [/othervm specified] Process id: 2293200 Timeout information: Running jstack on process 2293200 2025-04-17 20:42:31 Full thread dump OpenJDK 64-Bit Server VM (25-internal-5125ceb9 compiled mode, emulated-client, sharing): Threads class SMR info: _java_thread_list=0x0000ffff2c002d20, length=14, elements={ 0x0000ffff8c042a20, 0x0000ffff8c1dcf60, 0x0000ffff8c1ddc70, 0x0000ffff8c1dece0, 0x0000ffff8c1dfdf0, 0x0000ffff8c1e0e60, 0x0000ffff8c1e26f0, 0x0000ffff8c1f1db0, 0x0000ffff8c1f38c0, 0x0000ffff8c2105f0, 0x0000ffff00013e90, 0x0000ffff00017270, 0x0000fffef8004040, 0x0000ffff2c001bd0 } "main" #3 [2293272] prio=5 os_prio=0 cpu=72.96ms elapsed=480.19s tid=0x0000ffff8c042a20 nid=2293272 in Object.wait() [0x0000ffff9101e000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.Thread.join(java.base@25-internal/Thread.java:1860) - locked <0x000000011f074138> (a java.lang.Thread) at java.lang.Thread.join(java.base@25-internal/Thread.java:1936) at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85) "Reference Handler" #17 [2293688] daemon prio=10 os_prio=0 cpu=0.24ms elapsed=480.17s tid=0x0000ffff8c1dcf60 nid=2293688 waiting on condition [0x0000ffff478e3000] java.lang.Thread.State: RUNNABLE at java.lang.ref.Reference.waitForReferencePendingList(java.base@25-internal/Native Method) at java.lang.ref.Reference.processPendingReferences(java.base@25-internal/Reference.java:246) at java.lang.ref.Reference$ReferenceHandler.run(java.base@25-internal/Reference.java:208) "Finalizer" #18 [2293692] daemon prio=8 os_prio=0 cpu=0.15ms elapsed=480.17s tid=0x0000ffff8c1ddc70 nid=2293692 in Object.wait() [0x0000ffff474e5000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on <0x000000011f002398> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.Object.wait(java.base@25-internal/Object.java:351) at java.lang.ref.ReferenceQueue.remove0(java.base@25-internal/ReferenceQueue.java:138) at java.lang.ref.ReferenceQueue.remove(java.base@25-internal/ReferenceQueue.java:229) - locked <0x000000011f002398> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.Finalizer$FinalizerThread.run(java.base@25-internal/Finalizer.java:165) "Signal Dispatcher" #19 [2293698] daemon prio=9 os_prio=0 cpu=0.30ms elapsed=480.17s tid=0x0000ffff8c1dece0 nid=2293698 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Service Thread" #20 [2293700] daemon prio=9 os_prio=0 cpu=1.71ms elapsed=480.17s tid=0x0000ffff8c1dfdf0 nid=2293700 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Monitor Deflation Thread" #21 [2293701] daemon prio=9 os_prio=0 cpu=5.79ms elapsed=480.17s tid=0x0000ffff8c1e0e60 nid=2293701 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C1 CompilerThread0" #22 [2293706] daemon prio=9 os_prio=0 cpu=724.75ms elapsed=480.17s tid=0x0000ffff8c1e26f0 nid=2293706 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "Notification Thread" #40 [2295952] daemon prio=9 os_prio=0 cpu=0.08ms elapsed=480.08s tid=0x0000ffff8c1f1db0 nid=2295952 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Common-Cleaner" #41 [2297121] daemon prio=8 os_prio=0 cpu=0.42ms elapsed=480.03s tid=0x0000ffff8c1f38c0 nid=2297121 in Object.wait() [0x0000ffff46a69000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.ref.ReferenceQueue.remove0(java.base@25-internal/ReferenceQueue.java:124) at java.lang.ref.ReferenceQueue.remove(java.base@25-internal/ReferenceQueue.java:215) - locked <0x000000011f016650> (a java.lang.ref.ReferenceQueue$Lock) at jdk.internal.ref.CleanerImpl.run(java.base@25-internal/CleanerImpl.java:146) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) at jdk.internal.misc.InnocuousThread.run(java.base@25-internal/InnocuousThread.java:148) "MainThread" #42 [2302110] prio=5 os_prio=0 cpu=100.16ms elapsed=479.82s tid=0x0000ffff8c2105f0 nid=2302110 waiting on condition [0x0000ffff467fd000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleepNanos0(java.base@25-internal/Native Method) at java.lang.Thread.sleepNanos(java.base@25-internal/Thread.java:482) at java.lang.Thread.sleep(java.base@25-internal/Thread.java:513) at TestedThread.ensureReady(SuspendResume2.java:179) at SuspendResume2.start_thread(SuspendResume2.java:140) at SuspendResume2.test_vthreads(SuspendResume2.java:118) at SuspendResume2.runIt(SuspendResume2.java:103) at SuspendResume2.run(SuspendResume2.java:94) at SuspendResume2.main(SuspendResume2.java:87) at java.lang.invoke.LambdaForm$DMH/0x0000780001041000.invokeStatic(java.base@25-internal/LambdaForm$DMH) at java.lang.invoke.LambdaForm$MH/0x0000780001042400.invoke(java.base@25-internal/LambdaForm$MH) at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@25-internal/Invokers$Holder) at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@25-internal/DirectMethodHandleAccessor.java:155) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@25-internal/DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke(java.base@25-internal/Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) "VirtualThread-unblocker" #44 [2312550] daemon prio=5 os_prio=0 cpu=0.26ms elapsed=479.31s tid=0x0000ffff00013e90 nid=2312550 runnable [0x0000ffff465ff000] java.lang.Thread.State: RUNNABLE at java.lang.VirtualThread.takeVirtualThreadListToUnblock(java.base@25-internal/Native Method) at java.lang.VirtualThread.unblockVirtualThreads(java.base@25-internal/VirtualThread.java:1507) at java.lang.VirtualThread$$Lambda/0x0000780001006a68.run(java.base@25-internal/Unknown Source) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) at jdk.internal.misc.InnocuousThread.run(java.base@25-internal/InnocuousThread.java:148) "ForkJoinPool-1-worker-1" #46 [2313231] daemon prio=5 os_prio=0 cpu=478653.87ms elapsed=479.27s tid=0x0000ffff00017270 [0x0000ffff463ff000] Carrying virtual thread #69 at jdk.internal.vm.Continuation.run(java.base@25-internal/Continuation.java:254) at java.lang.VirtualThread.runContinuation(java.base@25-internal/VirtualThread.java:293) at java.lang.VirtualThread$$Lambda/0x0000780001007120.run(java.base@25-internal/Unknown Source) at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(java.base@25-internal/ForkJoinTask.java:1593) at java.util.concurrent.ForkJoinTask.doExec(java.base@25-internal/ForkJoinTask.java:511) at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(java.base@25-internal/ForkJoinPool.java:1450) at java.util.concurrent.ForkJoinPool.runWorker(java.base@25-internal/ForkJoinPool.java:2019) at java.util.concurrent.ForkJoinWorkerThread.run(java.base@25-internal/ForkJoinWorkerThread.java:187) Mounted virtual thread #69 at TestedThread.run(SuspendResume2.java:171) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.VirtualThread.run(java.base@25-internal/VirtualThread.java:456) at java.lang.VirtualThread$VThreadContinuation$1.run(java.base@25-internal/VirtualThread.java:248) at jdk.internal.vm.Continuation.enter0(java.base@25-internal/Continuation.java:325) at jdk.internal.vm.Continuation.enter(java.base@25-internal/Continuation.java:316) "ForkJoinPool-1-delayScheduler" #47 [2313693] daemon prio=5 os_prio=0 cpu=1808.38ms elapsed=479.25s tid=0x0000fffef8004040 nid=2313693 runnable [0x0000ffff46201000] java.lang.Thread.State: TIMED_WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@25-internal/Native Method) at java.util.concurrent.DelayScheduler.loop(java.base@25-internal/DelayScheduler.java:253) at java.util.concurrent.DelayScheduler.run(java.base@25-internal/DelayScheduler.java:221) "Attach Listener" #84 [283515] daemon prio=9 os_prio=0 cpu=0.43ms elapsed=0.10s tid=0x0000ffff2c001bd0 nid=283515 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "VM Thread" os_prio=0 cpu=1.65ms elapsed=480.17s tid=0x0000ffff8c1d3bf0 nid=2293614 runnable "VM Periodic Task Thread" os_prio=0 cpu=40.50ms elapsed=480.18s tid=0x0000ffff8c1c2360 nid=2293595 waiting on condition "G1 Service" os_prio=0 cpu=4.78ms elapsed=480.18s tid=0x0000ffff8c1ac390 nid=2293452 runnable "G1 Refine#0" os_prio=0 cpu=0.09ms elapsed=480.18s tid=0x0000ffff8c1ab380 nid=2293450 runnable "G1 Conc#0" os_prio=0 cpu=0.08ms elapsed=480.19s tid=0x0000ffff8c08ab60 nid=2293407 runnable "G1 Main Marker" os_prio=0 cpu=0.05ms elapsed=480.19s tid=0x0000ffff8c089b10 nid=2293402 runnable "GC Thread#0" os_prio=0 cpu=0.07ms elapsed=480.19s tid=0x0000ffff8c0722f0 nid=2293396 runnable JNI global refs: 41, weak refs: 0 --- Timeout information end. finished: Thu Apr 17 20:42:31 CST 2025 elapsed time (seconds): 480.205 configuration: STDOUT: Agent init started Agent init finished ## Java: runIt: Starting threads ## Java: started thread: TestedThread0 ## Java: started thread: TestedThread1 ## Java: started thread: TestedThread2 ## Java: started thread: TestedThread3 ## Java: started thread: TestedThread4 ## Java: started thread: TestedThread5 ## Java: started thread: TestedThread6 ## Java: started thread: TestedThread7 ## Java: started thread: TestedThread8 ## Java: started thread: TestedThread9 ## Java: started thread: TestedThread10 ## Java: started thread: TestedThread11 ## Java: started thread: TestedThread12 ## Java: started thread: TestedThread13 ## Java: started thread: TestedThread14 ## Java: started thread: TestedThread15 ## Java: started thread: TestedThread16 ## Java: started thread: TestedThread17 Timeout signalled after 480 seconds STDERR: WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::loadLibrary has been called by SuspendResume2 in an unnamed module (file:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d/) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib:/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2 \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume2:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib \ -Xcomp \ -XX:TieredStopAtLevel=1 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Djdk.virtualThreadScheduler.maxPoolSize=1 \ -agentlib:SuspendResume2 \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume2/SuspendResume2_default.d/main.1.jta TEST RESULT: Error. Program `/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480198ms). -------------------------------------------------- TEST: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk ACTION: compile -- Passed. Compilation successful REASON: User specified action: run compile SuspendResume1.java TIME: 4.047 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java reason: User specified action: run compile SuspendResume1.java started: Thu Apr 17 20:34:23 CST 2025 Mode: othervm Process id: 2150534 finished: Thu Apr 17 20:34:27 CST 2025 elapsed time (seconds): 4.047 configuration: javac compilation environment source path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-XX:TieredStopAtLevel=1 \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib \ -d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -classpath /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java STDOUT: STDERR: ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 3.657 seconds messages: command: build jdk.test.lib.FileInstaller reason: Named class compiled on demand started: Thu Apr 17 20:34:27 CST 2025 Library /test/lib: compile: jdk.test.lib.FileInstaller finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 3.657 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 3.657 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/lib/jdk/test/lib/FileInstaller.java reason: .class file out of date or does not exist started: Thu Apr 17 20:34:27 CST 2025 Mode: othervm Process id: 2202337 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 3.657 configuration: javac compilation environment source path: /tmp/tone/run/jtreg/jdk-repo/test/lib class path: /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/javac \ -J-Xcomp \ -J-XX:TieredStopAtLevel=1 \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default \ -J-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib \ -d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib \ -sourcepath /tmp/tone/run/jtreg/jdk-repo/test/lib \ -classpath /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib /tmp/tone/run/jtreg/jdk-repo/test/lib/jdk/test/lib/FileInstaller.java STDOUT: STDERR: ACTION: driver -- Passed. Execution successful REASON: User specified action: run driver jdk.test.lib.FileInstaller . . TIME: 0.09 seconds messages: command: driver jdk.test.lib.FileInstaller . . reason: User specified action: run driver jdk.test.lib.FileInstaller . . started: Thu Apr 17 20:34:31 CST 2025 Mode: othervm Process id: 2284208 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 0.09 configuration: STDOUT: copying /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 to /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default STDERR: STATUS:Passed. rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib \ -Xcomp \ -XX:TieredStopAtLevel=1 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d/driver.0.jta . . ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build SuspendResume1 reason: Named class compiled on demand started: Thu Apr 17 20:34:31 CST 2025 finished: Thu Apr 17 20:34:31 CST 2025 elapsed time (seconds): 0.0 ACTION: main -- Error. Program `/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 2400000ms, elapsed time including timeout handling was 2400197ms). REASON: User specified action: run main/othervm/native/timeout=600 -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume1 SuspendResume1 TIME: 2400.198 seconds messages: command: main -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume1 SuspendResume1 reason: User specified action: run main/othervm/native/timeout=600 -Djdk.virtualThreadScheduler.maxPoolSize=1 -agentlib:SuspendResume1 SuspendResume1 started: Thu Apr 17 20:34:31 CST 2025 Mode: othervm [/othervm specified] Process id: 2286315 Timeout information: Running jstack on process 2286315 2025-04-17 21:14:31 Full thread dump OpenJDK 64-Bit Server VM (25-internal-5125ceb9 compiled mode, emulated-client, sharing): Threads class SMR info: _java_thread_list=0x0000ffff440024f0, length=14, elements={ 0x0000ffffb0042a20, 0x0000ffffb01dcf60, 0x0000ffffb01ddc70, 0x0000ffffb01dece0, 0x0000ffffb01dfdf0, 0x0000ffffb01e0e60, 0x0000ffffb01e26f0, 0x0000ffffb01f1db0, 0x0000ffffb01f38c0, 0x0000ffffb02105f0, 0x0000ffff24013e90, 0x0000ffff24017270, 0x0000ffff1c004040, 0x0000ffff44000ec0 } "main" #3 [2286407] prio=5 os_prio=0 cpu=69.94ms elapsed=2400.18s tid=0x0000ffffb0042a20 nid=2286407 in Object.wait() [0x0000ffffb42de000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.Thread.join(java.base@25-internal/Thread.java:1860) - locked <0x0000000119008000> (a java.lang.Thread) at java.lang.Thread.join(java.base@25-internal/Thread.java:1936) at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85) "Reference Handler" #17 [2286965] daemon prio=10 os_prio=0 cpu=0.33ms elapsed=2400.16s tid=0x0000ffffb01dcf60 nid=2286965 waiting on condition [0x0000ffff6a6f7000] java.lang.Thread.State: RUNNABLE at java.lang.ref.Reference.waitForReferencePendingList(java.base@25-internal/Native Method) at java.lang.ref.Reference.processPendingReferences(java.base@25-internal/Reference.java:246) at java.lang.ref.Reference$ReferenceHandler.run(java.base@25-internal/Reference.java:208) "Finalizer" #18 [2286970] daemon prio=8 os_prio=0 cpu=0.18ms elapsed=2400.16s tid=0x0000ffffb01ddc70 nid=2286970 in Object.wait() [0x0000ffff6aaf5000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on <0x0000000119010de8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.Object.wait(java.base@25-internal/Object.java:351) at java.lang.ref.ReferenceQueue.remove0(java.base@25-internal/ReferenceQueue.java:138) at java.lang.ref.ReferenceQueue.remove(java.base@25-internal/ReferenceQueue.java:229) - locked <0x0000000119010de8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.Finalizer$FinalizerThread.run(java.base@25-internal/Finalizer.java:165) "Signal Dispatcher" #19 [2286977] daemon prio=9 os_prio=0 cpu=0.41ms elapsed=2400.16s tid=0x0000ffffb01dece0 nid=2286977 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Service Thread" #20 [2286982] daemon prio=9 os_prio=0 cpu=6.29ms elapsed=2400.16s tid=0x0000ffffb01dfdf0 nid=2286982 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Monitor Deflation Thread" #21 [2286985] daemon prio=9 os_prio=0 cpu=21.24ms elapsed=2400.16s tid=0x0000ffffb01e0e60 nid=2286985 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "C1 CompilerThread0" #22 [2286989] daemon prio=9 os_prio=0 cpu=731.92ms elapsed=2400.16s tid=0x0000ffffb01e26f0 nid=2286989 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE No compile task "Notification Thread" #40 [2289170] daemon prio=9 os_prio=0 cpu=0.11ms elapsed=2400.07s tid=0x0000ffffb01f1db0 nid=2289170 runnable [0x0000000000000000] java.lang.Thread.State: RUNNABLE "Common-Cleaner" #41 [2290159] daemon prio=8 os_prio=0 cpu=1.26ms elapsed=2400.02s tid=0x0000ffffb01f38c0 nid=2290159 in Object.wait() [0x0000ffff69cfc000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait0(java.base@25-internal/Native Method) - waiting on at java.lang.Object.wait(java.base@25-internal/Object.java:389) at java.lang.ref.ReferenceQueue.remove0(java.base@25-internal/ReferenceQueue.java:124) at java.lang.ref.ReferenceQueue.remove(java.base@25-internal/ReferenceQueue.java:215) - locked <0x000000011916faa0> (a java.lang.ref.ReferenceQueue$Lock) at jdk.internal.ref.CleanerImpl.run(java.base@25-internal/CleanerImpl.java:146) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) at jdk.internal.misc.InnocuousThread.run(java.base@25-internal/InnocuousThread.java:148) "MainThread" #42 [2295028] prio=5 os_prio=0 cpu=140.67ms elapsed=2399.81s tid=0x0000ffffb02105f0 nid=2295028 waiting on condition [0x0000ffff69a9d000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleepNanos0(java.base@25-internal/Native Method) at java.lang.Thread.sleepNanos(java.base@25-internal/Thread.java:482) at java.lang.Thread.sleep(java.base@25-internal/Thread.java:513) at TestedThread.ensureReady(SuspendResume1.java:185) at SuspendResume1.start_thread(SuspendResume1.java:146) at SuspendResume1.test_vthreads(SuspendResume1.java:119) at SuspendResume1.runIt(SuspendResume1.java:104) at SuspendResume1.run(SuspendResume1.java:95) at SuspendResume1.main(SuspendResume1.java:88) at java.lang.invoke.LambdaForm$DMH/0x00001ff001041000.invokeStatic(java.base@25-internal/LambdaForm$DMH) at java.lang.invoke.LambdaForm$MH/0x00001ff001042400.invoke(java.base@25-internal/LambdaForm$MH) at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@25-internal/Invokers$Holder) at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@25-internal/DirectMethodHandleAccessor.java:155) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@25-internal/DirectMethodHandleAccessor.java:104) at java.lang.reflect.Method.invoke(java.base@25-internal/Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) "VirtualThread-unblocker" #44 [2306303] daemon prio=5 os_prio=0 cpu=0.17ms elapsed=2399.32s tid=0x0000ffff24013e90 nid=2306303 runnable [0x0000ffff6989f000] java.lang.Thread.State: RUNNABLE at java.lang.VirtualThread.takeVirtualThreadListToUnblock(java.base@25-internal/Native Method) at java.lang.VirtualThread.unblockVirtualThreads(java.base@25-internal/VirtualThread.java:1507) at java.lang.VirtualThread$$Lambda/0x00001ff001006a68.run(java.base@25-internal/Unknown Source) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.Thread.run(java.base@25-internal/Thread.java:1447) at jdk.internal.misc.InnocuousThread.run(java.base@25-internal/InnocuousThread.java:148) "ForkJoinPool-1-worker-1" #46 [2306823] daemon prio=5 os_prio=0 cpu=2397689.10ms elapsed=2399.30s tid=0x0000ffff24017270 [0x0000ffff6969f000] Carrying virtual thread #53 at jdk.internal.vm.Continuation.run(java.base@25-internal/Continuation.java:254) at java.lang.VirtualThread.runContinuation(java.base@25-internal/VirtualThread.java:293) at java.lang.VirtualThread$$Lambda/0x00001ff001007120.run(java.base@25-internal/Unknown Source) at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(java.base@25-internal/ForkJoinTask.java:1593) at java.util.concurrent.ForkJoinTask.doExec(java.base@25-internal/ForkJoinTask.java:511) at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(java.base@25-internal/ForkJoinPool.java:1450) at java.util.concurrent.ForkJoinPool.runWorker(java.base@25-internal/ForkJoinPool.java:2019) at java.util.concurrent.ForkJoinWorkerThread.run(java.base@25-internal/ForkJoinWorkerThread.java:187) Mounted virtual thread #53 at TestedThread.run(SuspendResume1.java:177) at java.lang.Thread.runWith(java.base@25-internal/Thread.java:1460) at java.lang.VirtualThread.run(java.base@25-internal/VirtualThread.java:456) at java.lang.VirtualThread$VThreadContinuation$1.run(java.base@25-internal/VirtualThread.java:248) at jdk.internal.vm.Continuation.enter0(java.base@25-internal/Continuation.java:325) at jdk.internal.vm.Continuation.enter(java.base@25-internal/Continuation.java:316) "ForkJoinPool-1-delayScheduler" #47 [2307297] daemon prio=5 os_prio=0 cpu=5865.54ms elapsed=2399.28s tid=0x0000ffff1c004040 nid=2307297 waiting on condition [0x0000ffff694a1000] java.lang.Thread.State: TIMED_WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@25-internal/Native Method) at java.util.concurrent.DelayScheduler.loop(java.base@25-internal/DelayScheduler.java:253) at java.util.concurrent.DelayScheduler.run(java.base@25-internal/DelayScheduler.java:221) "Attach Listener" #124 [283704] daemon prio=9 os_prio=0 cpu=0.40ms elapsed=0.10s tid=0x0000ffff44000ec0 nid=283704 waiting on condition [0x0000000000000000] java.lang.Thread.State: RUNNABLE "GC Thread#42" os_prio=0 cpu=1.32ms elapsed=1532.96s tid=0x0000ffff54039590 nid=283562 runnable "GC Thread#41" os_prio=0 cpu=1.46ms elapsed=1532.96s tid=0x0000ffff540385f0 nid=283561 runnable "GC Thread#40" os_prio=0 cpu=1.27ms elapsed=1532.96s tid=0x0000ffff54037650 nid=283560 runnable "GC Thread#39" os_prio=0 cpu=1.26ms elapsed=1532.96s tid=0x0000ffff540366b0 nid=283559 runnable "GC Thread#38" os_prio=0 cpu=1.45ms elapsed=1532.96s tid=0x0000ffff54035710 nid=283558 runnable "GC Thread#37" os_prio=0 cpu=1.36ms elapsed=1532.96s tid=0x0000ffff54034770 nid=283557 runnable "GC Thread#36" os_prio=0 cpu=1.22ms elapsed=1532.96s tid=0x0000ffff540337d0 nid=283556 runnable "GC Thread#35" os_prio=0 cpu=1.23ms elapsed=1532.96s tid=0x0000ffff54032830 nid=283555 runnable "GC Thread#34" os_prio=0 cpu=1.25ms elapsed=1532.96s tid=0x0000ffff54031890 nid=283554 runnable "GC Thread#33" os_prio=0 cpu=1.32ms elapsed=1532.96s tid=0x0000ffff540308f0 nid=283553 runnable "GC Thread#32" os_prio=0 cpu=1.51ms elapsed=1532.96s tid=0x0000ffff5402f950 nid=283552 runnable "GC Thread#31" os_prio=0 cpu=1.41ms elapsed=1532.96s tid=0x0000ffff5402e9b0 nid=283551 runnable "GC Thread#30" os_prio=0 cpu=1.43ms elapsed=1532.96s tid=0x0000ffff5402da10 nid=283550 runnable "GC Thread#29" os_prio=0 cpu=1.16ms elapsed=1532.96s tid=0x0000ffff5402ca70 nid=283549 runnable "GC Thread#28" os_prio=0 cpu=1.42ms elapsed=1532.96s tid=0x0000ffff5402bad0 nid=283548 runnable "GC Thread#27" os_prio=0 cpu=1.18ms elapsed=1532.96s tid=0x0000ffff5402ab30 nid=283547 runnable "GC Thread#26" os_prio=0 cpu=1.40ms elapsed=1532.96s tid=0x0000ffff54029b90 nid=283546 runnable "GC Thread#25" os_prio=0 cpu=1.36ms elapsed=1532.96s tid=0x0000ffff54028bf0 nid=283545 runnable "GC Thread#24" os_prio=0 cpu=1.40ms elapsed=1532.96s tid=0x0000ffff54027c50 nid=283544 runnable "GC Thread#23" os_prio=0 cpu=1.26ms elapsed=1532.96s tid=0x0000ffff54026cb0 nid=283543 runnable "GC Thread#22" os_prio=0 cpu=1.10ms elapsed=1532.96s tid=0x0000ffff54025d10 nid=283542 runnable "GC Thread#21" os_prio=0 cpu=1.40ms elapsed=1532.96s tid=0x0000ffff54024d70 nid=283541 runnable "GC Thread#20" os_prio=0 cpu=1.31ms elapsed=1532.96s tid=0x0000ffff54023dd0 nid=283540 runnable "GC Thread#19" os_prio=0 cpu=1.35ms elapsed=1532.96s tid=0x0000ffff54022e30 nid=283539 runnable "GC Thread#18" os_prio=0 cpu=1.27ms elapsed=1532.96s tid=0x0000ffff54021e90 nid=283538 runnable "GC Thread#17" os_prio=0 cpu=1.01ms elapsed=1532.96s tid=0x0000ffff54020ef0 nid=283537 runnable "GC Thread#16" os_prio=0 cpu=1.16ms elapsed=1532.96s tid=0x0000ffff5401ff50 nid=283536 runnable "GC Thread#15" os_prio=0 cpu=1.07ms elapsed=1532.96s tid=0x0000ffff5401efb0 nid=283535 runnable "GC Thread#14" os_prio=0 cpu=1.39ms elapsed=1532.96s tid=0x0000ffff5401e010 nid=283534 runnable "GC Thread#13" os_prio=0 cpu=1.11ms elapsed=1532.96s tid=0x0000ffff5401d070 nid=283533 runnable "GC Thread#12" os_prio=0 cpu=1.05ms elapsed=1532.96s tid=0x0000ffff5401c0d0 nid=283532 runnable "GC Thread#11" os_prio=0 cpu=1.08ms elapsed=1532.96s tid=0x0000ffff5401b130 nid=283531 runnable "GC Thread#10" os_prio=0 cpu=1.36ms elapsed=1532.97s tid=0x0000ffff5401a190 nid=283530 runnable "GC Thread#9" os_prio=0 cpu=1.06ms elapsed=1532.97s tid=0x0000ffff540191f0 nid=283529 runnable "GC Thread#8" os_prio=0 cpu=1.14ms elapsed=1532.97s tid=0x0000ffff54018250 nid=283528 runnable "GC Thread#7" os_prio=0 cpu=1.36ms elapsed=1532.97s tid=0x0000ffff540172b0 nid=283527 runnable "GC Thread#6" os_prio=0 cpu=1.03ms elapsed=1532.97s tid=0x0000ffff54016310 nid=283526 runnable "GC Thread#5" os_prio=0 cpu=1.21ms elapsed=1532.97s tid=0x0000ffff54015370 nid=283525 runnable "GC Thread#4" os_prio=0 cpu=1.08ms elapsed=1532.97s tid=0x0000ffff540143d0 nid=283524 runnable "GC Thread#3" os_prio=0 cpu=1.32ms elapsed=1532.97s tid=0x0000ffff54013500 nid=283523 runnable "GC Thread#2" os_prio=0 cpu=1.25ms elapsed=1532.97s tid=0x0000ffff540126e0 nid=283522 runnable "GC Thread#1" os_prio=0 cpu=1.41ms elapsed=1532.97s tid=0x0000ffff540118c0 nid=283521 runnable "VM Thread" os_prio=0 cpu=3.90ms elapsed=2400.17s tid=0x0000ffffb01d3bf0 nid=2286904 runnable "VM Periodic Task Thread" os_prio=0 cpu=86.40ms elapsed=2400.17s tid=0x0000ffffb01c2360 nid=2286836 waiting on condition "G1 Service" os_prio=0 cpu=19.47ms elapsed=2400.18s tid=0x0000ffffb01ac390 nid=2286611 runnable "G1 Refine#0" os_prio=0 cpu=0.09ms elapsed=2400.18s tid=0x0000ffffb01ab380 nid=2286605 runnable "G1 Conc#0" os_prio=0 cpu=0.08ms elapsed=2400.18s tid=0x0000ffffb008ab60 nid=2286557 runnable "G1 Main Marker" os_prio=0 cpu=0.05ms elapsed=2400.18s tid=0x0000ffffb0089b10 nid=2286554 runnable "GC Thread#0" os_prio=0 cpu=1.45ms elapsed=2400.18s tid=0x0000ffffb00722f0 nid=2286548 runnable JNI global refs: 40, weak refs: 0 --- Timeout information end. finished: Thu Apr 17 21:14:31 CST 2025 elapsed time (seconds): 2400.198 configuration: STDOUT: Agent init started Agent init finished ## Java: runIt: Starting threads ## Java: started thread: TestedThread0 ## Java: started thread: TestedThread1 ## Java: started thread: TestedThread2 ## Java: started thread: TestedThread3 ## Java: started thread: TestedThread4 ## Java: started thread: TestedThread5 ## Java: started thread: TestedThread6 ## Java: started thread: TestedThread7 ## Java: started thread: TestedThread8 ## Java: started thread: TestedThread9 ## Java: started thread: TestedThread10 ## Java: started thread: TestedThread11 ## Java: started thread: TestedThread12 ## Java: started thread: TestedThread13 ## Java: started thread: TestedThread14 ## Java: started thread: TestedThread15 ## Java: started thread: TestedThread16 Timeout signalled after 2400 seconds STDERR: WARNING: A restricted method in java.lang.System has been called WARNING: java.lang.System::loadLibrary has been called by SuspendResume1 in an unnamed module (file:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d/) WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module WARNING: Restricted methods will be blocked in a future release unless native access is enabled rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.5.1.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib:/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java \ -Dtest.vm.opts='-Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \ -Dtest.tool.vm.opts='-J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java#default \ -Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1 \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1:/tmp/tone/run/jtreg/jdk-repo/test/lib \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/8/test/lib \ -Xcomp \ -XX:TieredStopAtLevel=1 \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Djdk.virtualThreadScheduler.maxPoolSize=1 \ -agentlib:SuspendResume1 \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1_default.d/main.1.jta TEST RESULT: Error. Program `/tmp/tone/run/jtreg/jdk-repo/build/linux-aarch64-server-release/images/jdk/bin/java' timed out (timeout set to 2400000ms, elapsed time including timeout handling was 2400197ms).