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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • hotspot
    • b15

      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

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

              Created:
              Updated:
              Resolved: