Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344348

Test TestStackFilter.java intermittent timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 24
    • hotspot
    • None
    • jfr
    • x86_64
    • linux

      Test jdk/jfr/api/metadata/annotations/TestStackFilter.java intermittent timeout on linux-x64 by fastdebug build, the test log snippet:

      "MainThread" #36 [4164289] prio=5 os_prio=0 cpu=2519.55ms elapsed=1200.28s tid=0x00007f8fc846e560 nid=4164289 waiting for monitor entry [0x00007f8f78c22000]
         java.lang.Thread.State: BLOCKED (on object monitor)
      Thread: 0x00007f8fc846e560 [0x3f8ac1] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_blocked
          at jdk.jfr.internal.MetadataRepository.setSettings(jdk.jfr@24-internal/MetadataRepository.java:243)
          - waiting to lock <0x00000000a311a370> (a jdk.jfr.internal.MetadataRepository)
          at jdk.jfr.internal.PlatformRecorder.updateSettingsButIgnoreRecording(jdk.jfr@24-internal/PlatformRecorder.java:393)
          at jdk.jfr.internal.PlatformRecorder.updateSettings(jdk.jfr@24-internal/PlatformRecorder.java:382)
          at jdk.jfr.internal.PlatformRecorder.start(jdk.jfr@24-internal/PlatformRecorder.java:252)
          - locked <0x00000000a30a5fa8> (a jdk.jfr.internal.PlatformRecorder)
          at jdk.jfr.internal.PlatformRecording.start(jdk.jfr@24-internal/PlatformRecording.java:127)
          - locked <0x00000000a30a5fa8> (a jdk.jfr.internal.PlatformRecorder)
          at jdk.jfr.Recording.start(jdk.jfr@24-internal/Recording.java:168)
          at jdk.jfr.api.metadata.annotations.TestStackFilter.testReuse(TestStackFilter.java:170)
          at jdk.jfr.api.metadata.annotations.TestStackFilter.main(TestStackFilter.java:108)
          at java.lang.invoke.LambdaForm$DMH/0x00007f8f264083e0.invokeStatic(java.base@24-internal/LambdaForm$DMH)
          at java.lang.invoke.LambdaForm$MH/0x00007f8f2640ac10.invoke(java.base@24-internal/LambdaForm$MH)
          at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@24-internal/Invokers$Holder)
          at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@24-internal/DirectMethodHandleAccessor.java:155)
          at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@24-internal/DirectMethodHandleAccessor.java:104)
          at java.lang.reflect.Method.invoke(java.base@24-internal/Method.java:565)
          at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
          at java.lang.Thread.runWith(java.base@24-internal/Thread.java:1460)
          at java.lang.Thread.run(java.base@24-internal/Thread.java:1447)

      "JFR Recorder Thread" #37 [4164329] daemon prio=5 os_prio=0 cpu=4.81ms elapsed=1200.10s tid=0x00007f8ed901d090 nid=4164329 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
      Thread: 0x00007f8ed901d090 [0x3f8ae9] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_in_native

      "JFR Periodic Tasks" #38 [4164510] daemon prio=5 os_prio=0 cpu=20.02ms elapsed=1199.21s tid=0x00007f8ed920d570 nid=4164510 runnable [0x00007f8f78a20000]
         java.lang.Thread.State: RUNNABLE
      Thread: 0x00007f8ed920d570 [0x3f8b9e] State: _at_safepoint _at_poll_safepoint 0
         JavaThread state: _thread_blocked
          at jdk.jfr.internal.JVM.flush(jdk.jfr@24-internal/Native Method)
          at jdk.jfr.internal.MetadataRepository.flush(jdk.jfr@24-internal/MetadataRepository.java:382)
          - locked <0x00000000a311a370> (a jdk.jfr.internal.MetadataRepository)
          at jdk.jfr.internal.periodic.FlushTask.execute(jdk.jfr@24-internal/FlushTask.java:47)
          at jdk.jfr.internal.periodic.PeriodicTask.run(jdk.jfr@24-internal/PeriodicTask.java:128)
          at jdk.jfr.internal.periodic.PeriodicEvents.doPeriodic(jdk.jfr@24-internal/PeriodicEvents.java:175)
          at jdk.jfr.internal.PlatformRecorder.periodicTask(jdk.jfr@24-internal/PlatformRecorder.java:518)
          at jdk.jfr.internal.PlatformRecorder.lambda$startDiskMonitor$0(jdk.jfr@24-internal/PlatformRecorder.java:444)
          at jdk.jfr.internal.PlatformRecorder$$Lambda/0x00007f8f2b077aa8.run(jdk.jfr@24-internal/Unknown Source)
          at java.lang.Thread.runWith(java.base@24-internal/Thread.java:1460)
          at java.lang.Thread.run(java.base@24-internal/Thread.java:1447)

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: