Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
14
-
b25
-
s390x
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8239219 | 11.0.7 | Matthias Baesken | P3 | Resolved | Fixed | b04 |
Description
gcc and ld support enabling "garbage collection" of unused input sections.
This can be used to eliminate unused coding from native libraries (especially when already compiling the objects with compiler flags -ffunction-sections -fdata-sections .
See for details the --gc-sections and --print-gc-sections parts of the ld documentation :
https://linux.die.net/man/1/ld
The change will enable link-time section-gc for linux s390x.
This can be used to eliminate unused coding from native libraries (especially when already compiling the objects with compiler flags -ffunction-sections -fdata-sections .
See for details the --gc-sections and --print-gc-sections parts of the ld documentation :
https://linux.die.net/man/1/ld
The change will enable link-time section-gc for linux s390x.
Attachments
Issue Links
- backported by
-
JDK-8239219 enable link-time section-gc for linux s390x to remove unused code
-
- Resolved
-
- relates to
-
JDK-8257181 s390x builds are very noisy with gc-sections messages
-
- Resolved
-