RFR: 8374507: GHA: Limit debug symbols generation to conserve disk space
Aleksey Shipilev
shade at openjdk.org
Mon Jan 5 18:21:23 UTC 2026
I have noticed that Linux x86_64 fastdebug build jobs started to fail in GHA with no free space left on device. Instrumenting GHA runs shows we have about 17G of free space on those runners.
Filesystem Size Used Avail Use% Mounted on
/dev/root 72G 56G 17G 78% /
[GHA docs](https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories) say there is 14G of guaranteed disk space on runners. This is a bit beyond what our fastdebug builds need. My local build says disabling debug symbols bundling reduces the space requirement from 16G -> 11G, without regressing tests.
Testing:
- [x] Ad-hoc JVM crash to verify that stack trace generation still works
- [ ] GHA
-------------
Commit messages:
- Try external-symbols-in-bundles=none
- Handle the absence of symbols gracefully
- Fix
Changes: https://git.openjdk.org/jdk/pull/29030/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29030&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374507
Stats: 5 lines in 5 files changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/29030.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29030/head:pull/29030
PR: https://git.openjdk.org/jdk/pull/29030
More information about the build-dev
mailing list