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

resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java can fail if GC is triggered

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 19, repo-loom
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java is failing in the loom repo, even when not being run using the vthread wrapper.

          java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'Survivor' missing from stdout/stderr

      The test runs the g1regiondetails clhsdb command, which dumps out all of the g1 regions. There's a very large number of "free" regions, 1 "Eden" region, and a couple of "Old" regions, but no "Survivor" region, which is what the test is looking for.

      At first I though it may have been missed in the truncated part of the output, since the test exceeds jteg's max output, but I ran with an increased max output so there would be no truncation, and there is still no sign of a Survivor region in the output.

      This failure does not happen when no JVM args are specified, but does with the following:

       -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation

      I suspect -Xcomp is what matters here, but have not verified that yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cjplummer Chris Plummer
              Reporter:
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: