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

Do not add -XX:VerifyArchivedFields by default to CDS tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • master

      The diagnostic flag VerifyArchivedFields verifies the heap multiple times during VM bootstrap. It's supposed to find problems when heap corruptions when loading the CDS archive.

      We added this option to almost all CDS tests by default, but this is rather costly and has not found any bugs for quite a while now.

      Proposal:

      Do not add this flag by default. There's still one test case that explicitly runs with this flag so we have some coverage already.

      When running all the CDS tests, this RFE can reduce the elapsed time by about 10%.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: