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

ifdef out more CDS code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 20
    • hotspot

      In JDK-8293046, I found that some CDS-only command-line flags are used in generic code even when CDS is disabled. E.g.,

      https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/arguments.cpp#L93

      size_t Arguments::_default_SharedBaseAddress = SharedBaseAddress;

      Such code should be placed inside #if INCLUDE_CDS blocks.

            matsaave Matias Saavedra Silva
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: