JDK-8210592 : Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-11
  • Updated: 2019-05-28
  • Resolved: 2018-10-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12 b15Fixed
Related Reports
Relates :  
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
Comments
The changes for converting to non-CDS test mode will be integrated together with the changes for JDK-8202951.
18-09-2018

Thanks [~dholmes] for reminding this!
11-09-2018