RFR: 8329706: Implement -XX:+AOTClassLinking [v9]

David Holmes dholmes at openjdk.org
Thu Sep 19 05:51:50 UTC 2024


On Thu, 19 Sep 2024 04:08:30 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> src/hotspot/share/cds/aotLinkedClassBulkLoader.cpp line 170:
>> 
>>> 168:           log_error(cds)("Unable to resolve %s class from CDS archive: %s", category_name, ik->external_name());
>>> 169:           log_error(cds)("Expected: " INTPTR_FORMAT ", actual: " INTPTR_FORMAT, p2i(ik), p2i(actual));
>>> 170:           log_error(cds)("JVMTI class retransformation is not supported when archive was generated with -XX:+AOTClassLinking.");
>> 
>> Nit: use a `logStream` instead of the three separate calls.
>
> Why?

Atomic logging

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20843#discussion_r1766196724


More information about the serviceability-dev mailing list