Code Monkey home page Code Monkey logo

Comments (14)

pombredanne avatar pombredanne commented on September 16, 2024

and BTW, thk ++ for these builds! this is great

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

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:

ENABLE_FULL_DEBUG_SYMBOLS=0
ZIP_DEBUGINFO_FILES=0

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.

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

Variables in previous comment were wrong, proper debug symbols disabling is:

FULL_DEBUG_SYMBOLS=0

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

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.

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

@pombredanne All builds starting from 7u40_2.4.1 are stripped from debug symbols.

from openjdk-unofficial-builds.

pombredanne avatar pombredanne commented on September 16, 2024

@alexkasko Thank you ++!

from openjdk-unofficial-builds.

elazarl avatar elazarl commented on September 16, 2024

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.

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

@elazarl yes, it's quite easy, I'll build and upload additional debug images in some days.

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

@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.

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

@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

from openjdk-unofficial-builds.

elazarl avatar elazarl commented on September 16, 2024

@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...

from openjdk-unofficial-builds.

NN--- avatar NN--- commented on September 16, 2024

Is it possible to have pdb file and not the 'diz' file ?
Thanks

from openjdk-unofficial-builds.

alexkasko avatar alexkasko commented on September 16, 2024

Hi,

On 12/15/2015 08:30 PM, NN wrote:

Is it possible to have pdb file and not the 'diz' file ?

I never used these debug files myself but AFAIK these DIZ files are just
ZIP archives containing (on windows) PDBs and some other stuff. At least
I can see jvm.pdb and jvm.map inside jvm.diz.

Thanks


Reply to this email directly or view it on GitHub:
#3 (comment)

-Alex

from openjdk-unofficial-builds.

NN--- avatar NN--- commented on September 16, 2024

At first glance I didn't understand what it is.
After opening file in editor I noticed PK so it is easy to unzip it.

The only problem that debuggers don't understand 'diz' flies, they know pdb.

from openjdk-unofficial-builds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.