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

[TESTBUG] gc/g1/TestGCLogMessages.java fails if ergonomics detect too small InitialHeapSize

    XMLWordPrintable

Details

    • gc
    • b11
    • generic
    • generic

    Backports

      Description

        One part of the test case gc/g1/TestGCLogMessages.java fails, if the ergonomics don't detect the InitialHeapSize correctly. The test fails with:

        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '\[debug.*Evacuation Failure' missing from stdout/stderr

        if -Xms < -Xmx. This is the case, if the test machine has less than 2G of memory.

        The failure can be triggered on a linux based development machine, using:

        $ systemd-run --user --scope -p MemoryMax=1900M /usr/bin/make TEST="test/hotspot/jtreg/gc/g1/TestGCLogMessages.java" test

        Attachments

          Issue Links

            Activity

              People

                cgo Christoph Göttschkes (Inactive)
                cgo Christoph Göttschkes (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: