On Tue, 8 Apr 2025 15:57:46 GMT, Vladimir Kozlov <k...@openjdk.org> wrote:
>> src/hotspot/share/cds/cdsConfig.cpp line 598: >> >>> 596: // - SharedArchiveFile is not specified and the VM doesn't have a >>> compatible default archive >>> 597: >>> 598: #define __THEMSG " is unsupported when base CDS archive is not loaded. >>> Run with -Xlog:cds for more info." >> >> Do we want to start transitioning existing `-Xlog:cds` options to be `:aot` >> options? I think making the switch would match out long term direction > > Yes, but I think we should do it only if `AOTClassLinking` is enabled. For > legacy CDS we should continue use `-Xlog:cds`. > I am using `-Xlog:aot+codecache` in AOT code caching. I created [JDK-8354055 - Change "cds" logging tag to "aot"](https://bugs.openjdk.org/browse/JDK-8354055). There are documentation/compatibility issues so we need to do some planning. This particular block of code is moved from dynamicArchive.cpp to cdsConfig.cpp and I kept the logging tag the same. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24401#discussion_r2033582112