Closed
Description
Describe the issue
The debug info generated with the latest graal master
is larger than that generated with GraalVM for JDK 23, resulting in GDB taking more time to load symbols.
Steps to reproduce the issue
git clone https://github.com/Karm/mandrel-integration-tests/
cd mandrel-integration-tests/apps/debug-symbols-smoke
mvn package
native-image -g -jar target/debug-symbols-smoke.jar target/debug-symbols-smoke
cat > gdb.cmd <<EOF
run < test_data_small.txt
info functions .*smoke.*
exit
EOF
time (for i in {1..10}; do echo $i; gdb ./target/debug-symbols-smoke < gdb.cmd done)
Describe GraalVM and your environment:
- GraalVM version (latest snapshot builds can be found here), or commit id if built from source: CE 23.0.1 and bbdf41b
- JDK major version: 23 and 25
- OS: Fedora 41
- Architecture: AMD64
More details
Locally it takes 27.798 seconds for the 10 iterations when using GraalVM for JDK 23 and 37.218 seconds when using GraalVM for JDK 25.