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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: