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

Rename test property vm.cds.archived.java.heap to vm.cds.write.archived.java.heap

XMLWordPrintable

    • b15

        The vm.cds.archived.java.heap test property (see test/jtreg-ext/requires/VMProps.java) is ambiguous -- after JDK-8270489, there are two distinct capabilities:

        HeapShared::can_write() -- G1 only
        HeapShared::can_read() -- G1, Epsilon

        A few CDS tests are marked with

            @requires vm.cds.archived.java.heap

        These tests actually require the VM to be able to write Java objects into the CDS archive. Therefore, for clarify, they should be changed to use

            @requires vm.cds.write.archived.java.heap

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

                Created:
                Updated:
                Resolved: