Change CDS warning messages to use Unified Logging

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 19
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: