-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8374507: GHA: Limit debug symbols generation to conserve disk space #29030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8374507: GHA: Limit debug symbols generation to conserve disk space #29030
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
|
@shipilev This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 6 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
Thank you! I am integrating now to unbreak GHA. /integrate |
|
Going to push as commit d063c95.
Your commit was automatically rebased without conflicts. |
|
@shipilev I'm a bit late to the game here but maybe we should try --with-external-symbols-in-bundles=public on Windows in order to get file and method names in case of crashes. Not sure whether it'll be again too much of disk space needed, though... |
Oh. Yes, please try that? Really we wanted to improve Linux side of things, that is where we are scratching the runner space limits. I have not looked at Windows side at all; so please experiment and see how bad is it? I also have this improvement for Linux/MacOS: #29056 -- again, does not help Windows, since I cannot find a useful/relevant MSVC toggle there. |
RunTests.gmk sets up |
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.
GHA docs 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:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/29030/head:pull/29030$ git checkout pull/29030Update a local copy of the PR:
$ git checkout pull/29030$ git pull https://git.openjdk.org/jdk.git pull/29030/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 29030View PR using the GUI difftool:
$ git pr show -t 29030Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/29030.diff
Using Webrev
Link to Webrev Comment