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

[TESTBUG] Update DefaultUseWithClient test to handle client-less builds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      The hotspot/test/runtime/SharedArchiveFile/DefaultUseWithClient test currently assumes that if the platform is a 32-bit Windows one the -client VM will automatically use CDS. However, this is not true for JDKs built without the client VM. Without the client VM the jvm.cfg will add a helpful alias to make -client run the -server VM instead, and in the server VM CDS is not on by default.

      The test needs to be updated to discover the CDS auto use in some other way, probably not based on the platform information alone.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ccheung Calvin Cheung
                Reporter:
                mikael Mikael Vidstedt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: