Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204247 JEP 341: Default CDS Archives
  3. JDK-8210592

Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      There are select sets of tests in "CDS mode" defined in tier5 and tier6 (please see hs-tier5-rt.js hs-tier6-rt.js). After the default CDS archive changes are integrated, these test sets need to be converted to be non-CDS-mode. The conversion will provide the necessary test coverages for the non-CDS testing mode.

      The following in open/test/TestCommon.gmk also needs cleanup and update:

      # Optionally create a CDS archive before running tests
      ifeq ($(GENERATE_CDS_ARCHIVE), true)
        CDS_ARCHIVE_FILE := $(ABS_TEST_OUTPUT_DIR)/cds_archive.jsa

        $(CDS_ARCHIVE_FILE): $(PRODUCT_HOME)
              $(PRODUCT_HOME)/bin/java -XX:+UnlockDiagnosticVMOptions \
                  -XX:SharedArchiveFile=$(shell $(GETMIXEDPATH) "$(CDS_ARCHIVE_FILE)") -Xshare:dump

        CDS_VM_ARGS := -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=$(shell $(GETMIXEDPATH) "$(CDS_ARCHIVE_FILE)")
        JTREG_TEST_OPTIONS += $(addprefix -vmoption:, $(CDS_VM_ARGS))
        TEST_PREREQS += $(CDS_ARCHIVE_FILE)
      endif

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jiangli Jiangli Zhou
                Reporter:
                jiangli Jiangli Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: