-
Notifications
You must be signed in to change notification settings - Fork 68
Build should be stripped (optionally) and contain no debug symbols or maps #3
Comments
and BTW, thk ++ for these builds! this is great |
I've used only default build settings and was somewhat surprised to see full debug symbols enabled by default. JDK7 reference implementation binaries also contain them. I think these threads (original, jdk7u backport) explain this, environment variables:
may be used to build binaries without debug symbols. It's interesting to see the size of binaries without debug symbols, I'll try to make such build in some days. |
Variables in previous comment were wrong, proper debug symbols disabling is:
|
I've built openjdk7 windows-amd64 binaries without debug information (installer, zip) they are 62 MB comparing to 74 MB with debug symbols. I'll close this issue, please comment if you need other builds without debug info. PS: all this is about openjdk7 builds - I'd rather not touch openjdk6 builds, they have their own debug settings. |
@pombredanne All builds starting from |
@alexkasko Thank you ++! |
Is it possible to have a build with debug symbols? It could be very handy if you're debugging a platform related issue, and they're pretty cheap. |
@elazarl yes, it's quite easy, I'll build and upload additional debug images in some days. |
@elazarl I've added debug build downloads for all platforms. Debug symbols are retained for native binaries and for java classes. Haven't tried to debug these builds myself, so please reopen issue in case of errors with them. |
@elazarl , FYI, I've checked debug builds for Mac OS X and found that they don't contain debug symbols for native binaries. Full debug symbols still not implemented on Mac - JDK-7165611. So only classfiles are really 'debug' in Mac debug builds. I'll add a note here once debug symbols on Mac become available in JDK7. PS: some more information about FDS - maillists link |
@alexkasko as always, thanks a bunch. You could think about this issue, "what's the problem, just rebuild it with different configuration", but it always more complicated than it looks like... |
Is it possible to have pdb file and not the 'diz' file ? |
Hi, On 12/15/2015 08:30 PM, NN wrote:
I never used these debug files myself but AFAIK these DIZ files are just
-Alex |
At first glance I didn't understand what it is. The only problem that debuggers don't understand 'diz' flies, they know pdb. |
The windows builds contain .pdb and .map files
Elfs are not stripped
This can probably make the builds much slimmer
The text was updated successfully, but these errors were encountered: