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

Change CDS warning messages to use Unified Logging

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 19
    • hotspot
    • b14

      For consistency, we should go over all CDS warnings, convert them to UL and clean up as necessary.

      ----
      Most CDS warning message have been changed to use UL, but some have not:

      $ java -Xshare:off -XX:ArchiveClassesAtExit=foo -version
      Java HotSpot(TM) 64-Bit Server VM warning: -XX:ArchiveClassesAtExit is unsupported when base CDS archive is not loaded. Run with -Xlog:cds for more info.

      ----
      There are also old warning message that used to be prefixed with UseSharedSpaces. E.g.,

      UseSharedSpaces: Checksum verification failed.

      But when these were converted to UL, the "UseSharedSpaces" was left there by mistake:

      [0.262s][info][cds] UseSharedSpaces: Checksum verification failed.

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

              Created:
              Updated:
              Resolved: