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

Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 23
    • 23
    • hotspot
    • b25

    Description

      The following CDS tests fail deterministically when using -XX:-UseCompressedOops and -Dtest.cds.runtime.options=-XX:+UseSerialGC or -Dtest.cds.runtime.options=-XX:+UseParallelGC:

      test/hotspot/jtreg/runtime/cds/appcds/cacheObject/ArchiveHeapTestClass.java
      test/hotspot/jtreg/runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java

      A possible fix is to simply require that either UseCompressedOops is set or Serial/ParallelGC are not selected in these tests (assuming the combination of +SerialGC/+ParallelGC and -UseCompressedOops is unsupported).

      Attachments

        Issue Links

          Activity

            People

              ccheung Calvin Cheung
              rcastanedalo Roberto Castaneda Lozano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: