dragonwell-project / dragonwell21

GNU General Public License v2.0
71 stars 20 forks source link

[upstream][loom]jdk/jfr/event/runtime/TestThreadDumpEvent.java BLOCKED on object monitor #127

Open sendaoYan opened 3 weeks ago

sendaoYan commented 3 weeks ago

job: https://tone.aliyun-inc.com/ws/xesljfzh/test_result/397302

Test command:

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)

TestThreadDumpEvent.log

D-D-H commented 3 weeks ago

https://bugs.openjdk.org/browse/JDK-8330846