RFR: 8369560: Slowdebug build without CDS fails

Matthias Baesken mbaesken at openjdk.org
Fri Oct 10 14:16:50 UTC 2025


On Fri, 10 Oct 2025 13:51:42 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Slowdebug builds without CDS fail, this was noticed on AIX.
> On Linux x86_64 (when using --with-debug-level=slowdebug --disable-cds ) I get a little better error messages , pointing already to code locations :
> 
> 
> /jdk/src/hotspot/share/oops/trainingData.hpp:155: error: undefined reference to 'TrainingData::TrainingDataLocker::_snapshot'
> /jdk/src/hotspot/share/classfile/vmClasses.cpp:123: error: undefined reference to 'AOTLinkedClassBulkLoader::preload_classes(JavaThread*)'
> collect2: error: ld returned 1 exit status

Thanks for the review !
With this change Linux slowdebug without CDS builds again ; AIX slowdebug  does not have the link error any more, but faces a TOC issue. But this is something to be addressed elsewhere.

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

PR Comment: https://git.openjdk.org/jdk/pull/27744#issuecomment-3390384641


More information about the hotspot-dev mailing list