RFR: 8369560: Slowdebug build without CDS fails

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


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

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

Commit messages:
 - JDK-8369560

Changes: https://git.openjdk.org/jdk/pull/27744/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27744&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369560
  Stats: 8 lines in 3 files changed: 7 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27744.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27744/head:pull/27744

PR: https://git.openjdk.org/jdk/pull/27744


More information about the hotspot-dev mailing list