Skip to content
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

Are DIZ files needed? #33

Closed
prevoj opened this issue Jan 8, 2019 · 5 comments
Closed

Are DIZ files needed? #33

prevoj opened this issue Jan 8, 2019 · 5 comments

Comments

@prevoj
Copy link

prevoj commented Jan 8, 2019

I noticed that Corretto includes DIZ files in the bin and bin/server folders. I opened one and its a zip file containing a MAP and PDB, which I know are for debugging. Is it safe and does Amazon allow us to delete the DIZ files for a deployed JRE. We have a particular app that is very space sensitive so saving an extra 13MB would be helpful. And yes, I know hard drives are cheap but some of us still have to work in severely constrained environments. Thanks!

@navyxliu
Copy link
Contributor

navyxliu commented Jan 9, 2019

hi, @prevoj,
I double-check our rpms we distributed. They don't contain any diz file. Windows distribution does contain diz files right now. We will remove them in next release.

Yes, DIZs are debuginfo files in compression. They are only useful in native debugger like gdb when you need to debug JVM itself. You can remove them in your production environment for sure.

@prevoj
Copy link
Author

prevoj commented Jan 10, 2019

I deleted the DIZs and performed a full regression test on our app and everything worked great as expected! Thanks Xin Liu!

@prevoj prevoj closed this as completed Jan 10, 2019
@prevoj
Copy link
Author

prevoj commented Feb 8, 2019

Thanks, I see that 8u202 doesn't contain the DIZ files anymore!

@Deepthi-M
Copy link

We are looking currently into the jvm crash issue during the execution of some of our applications using windows dll functions and need now a jvm.pdb file for OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04) on windows 64 bit platform. Can you support us to get this file or recommend us how to proceed further.
Thanks!

@ziyiluo
Copy link
Contributor

ziyiluo commented Mar 6, 2020

@Deepthi-M debug symbol files are uncommon in production build of OpenJDK. For your case, it makes more sense to use a debug build version of Corretto 8 (with less optimization and more symbols and assertions). We do not provide debug builds yet. But feel free to open a feature request if that's what you are looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants