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

Enable CDS for zero builds

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b12

    Description

      If I remember correctly ... CDS was disabled on the zero build because CDS used to require CPU-specific stubs for patching C++ vtable, which were removed in JDK-8005165. So CDS should be able to run on zero builds.

      (After the fix)
      $ perf stat -r 40 ./images/jdk/bin/java -Xshare:off -version
      0.034645 +- 0.000044 seconds time elapsed ( +- 0.13% )

      $ perf stat -r 40 ./images/jdk/bin/java -version
      0.018080 +- 0.000388 seconds time elapsed ( +- 2.15% )

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: