RFR: 8369560: Slowdebug build without CDS fails [v2]

Joachim Kern jkern at openjdk.org
Mon Oct 13 11:51:44 UTC 2025


On Mon, 13 Oct 2025 07:34: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
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove not needed macro in trainingData.cpp

src/hotspot/share/oops/trainingData.cpp line 474:

> 472:     TrainingDataLocker l;
> 473:     TrainingDataLocker::snapshot();
> 474: 

Could you please add the line again, so that trainingsData.cpp remains unchanged by this PR?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27744#discussion_r2426102795


More information about the hotspot-dev mailing list