Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
8, 11, 17, 19, 20
-
b19
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314400 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b04 |
JDK-8315469 | 11.0.22 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
Description
In GHA cross-compilation, we don't need everything from the sysroot, because we use native compilers for the compilation. Therefore, we can cut them even deeper and reclaim significant amount of cache space. This would also make cache eviction less likely, which saves time on recreating the sysroots when that happens.
Current sysroots take about 300M per arch, which quickly multiplies up for multiple arches (we build 5 now) users (ballparking at about 200 active contributors). This amounts to about 1500M caches per job, and 300G in caches across our org.
Current sysroots take about 300M per arch, which quickly multiplies up for multiple arches (we build 5 now) users (ballparking at about 200 active contributors). This amounts to about 1500M caches per job, and 300G in caches across our org.
Attachments
Issue Links
- backported by
-
JDK-8314400 GHA: Cut down cross-compilation sysroots
- Resolved
-
JDK-8315469 GHA: Cut down cross-compilation sysroots
- Resolved
- relates to
-
JDK-8314262 GHA: Cut down cross-compilation sysroots deeper
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/f5eb11f3
-
Commit openjdk/jdk17u-dev/ba380adc
-
Commit openjdk/jdk/a1747ef8
-
Review openjdk/jdk11u-dev/2105
-
Review openjdk/jdk17u-dev/1661
-
Review openjdk/jdk/10601
(4 links to)