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

Change CDS warning messages to use Unified Logging

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 19
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            iklam Ioi Lam
            Reporter:
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: