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

[TESTBUG] New tests in gc/survivorAlignment/ fails

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b45

      Backports

        Description

        A set of new tests was added to hotspot/gc/survivorAlignment/. Three of them are failing in nightlies. Are the new tests buggy or the VM?

        The failing tests are:
        gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java
        gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java
        gc/survivorAlignment/TestPromotionToSurvivor.java

        and the failure in all three cases is:
        java.lang.RuntimeException: Actual memory usage should not deviate from expected for more then 535728
        (with slightly different numbers).

        There are also failures in the test TestSurvivorAlignmentInBytesOption.java. It seems the test expects the following command line to fail:
        java -Xmixed -client -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:MaxRAMFraction=8 -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:+UseNUMA -XX:+UnlockExperimentalVMOptions -XX:-UnlockExperimentalVMOptions -XX:SurvivorAlignmentInBytes=64 -version

        This command line does not fail. Should it?

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fzhinkin Filipp Zhinkin
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: