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.
----
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.
- relates to
-
JDK-8292269 Replace FileMapInfo::fail_continue() with Unified Logging
-
- Resolved
-