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

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

XMLWordPrintable

    • b12

      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.

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

              Created:
              Updated:
              Resolved: