alias jl='which java ; rm -rf tmp ; time jtreg -w tmp -nr -v:fail,error -testThreadFactoryPath:$PWD/build/linux-`arch`-server-release/images/test/jtreg_test_thread_factory/jtregTestThreadFactory.jar -testThreadFactory:Virtual'
jl -jdk:build/linux-x86_64-server-release/images/jdk/ test/jdk/jdk/jfr/event/runtime/TestThreadDumpEvent.java
"JFR Periodic Tasks" #42 [4158743] daemon prio=5 os_prio=0 cpu=3.17ms elapsed=0.18s tid=0x00007f5cf4079680 nid=4158743 waiting for monitor entry [0x00007f5d39253000]
java.lang.Thread.State: BLOCKED (on object monitor)
at jdk.jfr.internal.PlatformRecorder.periodicTask(jdk.jfr@21.0.6-internal/PlatformRecorder.java:514)
- waiting to lock <0x000000011f9c5b10> (a jdk.jfr.internal.PlatformRecorder)
at jdk.jfr.internal.PlatformRecorder.lambda$startDiskMonitor$1(jdk.jfr@21.0.6-internal/PlatformRecorder.java:446)
at jdk.jfr.internal.PlatformRecorder$$Lambda/0x00007f5d40050370.run(jdk.jfr@21.0.6-internal/Unknown Source)
at java.lang.Thread.runWith(java.base@21.0.6-internal/Thread.java:1596)
at java.lang.Thread.run(java.base@21.0.6-internal/Thread.java:1583)
job: https://tone.aliyun-inc.com/ws/xesljfzh/test_result/397302
Test command:
TestThreadDumpEvent.log