StressGetTotalGcCpuTimeDuringShutdown.java#ZGC intermittently timed out

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot
    • Environment:
    • gc
    • x86_64, aarch64
    • linux

      Test test/jdk/java/lang/management/MemoryMXBean/StressGetTotalGcCpuTimeDuringShutdown.java#ZGC intermittent timed out by release build.

      The test log snippet shows below:
      STDOUT:
      [15:20:03.958] Timeout signalled after 480 seconds
      STDERR:
      STATUS:Passed.

      This test create number of $(nproc)*8 demean theads, and all these threads invoke ManagementFactory.getMemoryMXBean()getTotalGcCpuTime() in the while(true) loop. All these threads shoule be terminated immediately when the main thread run finish.

      Only ZGC has this issue.

        1. 85.log
          716 kB
          Sendao Yan

            Assignee:
            Unassigned
            Reporter:
            Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: